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

Response

Products assigned.

The response is of type object.