curl -X PUT \
/public/checkout/cart/{id}/confirm \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data '{
"email": "",
"phone": "",
"invoiceAddressId": "https:\/\/example.com\/",
"paymentMethodId": "https:\/\/example.com\/"
}'
{
"action": "redirect",
"redirectUrl": "<string>",
"status": "open",
"confirmationMessage": "<string>"
}
Confirms a cart.
curl -X PUT \
/public/checkout/cart/{id}/confirm \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data '{
"email": "",
"phone": "",
"invoiceAddressId": "https:\/\/example.com\/",
"paymentMethodId": "https:\/\/example.com\/"
}'
{
"action": "redirect",
"redirectUrl": "<string>",
"status": "open",
"confirmationMessage": "<string>"
}
Value for the Authorization header parameter.
Cart identifier
The updated Cart resource
Cart resource updated
Was this page helpful?