Skip to main content
POST
Assign Product Marketplace Stores

Authorizations

Authorization
string
header
required

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

Body

application/json
productIds
string<uuid>[]
required
Required array length: 1 - 100 elements
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
selections
object[]
required
Required array length: 1 - 8 elements
organizationId
string

Required for session auth; derived from the credential for bearer auth.

Required string length: 1 - 255

Response

Store assignment results in requested product order.

ok
boolean
required
status
enum<string>
required
Available options:
completed,
failed
data
object
required