Zum Hauptinhalt springen
PUT
cURL

Autorisierungen

Authorization
string
header
erforderlich

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Pfadparameter

id
string
erforderlich

Cart identifier

Body

The updated Cart resource

quantity
any
erforderlich

The new quantity of the cart item.

Beispiel:

10

cartItemId
string

Antwort

Cart resource updated

price
object
id
string
Beispiel:

"c1b0d0c0-0b0b-4b0b-8b0b-0b0b0b0b0b0b"

status
any

The status of the cart.

Possible values:

  • open: The cart is open and can be edited.
  • confirming: The cart is confirming and cannot be edited.
Beispiel:

"open"

customer
string | null

The customer who owns the cart.

Beispiel:

"c1b0d0c0-0b0b-4b0b-8b0b-0b0b0b0b0b0b"

email
string | null
invoiceAddress
object | null
customerPrefill
object | null

The customer prefill data which should be used to prefill the checkout form.

paymentMethod
object | null

The payment method which should be used for the cart.

Beispiel:

"c1b0d0c0-0b0b-4b0b-8b0b-0b0b0b0b0b0b"

items
object[]

The items of the cart.

completionDetails
string[] | null

Details shown to the customer when the cart is completed.

settings
object

The settings of the cart.