List Draft Orders
GET
/admin/draft-orders
Draft Orders
q
. The draft orders can also paginated.Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.medusa-commerce.com/admin/draft-orders'
Response Response Example
200 - Example 1
{
"count": 0,
"offset": 0,
"limit": 0,
"draft_orders": [
{
"id": "dorder_01G8TJFKBG38YYFQ035MSVG03C",
"display_id": 2,
"cart_id": "cart_01G8ZH853Y6TFXWPG5EYE81X63",
"cart": {},
"order_id": "order_01G8TJSYT9M6AVS5N4EMNFS1EK",
"order": {},
"canceled_at": "2019-08-24T14:15:22Z",
"completed_at": "2019-08-24T14:15:22Z",
"no_notification_order": false,
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"status": "open",
"idempotency_key": "string",
"metadata": {
"car": "white"
}
}
]
}
Request
Query Params
offset
number
optional
limit
number
optional
q
string
optional
Responses
Modified at 2023-10-10 11:56:36