---
title: "Place Order from Cart"
description: "Use POST /carts/{cart_id}/place to place an order from a cart. The current public operation is Cart.place."
canonical: https://docs.ordering.co/api-reference/guides/placer-order-with-cart/
---

# Place Order from Cart

> **API operation:** [Open the endpoint in Scalar](https://docs.ordering.co/api-reference/#tag/carts/POST/carts/{cart_id}/place)

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](https://docs.ordering.co/api-reference/guides/update-order-options/), [Checkout fields](https://docs.ordering.co/api-reference/guides/checkoutfields-model/), and [Payment overview](https://docs.ordering.co/api-reference/guides/payment-how-does-it-work/).

## OpenAPI reference

**Operation:** `POST /carts/{cart_id}/place`

**Path parameters**

| Name      | Type   | Required | Description |
| --------- | ------ | -------- | ----------- |
| `cart_id` | string | Yes      | —           |

**Header parameters**

| Name              | Type   | Required | Description |
| ----------------- | ------ | -------- | ----------- |
| `User-Agent`      | string | No       | —           |
| `X-Forwarded-For` | string | No       | —           |
| `X-APP-X`         | string | No       | —           |
| `X-SOCKET-ID-X`   | string | No       | —           |

**Request body fields**

| Name                | Type    | Required |
| ------------------- | ------- | -------- |
| `amount`            | any     | No       |
| `delivery_zone_id`  | any     | No       |
| `meta_location`     | any     | No       |
| `on_behalf_of`      | any     | No       |
| `paymethod_data`    | any     | No       |
| `paymethod_id`      | integer | Yes      |
| `recaptcha_type`    | string  | No       |
| `user_id`           | any     | No       |
| `verification_code` | any     | No       |

**Responses**

| Code | Description                           |
| ---- | ------------------------------------- |
| 200  | OK (Envelope)                         |
| 400  | Bad Request (ErrorResponse)           |
| 401  | Unauthorized                          |
| 404  | Not Found                             |
| 429  | Too Many Requests (ErrorResponse)     |
| 500  | Internal Server Error (ErrorResponse) |
| 503  | Service Unavailable (ErrorResponse)   |

[Open this operation in the API reference](https://docs.ordering.co/api-reference/#tag/carts/POST/carts/{cart_id}/place)
