Skip to main content
POST
Assign Products to Promotion

Authorizations

Authorization
string
header
required

Bearer API key for server-to-server access. Session auth is also supported in first-party UI flows.

Path Parameters

promotionId
string
required

Query Parameters

organizationId
string

Optional organization scope for session-authenticated calls. OAuth client credentials resolve the organization from the token.

Maximum string length: 120

Body

application/json
productIds
string<uuid>[]
required
Required array length: 1 - 200 elements
organizationId
string
Maximum string length: 120
variantSku
string | null
Maximum string length: 120
priority
integer
default:0
Required range: 0 <= x <= 1000
productDiscounts
object[]

Optional per-product discount for product discounts and flash sales. Uses the campaign discount type. Null restores the shared discount. Shopee and TikTok publish the resulting price. Lazada vouchers and Shopify fail sync while any product has its own discount.

Maximum array length: 200

Response

Products assigned.

The response is of type object.