Shopify API – Order
List and manipulate placed orders.
top
Receive a list of all Orders
Available URL Query parameters:
- limit — Amount of results (default: 50) (maximum: 250)
- page — Page to show (default: 1)
- since_id — Restrict results to after the specified ID
- created_at_min — Show orders created after date (format: 2008-01-01 03:00)
- created_at_max — Show orders created before date (format: 2008-01-01 03:00)
- updated_at_min — Show orders last updated after date (format: 2008-01-01 03:00)
- updated_at_max — Show orders last updated before date (format: 2008-01-01 03:00)
-
status
- open - All open orders (default)
- closed - Show only closed orders
- cancelled - Show only cancelled orders
- any - Any order status
-
financial_status
- authorized - Show only authorized orders
- pending - Show only pending orders
- paid - Show only paid orders
- abandoned - Show only abandoned orders
- refunded - Show only refunded orders
- voided - Show only voided orders
- any - Show all authorized, pending, and paid orders (default). Will not return abandoned orders.
-
fulfillment_status
- shipped - Show orders that have been shipped
- partial - Show partially shipped orders
- unshipped - Show orders that have not yet been shipped
- any - Show orders with any fulfillment_status. (default)
- fields — comma-separated list of fields to include in the response
top
Receive a single Order
Available URL Query parameters:
- fields — comma-separated list of fields to include in the response
top
Receive a count of all Orders
Available URL Query parameters:
- created_at_min — Count orders created after date (format: 2008-01-01 03:00)
- created_at_max — Count orders created before date (format: 2008-01-01 03:00)
- updated_at_min — Count orders last updated after date (format: 2008-01-01 03:00)
- updated_at_max — Count orders last updated before date (format: 2008-01-01 03:00)
-
status
- open - Open orders (default)
- closed - Only closed orders
- any - Any order status
-
financial_status
- authorized - Only authorized orders
- pending - Only pending orders
- paid - Only paid orders
- abandoned - Only abandoned orders
- refunded - Show only refunded orders
- voided - Show only voided orders
- any - All authorized, pending, and paid orders (default)
-
fulfillment_status
- shipped - Orders that have been shipped
- partial - Partially shipped orders
- unshipped - Orders that have not yet been shipped
- any - Orders with any fulfillment_status. (default)
top
Cancel an Order
Available URL Query parameters:
- amount — Amount to refund (decimal ex: 21.20). If set, Shopify will attempt to void/refund the payment depending on the status. (default: false)
- restock — Restock the items for this order back to your store (default: false)
- reason — The reason for the order cancellation (one of customer, inventory, fraud, other) (default: other)
- email — Send an email to the customer notifying them of the cancellation (default: false)
top
Change an Order’s note, note-attributes, email, and buyer-accepts-marketing state (the only attributes modifiable through the API)
Last updated on 09 May 2012.
