GET
Retrieve orders by conditions

_cnd[orderNumber]
integer 
Retrieve order by its number
_cnd[accessLevel]
string 
Retrieve order by user access level
_cnd[dateRange]
array 
Filters order by date (timestamp) arranged in two-value array [start, end]
_cnd[substring]
string 
Retrieve order by user login or order number substring
_cnd[sku]
string 
Retrieve order by product sku
_cnd[recent]
boolean 
Retrieve only recent (unprocessed) orders
_cnd[profileId]
integer 
Retrieve orders by profile id
_cnd[email]
string 
Retrieve orders by user login
_cnd[paymentStatus]
string 
Retrieve orders in certain payment status
_cnd[shippingStatus]
string 
Retrieve orders in certain shipping status
_cnd[currency]
integer 
Filters order by currency id
_cnd[transactionID]
string 
Filters order by payment transaction public_id
_cnd[zipcode]
string 
Filters orders by user zipcode
_cnd[customerName]
string 
Filters orders by customer name
_cnd[orderByFullname]
string 
Filters orders by customer firstname-lastname pair
_cnd[shippingMethodName]
string 
Filters orders by shipping method name
_cnd[paymentMethodName]
string 
Filters orders by payment method name
_cnd[limit]
array 
Sets the offset (first item) and the limit (second item)
_cnd[orderBy]
array 
Sets sorting order field
default Success <XLite\Model\Order>[] array
Sample response
[{"usedCoupons":"<XLite\\Module\\CDev\\Coupons\\Model\\UsedCoupon>[] array","uspsShipment":"<XLite\\Module\\CDev\\USPS\\Model\\Shipment>[] array","capostParcels":"<XLite\\Module\\XC\\CanadaPost\\Model\\Order\\Parcel>[] array","capostReturns":"<XLite\\Module\\XC\\CanadaPost\\Model\\ProductsReturn>[] array","capostOffice":"<XLite\\Module\\XC\\CanadaPost\\Model\\Order\\PostOffice>","giftWrapping":"boolean","greetingMessage":"string","mailchimpStoreId":"string","mandrill_mails":"<XLite\\Module\\XC\\Mandrill\\Model\\MandrillMail>[] array","not_finished_order":"<XLite\\Model\\Order>","pbOrder":"<XLite\\Module\\XC\\PitneyBowes\\Model\\PBOrder>","conversation":"<XLite\\Module\\XC\\VendorMessages\\Model\\Conversation>","order_id":"integer","profile":"<XLite\\Model\\Profile>","orig_profile":"<XLite\\Model\\Profile>","shipping_id":"integer","shipping_method_name":"string","payment_method_name":"string","tracking":"string","date":"integer","lastRenewDate":"integer","paymentStatus":"<XLite\\Model\\Order\\Status\\Payment>","shippingStatus":"<XLite\\Model\\Order\\Status\\Shipping>","notes":"string","adminNotes":"string","details":"<XLite\\Model\\OrderDetail>[] array","trackingNumbers":"<XLite\\Model\\OrderTrackingNumber>[] array","events":"<XLite\\Model\\OrderHistoryEvents>[] array","items":"<XLite\\Model\\OrderItem>[] array","surcharges":"<XLite\\Model\\Order\\Surcharge>[] array","payment_transactions":"<XLite\\Model\\Payment\\Transaction>[] array","currency":"<XLite\\Model\\Currency>","orderNumber":"string","recent":"boolean","xcPendingExport":"boolean","total":"string","subtotal":"string"}]

GET
Retrieve order by id

