Commerce

Upsert a cart

Idempotent on externalId. Queues a delayed abandonment check that emits the cart_abandoned event. A new cart whose email matches an existing contact emits started_checkout once per externalId. Required scope: commerce:write. Requires a plan with the ecommerce feature.

post/commerce/carts

Request

  • Base URL: https://sending.dev/api/v1
  • URL: https://sending.dev/api/v1/commerce/carts
  • Auth: HTTP bearer

Request body

externalIdstring required
emailstring email required
totalnumber
currencystring
cartUrlstring

Response

Cart accepted.

status'accepted' required

Changes

No recorded changes to this operation across all 1 revision of this API.