Assign a customer to a group and tier

Assign a customer to a merchant group and tier. Send a unique Idempotency-Key header so the request can be safely retried.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params
string
required
string
required
Headers
string
required

Unique key for this request, exactly 32 characters. Reusing a key with a different body, or while the first request is still in flight, returns 409.

string
required
Responses

400

Missing merchantGroupId or tierId, the tier does not belong to the merchant group, the tier is inactive, or a missing or non-32-character Idempotency-Key. Request body shape is validated at the gateway on this route, so a missing or wrongly typed body field returns the generic 'Invalid request body' message with no field detail; errors raised past the gateway carry a descriptive messageKey.

401

The supplied Bearer token was rejected: malformed, bad signature, wrong audience, or expired. The Authorization header is required and checked at the gateway, so an absent header returns 400, not 401. Re-authenticate at POST /customer/auth/token.

403

Insufficient token scope, or client certificate/source IP not allowed

404

Customer, merchant group, or tier not found (including when it belongs to another company)

409

The Idempotency-Key was reused for a different request or is still in progress

500

Internal server error

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json