List post-sale orders
GET/openapi/2026-07/orders/post_sales
Retrieves a list of after-sales records (e.g., returns or exchanges) associated with orders.
Request
Query Parameters
pending: pendingprocessing: processingfinished: completed
Cursor for pagination
A limit on the number of objects to return. (default is 20)
Filter to include records created on or after this time (e.g., 2018-11-02T12:30:10Z)
Filter to include records created on or before this time (e.g., 2018-11-02T12:30:10Z)
Post-sale status:
Responses
- 200
OK
- application/json
- Schema
- Example
Schema
- Array [
waiting: pending paymentpaying: payment under reviewauthorized: authorizedpartially_paid: partially paidpaid: paidcancelled: cancelledfailed: payment failedrefunding: refund in progressrefund_failed: refund failedrefunded: fully refundedpartially_refunded: partially refundedinitialled: initialwaiting: waiting to shippartially_shipped: partially shippedshipped: fully shippedpartially_finished: partially receivedfinished: fully receivedcancelled: cancelledreturning: return in progresspartially_returned: partially returnedreturned: fully returned- Array [
- ]
- Array [
waiting: initial / waiting to shipshipped: fully shippedfinished: fully receivedreturning: return in progressreturned: returnedpartially_shipped: partially shippedpartially_finished: partially receivedpartially_returned: partially returned- Array [
- ]
- Array [
- ]
- ]
- Array [
- ]
pending: pendingprocessing: processingfinished: completed- ]
error code
error message
data object
orders object[]
List of orders
The date/time the after-sales record was created
The last few digits of the credit card used
The currency code (e.g., "CNY", "USD")
The customer’s name
Discount code
Payment status of the order:
Order fulfillment status:
fulfillments object[]
List of fulfillments
Tracking number
Time when the fulfillment was created (e.g., 2018-11-02T12:30:10Z)
Tracking company
This after-sales record ID
line_items object[]
A list of line items associated with this after-sales record
Original price before discount
Line item fulfillment status:
This line item ID
image object
Image
The source URL of the image
The width of the image in pixels
The height of the image in pixels
Alt text for the image
Any note associated with this line item
options object[]
Array of option objects, typically describing variant attributes (e.g., size)
Option name
Option value
Unit price for this item
The handle/slug for the product
The ID of the product
Array of tags associated with this product
The product title
Any custom properties in string or JSON format
Number of units purchased (and reflected in the after-sales request)
Discount portion of the refund
Price portion of the refund
Number of units refunded for this line item
Tax portion of the refund
Total refunded amount (including price, tax, discount) for this line item
Indicates if this item requires shipping
Stock Keeping Unit for the variant
Stock Product Unit or a general product code
Indicates if the item is taxable
Total cost for this line item (price * quantity)
The variant’s unique ID
The title describing the variant attributes
The vendor or brand for this item
The unit weight of this item
Unit of weight measurement (e.g., "kg", "lb")
A URL pointing to the vendor site
Quantity sold beyond available inventory (if overselling is allowed)
main_currency_prices object
Main currency prices
The compare-at price in the main/store currency
The unit price in the main currency
The total price (main_currency_prices.price * quantity)
The actual exchange rate used for conversion
fulfillments object[]
List of fulfillments
Tracking number
Time when the fulfillment was created (e.g., 2018-11-02T12:30:10Z)
Tracking company
The post-sales document number (often the original order number plus a suffix)
The original order number
The total price of the original order
The payment method used for the original order
The name of the recipient in shipping details
The platform on which the sale took place (e.g., "shoplazza")
The country of the shipping address
The email used for shipping notifications
shipping_line object
Information about the shipping plan selected for the order
Shipping ID
Name
Description
Delivery method
The phone number for the shipping address
First visited page
First touchpoint
The date/time the original order was placed
The total amount refunded for this after-sales request
Any note regarding this after-sales request
Last touchpoint
Last visited page
payment_lines object[]
List of payment lines
Payment line ID
The name of the payment channel for display purposes (e.g., PayPal, Credit Card)
The payment channel used for the transaction (e.g., PayPal, Stripe, Bank Transfer)
The specific method of payment used within the channel (e.g., Visa, MasterCard,online(e.g. paypal))
The last few digits of the credit card used
Transaction channel
Transaction method
The unique transaction number associated with this payment
Merchant email address
main_currency_prices object
Main currency prices
The compare-at price in the main/store currency
The unit price in the main currency
The total price (main_currency_prices.price * quantity)
The actual exchange rate used for conversion
Delivery method identifier
Total shipping tax for the original order
Type of shipping tax
The total tax on the order
The shop name associated with the order
Contact info for any staff associated with this after-sales record
Post-sale request status:
Cursor for pagination
Whether there are more records
{
"code": "string",
"message": "string",
"data": {
"orders": [
{
"created_at": "string",
"credit_card_number": "string",
"currency_code": "string",
"customer_name": "string",
"discount_code": "string",
"financial_status": "string",
"fulfillment_status": "string",
"fulfillments": [
{
"tracking_number": "string",
"created_at": "string",
"tracking_company": "string"
}
],
"id": "string",
"line_items": [
{
"compare_at_price": "string",
"fulfillment_status": "string",
"id": "string",
"image": {
"src": "string",
"width": 0,
"height": 0,
"alt": "string"
},
"note": "string",
"options": [
{
"name": "string",
"value": "string"
}
],
"price": "string",
"product_handle": "string",
"product_id": "string",
"product_tags": [
"string"
],
"product_title": "string",
"properties": "string",
"quantity": 0,
"refund_discount": "string",
"refund_price": "string",
"refund_quantity": 0,
"refund_tax": "string",
"refund_total": "string",
"requires_shipping": true,
"sku": "string",
"spu": "string",
"taxable": true,
"total": "string",
"variant_id": "string",
"variant_title": "string",
"vendor": "string",
"weight": "string",
"weight_unit": "string",
"vendor_url": "string",
"oversold_quantity": 0,
"main_currency_prices": {
"compare_at_price": "string",
"price": "string",
"total_price": "string",
"actual_rate": "string"
},
"fulfillments": [
{
"tracking_number": "string",
"created_at": "string",
"tracking_company": "string"
}
]
}
],
"number": "string",
"order_number": "string",
"order_total": "string",
"payment_method": "string",
"recipient_name": "string",
"sales_platform": "string",
"shipping_country": "string",
"shipping_email": "string",
"shipping_line": {
"id": "string",
"name": "string",
"desc": "string",
"delivery_method": 0
},
"shipping_phone": "string",
"source": "string",
"source_name": "string",
"placed_at": "string",
"refund_amount": "string",
"post_sale_note": "string",
"last_referrer_show": "string",
"last_landing_url": "string",
"payment_lines": [
{
"id": "string",
"payment_name": "string",
"payment_channel": "string",
"payment_method": "string",
"credit_card_number": "string",
"trans_channel": "string",
"trans_method": "string",
"transaction_no": "string",
"merchant_email": "string"
}
],
"main_currency_prices": {
"compare_at_price": "string",
"price": "string",
"total_price": "string",
"actual_rate": "string"
},
"delivery_method": 0,
"shipping_tax_total": "string",
"shipping_tax_type": 0,
"all_tax_total": "string",
"shop_name": "string",
"staff_contact": "string",
"status": "string"
}
],
"cursor": "string",
"has_more": true
}
}