id
integer Required
Id value of the Order object
default Success <XLite\Model\Order>
Sample response
{"usedCoupons":"<XLite\\Module\\CDev\\Coupons\\Model\\UsedCoupon>[] array","uspsShipment":"<XLite\\Module\\CDev\\USPS\\Model\\Shipment>[] array","capostParcels":"<XLite\\Module\\XC\\CanadaPost\\Model\\Order\\Parcel>[] array","capostReturns":"<XLite\\Module\\XC\\CanadaPost\\Model\\ProductsReturn>[] array","capostOffice":"<XLite\\Module\\XC\\CanadaPost\\Model\\Order\\PostOffice>","giftWrapping":"boolean","greetingMessage":"string","mailchimpStoreId":"string","mandrill_mails":"<XLite\\Module\\XC\\Mandrill\\Model\\MandrillMail>[] array","not_finished_order":"<XLite\\Model\\Order>","pbOrder":"<XLite\\Module\\XC\\PitneyBowes\\Model\\PBOrder>","conversation":"<XLite\\Module\\XC\\VendorMessages\\Model\\Conversation>","order_id":"integer","profile":"<XLite\\Model\\Profile>","orig_profile":"<XLite\\Model\\Profile>","shipping_id":"integer","shipping_method_name":"string","payment_method_name":"string","tracking":"string","date":"integer","lastRenewDate":"integer","paymentStatus":"<XLite\\Model\\Order\\Status\\Payment>","shippingStatus":"<XLite\\Model\\Order\\Status\\Shipping>","notes":"string","adminNotes":"string","details":"<XLite\\Model\\OrderDetail>[] array","trackingNumbers":"<XLite\\Model\\OrderTrackingNumber>[] array","events":"<XLite\\Model\\OrderHistoryEvents>[] array","items":"<XLite\\Model\\OrderItem>[] array","surcharges":"<XLite\\Model\\Order\\Surcharge>[] array","payment_transactions":"<XLite\\Model\\Payment\\Transaction>[] array","currency":"<XLite\\Model\\Currency>","orderNumber":"string","recent":"boolean","xcPendingExport":"boolean","total":"string","subtotal":"string"}
usedCoupons
[] array
Used coupons
uspsShipment
[] array
USPS Shipments
capostParcels
[] array
Canada Post parcels (reference to the Canada Post parcels model)
capostReturns
[] array
Reference to the Canada Post returns model
capostOffice
giftWrapping
boolean
greetingMessage
string
mailchimpStoreId
string
Mailchimp store id
mandrill_mails
[] array
Mandrill e-mail messages
not_finished_order
pbOrder
conversation
order_id
integer
Order unique id
profile
orig_profile
shipping_id
integer
Shipping method unique id
shipping_method_name
string
Shipping method name
payment_method_name
string
Payment method name
tracking
string
Shipping tracking code
date
integer
Order creation timestamp
lastRenewDate
integer
Last order renew date
paymentStatus
shippingStatus
notes
string
Customer notes
adminNotes
string
Admin notes
details
[] array
Order details
trackingNumbers
[] array
Order tracking numbers
events
[] array
Order events queue
items
[] array
Order items
surcharges
[] array
Order surcharges
payment_transactions
[] array
Payment transactions
currency
orderNumber
string
Unique order identificator (it is working for orders only, not for cart entities)
recent
boolean
Recent flag: true if order's statuses were not changed manually by an administrator, otherwise - false
xcPendingExport
boolean
Flag to exporting entities
total
string
Total
subtotal
string
Subtotal

PUT
Update order by id

