Checkout

Start a checkout from cart contents

post/prepare-checkout

Request

Headers

Idempotency-Keystring

Unique key that makes a mutating request safe to retry. Retrying with the same key returns the original response instead of re-executing. The SDK sends one automatically. Reusing a key with different parameters is rejected.

Request body

CartContent required

Cart payload sent to prepare-checkout.

Response

Checkout created

_idstring required
statestring
typestring
emailstring
totalnumber
couponsobject[]

Example response

{
  "state": "Started",
  "type": "DTC"
}

Changes

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