Update Cart

Updates a cart's items or client. Only carts belonging to the
authenticated company can be updated; other carts return 404.

Important Notes

  • Requires carts:write scope.
  • Sending items replaces the full items array.
  • Any payment request in pending status on the cart is cancelled automatically before applying the update, and on-demand bookings reserved by it are released.
  • The cart must not be expired and must not have paid or partially paid sales.
  • Item validation errors (400/422) from platform-sales are passed through unchanged.

Errors Dictionary

StatusErrorDetailDescription
401unauthorizedinvalid_api_keyMissing or invalid Bearer token.
401unauthorizedapi_config_inactiveAPI access is inactive for this company.
403forbiddenscope_deniedAPI key lacks carts:write scope.
404cart_not_foundCart not found for this company.
422cart_expiredThe cart has expired (older than 24 hours).
422cart_paidThe cart already has a paid sale.
400, 422(upstream)Item validation errors from platform-sales are passed through with legacy single-key codes (e.g. item_invalid_type, invalid_start_time, creative_source_not_public); see the platform-sales carts documentation for the full list.
429rate_limitedburst_limit_exceededPer-minute request limit exceeded.
429rate_limiteddaily_quota_exceededDaily request quota exceeded.
502upstream_unavailableThe upstream service is unavailable.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int64
required
≥ 1

Cart unique identifier.

Body Params

Cart update payload. items replaces the full items array.

integer | null
string | null
items
array of objects
items
Responses

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