PUT
/
public
/
checkout
/
cart
/
{id}
/
confirm-otp

Authorizations

Authorization
string
header
required

Value for the Authorization header parameter.

Path Parameters

id
string
required

Cart identifier

Body

email
string
required

The email of the customer

Maximum length: 255
otp
string
required

The OTP provided by the customer

Maximum length: 255

Response

200 - application/json
completionDetails
string[] | null

Details shown to the customer when the cart is completed.

customer
string | null

The customer who owns the cart.

customerPrefill
object | null

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

email
string | null
id
string
invoiceAddress
object | null
items
object[]

The items of the cart.

paymentMethod
object | null

The payment method which should be used for the cart.

price
object
settings
object

The settings of the cart.

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.