Skip to main content

Place Order from Cart

API operation: Open the endpoint in Scalar

Use POST /carts/{cart_id}/place to place an order from a cart. The current public operation is Cart.place.

It uses the user's current order options, including order type, address, and requested moment; delivery-zone requirements vary by order type. Project security can also require a verification code.

See Update order options, Checkout fields, and Payment overview.

OpenAPI reference​

Operation: POST /carts/{cart_id}/place

Path parameters

NameTypeRequiredDescription
cart_idstringYes—

Header parameters

NameTypeRequiredDescription
User-AgentstringNo—
X-Forwarded-ForstringNo—
X-APP-XstringNo—
X-SOCKET-ID-XstringNo—

Request body fields

NameTypeRequired
amountanyNo
delivery_zone_idanyNo
meta_locationanyNo
on_behalf_ofanyNo
paymethod_dataanyNo
paymethod_idintegerYes
recaptcha_typestringNo
user_idanyNo
verification_codeanyNo

Responses

CodeDescription
200OK (Envelope)
400Bad Request (ErrorResponse)
401Unauthorized
404Not Found
429Too Many Requests (ErrorResponse)
500Internal Server Error (ErrorResponse)
503Service Unavailable (ErrorResponse)
Open this operation in the API reference