get https://sellercenter-api.linio.com.mx/?Action=GetOrders
Get the customer details for a range of orders.
Substantially different from GetOrder, which retrieves the order items for an order.
TotalCount | Unsigned | Displayed in the Head section, this number tells the complete number of all orders for the current filter set in the database |
OrderId | Unsigned | Identifier of this order as assigned by Seller Center. |
CustomerFirstName | String | The customer's first name. |
CustomerLastName | String | The customer's last name. |
OrderNumber | Unsigned | The human-readable order number. |
PaymentMethod | String | The method of payment. |
Remarks | String | A human-readable remark. |
DeliveryInfo | String | Delivery information for that order |
Price | Float | The total amount for this order. |
GiftOption | Boolean | 1 if item is a gift, 0 if it is not |
GiftMessage | String | Gift message as specified b the customer. |
CreatedAt | DateTime | Date and time when the order was placed. |
UpdatedAt | DateTime | Date and time of last change to the order. |
AddressBilling | Subsection | Node that contains additional nodes, which make up the billing address: FirstName, LastName, Phone, Phone2, Address1, Address2, City, PostCode, Country |
AddressShipping | Subsection | Node that contains additional nodes, which make up the shipping address: FirstName, LastName, Phone, Phone2, Address1, Address2, City, PostCode, Country |
NationalRegistrationNumber | String | Required in some countries. |
ItemsCount | Integer | Number of items in order. |
Statuses | Array | Unique statuses of the items in the order. (hint: you can find all of the different status codes in the response example) |
PromisedShippingTimes | DateTime | Target shipping time for the soonest order item if they were available |
ExtraAttributes | String | Extra attributes which were passed to Seller Center on getMarketPlaceOrders call. It is JSON string which client should parse it. |
Errors
Error code | Message |
---|---|
14 | E014: "%s" Invalid Offset |
17 | E017: "%s" Invalid Date Format |
19 | E019: "%s" Invalid Limit |
36 | E036: Invalid status filter |
74 | E074: Invalid sort direction. |
75 | E075: Invalid sort filter. |