Home
Shopify Admin API
Shopify Admin Create Order Example
Shopify Admin Create Order Example
Example of creating an order via the Shopify Admin REST API
Commerce E-Commerce Admin Product Order Customers
Shopify Admin Create Order Example is an example object payload from Shopify Admin API, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.
Top-level fields
summary description request response
Example Payload
{
"summary": "Create Order - Example Request/Response",
"description": "Example of creating an order via the Shopify Admin REST API",
"request": {
"method": "POST",
"url": "https://mystore.myshopify.com/admin/api/2024-10/orders.json",
"headers": {
"X-Shopify-Access-Token": "shpat_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"Content-Type": "application/json"
},
"body": {
"order": {
"line_items": [
{
"variant_id": 808950810,
"quantity": 2
}
],
"customer": {
"id": 207119551
},
"billing_address": {
"first_name": "John",
"last_name": "Doe",
"address1": "123 Main Street",
"city": "New York",
"province": "New York",
"country": "United States",
"zip": "10001",
"country_code": "US",
"province_code": "NY"
},
"shipping_address": {
"first_name": "John",
"last_name": "Doe",
"address1": "123 Main Street",
"city": "New York",
"province": "New York",
"country": "United States",
"zip": "10001",
"country_code": "US",
"province_code": "NY"
},
"financial_status": "paid"
}
}
},
"response": {
"status": 201,
"body": {
"order": {
"id": 450789469,
"order_number": 1001,
"name": "#1001",
"email": "john.doe@example.com",
"created_at": "2026-05-02T10:00:00-05:00",
"updated_at": "2026-05-02T10:00:00-05:00",
"total_price": "59.98",
"subtotal_price": "59.98",
"total_tax": "0.00",
"currency": "USD",
"financial_status": "paid",
"fulfillment_status": null,
"line_items": [
{
"id": 466157049,
"variant_id": 808950810,
"title": "Classic Cotton T-Shirt",
"quantity": 2,
"price": "29.99",
"sku": "CCT-S-BLU"
}
]
}
}
}
}