id
integer Required
Id value of the Order object
<XLite\Model\Order>
usedCoupons
[] array
Used coupons
uspsShipment
[] array
USPS Shipments
capostParcels
[] array
Canada Post parcels (reference to the Canada Post parcels model)
capostReturns
[] array
Reference to the Canada Post returns model
capostOffice
giftWrapping
boolean
greetingMessage
string
mailchimpStoreId
string
Mailchimp store id
mandrill_mails
[] array
Mandrill e-mail messages
not_finished_order
pbOrder
conversation
order_id
integer
Order unique id
profile
orig_profile
shipping_id
integer
Shipping method unique id
shipping_method_name
string
Shipping method name
payment_method_name
string
Payment method name
tracking
string
Shipping tracking code
date
integer
Order creation timestamp
lastRenewDate
integer
Last order renew date
paymentStatus
shippingStatus
notes
string
Customer notes
adminNotes
string
Admin notes
details
[] array
Order details
trackingNumbers
[] array
Order tracking numbers
events
[] array
Order events queue
items
[] array
Order items
surcharges
[] array
Order surcharges
payment_transactions
[] array
Payment transactions
currency
orderNumber
string
Unique order identificator (it is working for orders only, not for cart entities)
recent
boolean
Recent flag: true if order's statuses were not changed manually by an administrator, otherwise - false
xcPendingExport
boolean
Flag to exporting entities
total
string
Total
subtotal
string
Subtotal
default Success <XLite\Model\Order>
Sample response
{"usedCoupons":"<XLite\\Module\\CDev\\Coupons\\Model\\UsedCoupon>[] array","uspsShipment":"<XLite\\Module\\CDev\\USPS\\Model\\Shipment>[] array","capostParcels":"<XLite\\Module\\XC\\CanadaPost\\Model\\Order\\Parcel>[] array","capostReturns":"<XLite\\Module\\XC\\CanadaPost\\Model\\ProductsReturn>[] array","capostOffice":"<XLite\\Module\\XC\\CanadaPost\\Model\\Order\\PostOffice>","giftWrapping":"boolean","greetingMessage":"string","mailchimpStoreId":"string","mandrill_mails":"<XLite\\Module\\XC\\Mandrill\\Model\\MandrillMail>[] array","not_finished_order":"<XLite\\Model\\Order>","pbOrder":"<XLite\\Module\\XC\\PitneyBowes\\Model\\PBOrder>","conversation":"<XLite\\Module\\XC\\VendorMessages\\Model\\Conversation>","order_id":"integer","profile":"<XLite\\Model\\Profile>","orig_profile":"<XLite\\Model\\Profile>","shipping_id":"integer","shipping_method_name":"string","payment_method_name":"string","tracking":"string","date":"integer","lastRenewDate":"integer","paymentStatus":"<XLite\\Model\\Order\\Status\\Payment>","shippingStatus":"<XLite\\Model\\Order\\Status\\Shipping>","notes":"string","adminNotes":"string","details":"<XLite\\Model\\OrderDetail>[] array","trackingNumbers":"<XLite\\Model\\OrderTrackingNumber>[] array","events":"<XLite\\Model\\OrderHistoryEvents>[] array","items":"<XLite\\Model\\OrderItem>[] array","surcharges":"<XLite\\Model\\Order\\Surcharge>[] array","payment_transactions":"<XLite\\Model\\Payment\\Transaction>[] array","currency":"<XLite\\Model\\Currency>","orderNumber":"string","recent":"boolean","xcPendingExport":"boolean","total":"string","subtotal":"string"}
usedCoupons
[] array
Used coupons
uspsShipment
[] array
USPS Shipments
capostParcels
[] array
Canada Post parcels (reference to the Canada Post parcels model)
capostReturns
[] array
Reference to the Canada Post returns model
capostOffice
giftWrapping
boolean
greetingMessage
string
mailchimpStoreId
string
Mailchimp store id
mandrill_mails
[] array
Mandrill e-mail messages
not_finished_order
pbOrder
conversation
order_id
integer
Order unique id
profile
orig_profile
shipping_id
integer
Shipping method unique id
shipping_method_name
string
Shipping method name
payment_method_name
string
Payment method name
tracking
string
Shipping tracking code
date
integer
Order creation timestamp
lastRenewDate
integer
Last order renew date
paymentStatus
shippingStatus
notes
string
Customer notes
adminNotes
string
Admin notes
details
[] array
Order details
trackingNumbers
[] array
Order tracking numbers
events
[] array
Order events queue
items
[] array
Order items
surcharges
[] array
Order surcharges
payment_transactions
[] array
Payment transactions
currency
orderNumber
string
Unique order identificator (it is working for orders only, not for cart entities)
recent
boolean
Recent flag: true if order's statuses were not changed manually by an administrator, otherwise - false
xcPendingExport
boolean
Flag to exporting entities
total
string
Total
subtotal
string
Subtotal

DELETE
Delete order by id

