Order

🔒

Requires order access scope. For more info , refer to:access scope

Order API


Order APIs provide developer the ability to manage orders in authenticated stores.

We provide following APIs:

  • Order - manage orders in the store.Order contains all the information a single purchase would needed, for example, Customer and Line Item, and related Shipping Address and Billing Address information.
  • Order Risk - manage order risk to help merchants mitigate potential risks

📘

Noted:

All date time related parameters require ISO-8601 format in UTC time zone.

Object Model

Order

Order:

LineItem:

PaymentLine:

Fulfillment:

Customer:

ShippingAddress:

BillingAddress:

LocationLine:

OrderConfig:

MarketSetting:

MarketCurrencySymbol:

MarketPriceSetting:

Order Status

Statusdesc
openedOrder successfully created
canceledCancellation of unpaid order
placedCompleted paid orders
finishedThe scenarios where the order is in the finished state:

1. All items in the order have been received
2. Order cancelled after payment
3. Full refund of order amount with all items deleted
4. Full refund of order amount with all items returned

Financial Status

StatusDesc
waitingPending payment
payingPayment Processing
authorizedAuthorized
partially_paidPartial Payment (Gift Card Used)
paidPayment Received
cancelledPayment Cancelled
failedPayment Failed
refundingRefund Processing
refund_failRefund Failed
refundedFully Refunded
partially_refundedPartial Refund

Fulfillment Status


StatusDesc
initialledInitial status, order unpaid
waitingAwaiting shipment
cancelledCancel shipment
partially_shippedPartial shipment
shippedFull shipment
partially_finishedPartial receipt
finishedFull receipt
returningReturn in progress
partially_returnedPartial return
returnedFull return

Refund

RefundLineItem:

LineItem:

PaymentDetail: