# Convert abandoned cart to order

<mark style="color:blue;">`POST`</mark> `https://app.ecwid.com/api/v3/{storeId}/carts/{cartId}/place`&#x20;

<details>

<summary>Request and response example</summary>

Request:

```http
POST /api/v3/1003/carts/6626E60A-A6F9-4CD5-8230-43D5F162E0CD/place HTTP/1.1
Authorization: Bearer secret_token
Host: app.ecwid.com
```

Response:

```json
{
  "id": "AB1CD",
  "orderNumber": 108394551,
  "vendorOrderNumber": "108394551",
  "cartId": "6626E60A-A6F9-4CD5-8230-43D5F162E0CD"
}
```

</details>

### Required access scopes

Your app must have the following **access scopes** to make this request: `create_orders`

### Path params

All path params are required.

| Param   | Type   | Description                                                            |
| ------- | ------ | ---------------------------------------------------------------------- |
| storeId | number | Ecwid store ID.                                                        |
| cartId  | string | Internal cart ID, for example, `0B299518-FB54-491A-A6E0-5B6BA6E20868`. |

### Headers

The **Authorization** header is required.

<table><thead><tr><th>Header</th><th width="252">Format</th><th>Description</th></tr></thead><tbody><tr><td>Authorization</td><td><code>Bearer secret_ab***cd</code></td><td>Access token of the application.</td></tr></tbody></table>

### Response JSON

A JSON object with the following fields:

<table><thead><tr><th width="207">Field</th><th width="104">Type</th><th>Description</th></tr></thead><tbody><tr><td>id</td><td>string</td><td>Unique order identificator with prefix and suffix defined by the store admin. For example, order ID <code>MYSTORE-X8UYE</code> contains <code>MYSTORE-</code> prefix.<br><br>Order ID is shown to customers in any notifications and to the store owner in Ecwid admin and notifications.</td></tr><tr><td>orderNumber</td><td>number</td><td>Internal order ID not visible to customer notifications or in Ecwid admin. </td></tr><tr><td>vendorOrderNumber</td><td>string</td><td>Internal field. Duplicates <code>id</code> value.</td></tr><tr><td>cartId</td><td>string</td><td>Internal ID of the cart that was converted into an order. </td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ecwid.com/api-reference/rest-api/orders/abandoned-carts/convert-abandoned-cart-to-order.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