id
integer Required
Id value of the Order object
default Success <XLite\Model\Order>
Sample response
{"usedCoupons":"<XLite\\Module\\CDev\\Coupons\\Model\\UsedCoupon>[] array","uspsShipment":"<XLite\\Module\\CDev\\USPS\\Model\\Shipment>[] array","capostParcels":"<XLite\\Module\\XC\\CanadaPost\\Model\\Order\\Parcel>[] array","capostReturns":"<XLite\\Module\\XC\\CanadaPost\\Model\\ProductsReturn>[] array","capostOffice":"<XLite\\Module\\XC\\CanadaPost\\Model\\Order\\PostOffice>","giftWrapping":"boolean","greetingMessage":"string","mailchimpStoreId":"string","mandrill_mails":"<XLite\\Module\\XC\\Mandrill\\Model\\MandrillMail>[] array","not_finished_order":"<XLite\\Model\\Order>","pbOrder":"<XLite\\Module\\XC\\PitneyBowes\\Model\\PBOrder>","conversation":"<XLite\\Module\\XC\\VendorMessages\\Model\\Conversation>","order_id":"integer","profile":"<XLite\\Model\\Profile>","orig_profile":"<XLite\\Model\\Profile>","shipping_id":"integer","shipping_method_name":"string","payment_method_name":"string","tracking":"string","date":"integer","lastRenewDate":"integer","paymentStatus":"<XLite\\Model\\Order\\Status\\Payment>","shippingStatus":"<XLite\\Model\\Order\\Status\\Shipping>","notes":"string","adminNotes":"string","details":"<XLite\\Model\\OrderDetail>[] array","trackingNumbers":"<XLite\\Model\\OrderTrackingNumber>[] array","events":"<XLite\\Model\\OrderHistoryEvents>[] array","items":"<XLite\\Model\\OrderItem>[] array","surcharges":"<XLite\\Model\\Order\\Surcharge>[] array","payment_transactions":"<XLite\\Model\\Payment\\Transaction>[] array","currency":"<XLite\\Model\\Currency>","orderNumber":"string","recent":"boolean","xcPendingExport":"boolean","total":"string","subtotal":"string"}
usedCoupons
[] array
Used coupons
uspsShipment
[] array
USPS Shipments
capostParcels
[] array
Canada Post parcels (reference to the Canada Post parcels model)
capostReturns
[] array
Reference to the Canada Post returns model
capostOffice
giftWrapping
boolean
greetingMessage
string
mailchimpStoreId
string
Mailchimp store id
mandrill_mails
[] array
Mandrill e-mail messages
not_finished_order
pbOrder
conversation
order_id
integer
Order unique id
profile
orig_profile
shipping_id
integer
Shipping method unique id
shipping_method_name
string
Shipping method name
payment_method_name
string
Payment method name
tracking
string
Shipping tracking code
date
integer
Order creation timestamp
lastRenewDate
integer
Last order renew date
paymentStatus
shippingStatus
notes
string
Customer notes
adminNotes
string
Admin notes
details
[] array
Order details
trackingNumbers
[] array
Order tracking numbers
events
[] array
Order events queue
items
[] array
Order items
surcharges
[] array
Order surcharges
payment_transactions
[] array
Payment transactions
currency
orderNumber
string
Unique order identificator (it is working for orders only, not for cart entities)
recent
boolean
Recent flag: true if order's statuses were not changed manually by an administrator, otherwise - false
xcPendingExport
boolean
Flag to exporting entities
total
string
Total
subtotal
string
Subtotal

POST
Add new order

