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

Authorizations

Authorization
string
headerrequired

Value for the Authorization header parameter.

Path Parameters

id
string
required

Cart identifier

Body

otp
string
required

The OTP provided by the customer

Maximum length: 255
email
string
required

The email of the customer

Maximum length: 255

Response

200 - application/json
price
object
id
string
status
enum<string>

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.
Available options:
open,
confirming,
redirect_to_payment,
expired,
completed
customer
string | null

The customer who owns the cart.

email
string | null
invoiceAddress
object
customerPrefill
object

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

paymentMethod
object

The payment method which should be used for the cart.

items
object[]

The items of the cart.

completionDetails
string[] | null

Details shown to the customer when the cart is completed.