<XLite\Model\Order>
usedCoupons
[] array
Used coupons
uspsShipment
[] array
USPS Shipments
capostParcels
[] array
Canada Post parcels (reference to the Canada Post parcels model)
capostReturns
[] array
Reference to the Canada Post returns model
capostOffice
giftWrapping
boolean
greetingMessage
string
mailchimpStoreId
string
Mailchimp store id
mandrill_mails
[] array
Mandrill e-mail messages
not_finished_order
pbOrder
conversation
order_id
integer
Order unique id
profile
orig_profile
shipping_id
integer
Shipping method unique id
shipping_method_name
string
Shipping method name
payment_method_name
string
Payment method name
tracking
string
Shipping tracking code
date
integer
Order creation timestamp
lastRenewDate
integer
Last order renew date
paymentStatus
shippingStatus
notes
string
Customer notes
adminNotes
string
Admin notes
details
[] array
Order details
trackingNumbers
[] array
Order tracking numbers
events
[] array
Order events queue
items
[] array
Order items
surcharges
[] array
Order surcharges
payment_transactions
[] array
Payment transactions
currency
orderNumber
string
Unique order identificator (it is working for orders only, not for cart entities)
recent
boolean
Recent flag: true if order's statuses were not changed manually by an administrator, otherwise - false
xcPendingExport
boolean
Flag to exporting entities
total
string
Total
subtotal
string
Subtotal
default Success <XLite\Model\Order>
Sample response
{"usedCoupons":"<XLite\\Module\\CDev\\Coupons\\Model\\UsedCoupon>[] array","uspsShipment":"<XLite\\Module\\CDev\\USPS\\Model\\Shipment>[] array","capostParcels":"<XLite\\Module\\XC\\CanadaPost\\Model\\Order\\Parcel>[] array","capostReturns":"<XLite\\Module\\XC\\CanadaPost\\Model\\ProductsReturn>[] array","capostOffice":"<XLite\\Module\\XC\\CanadaPost\\Model\\Order\\PostOffice>","giftWrapping":"boolean","greetingMessage":"string","mailchimpStoreId":"string","mandrill_mails":"<XLite\\Module\\XC\\Mandrill\\Model\\MandrillMail>[] array","not_finished_order":"<XLite\\Model\\Order>","pbOrder":"<XLite\\Module\\XC\\PitneyBowes\\Model\\PBOrder>","conversation":"<XLite\\Module\\XC\\VendorMessages\\Model\\Conversation>","order_id":"integer","profile":"<XLite\\Model\\Profile>","orig_profile":"<XLite\\Model\\Profile>","shipping_id":"integer","shipping_method_name":"string","payment_method_name":"string","tracking":"string","date":"integer","lastRenewDate":"integer","paymentStatus":"<XLite\\Model\\Order\\Status\\Payment>","shippingStatus":"<XLite\\Model\\Order\\Status\\Shipping>","notes":"string","adminNotes":"string","details":"<XLite\\Model\\OrderDetail>[] array","trackingNumbers":"<XLite\\Model\\OrderTrackingNumber>[] array","events":"<XLite\\Model\\OrderHistoryEvents>[] array","items":"<XLite\\Model\\OrderItem>[] array","surcharges":"<XLite\\Model\\Order\\Surcharge>[] array","payment_transactions":"<XLite\\Model\\Payment\\Transaction>[] array","currency":"<XLite\\Model\\Currency>","orderNumber":"string","recent":"boolean","xcPendingExport":"boolean","total":"string","subtotal":"string"}
usedCoupons
[] array
Used coupons
uspsShipment
[] array
USPS Shipments
capostParcels
[] array
Canada Post parcels (reference to the Canada Post parcels model)
capostReturns
[] array
Reference to the Canada Post returns model
capostOffice
giftWrapping
boolean
greetingMessage
string
mailchimpStoreId
string
Mailchimp store id
mandrill_mails
[] array
Mandrill e-mail messages
not_finished_order
pbOrder
conversation
order_id
integer
Order unique id
profile
orig_profile
shipping_id
integer
Shipping method unique id
shipping_method_name
string
Shipping method name
payment_method_name
string
Payment method name
tracking
string
Shipping tracking code
date
integer
Order creation timestamp
lastRenewDate
integer
Last order renew date
paymentStatus
shippingStatus
notes
string
Customer notes
adminNotes
string
Admin notes
details
[] array
Order details
trackingNumbers
[] array
Order tracking numbers
events
[] array
Order events queue
items
[] array
Order items
surcharges
[] array
Order surcharges
payment_transactions
[] array
Payment transactions
currency
orderNumber
string
Unique order identificator (it is working for orders only, not for cart entities)
recent
boolean
Recent flag: true if order's statuses were not changed manually by an administrator, otherwise - false
xcPendingExport
boolean
Flag to exporting entities
total
string
Total
subtotal
string
Subtotal