Orders Core
Overview
The Orders Core API provides fundamental operations for managing orders in SellerCenter. Orders represent customer purchases and contain order items, customer information, shipping details, and payment information.
Core order operations include:
- Order listing: Retrieve collections of orders with extensive filtering options
- Order anonymization: Anonymize customer information in orders for GDPR/LGPD compliance
- Order retrieval: Get detailed information about specific orders
- Order search: Search orders and get autocomplete suggestions
- Order counters: Get approximate counts of orders by status
Important: Orders can be filtered by many criteria including status, dates, customer information, shipment details, and more. The counters endpoint provides eventually consistent data suitable for UI hints and dashboards.
Get List of Orders
GET /v2/orders
Summary: This endpoint allows you to receive a collection of orders.
Description: Get list of orders with filters
Parameters:
X-Context(header, optional): Define is the request done by an admin or by a seller.limit(query, required): Defines the maximum number of items to be returned.offset(query, required): Defines the starting point in the collection of items to begin returning results from.section(query, optional): Search sectionstatus_shipped- returns orders with order items statusshippedstatus_delivered- returns orders with order items statusdeliveredstatus_failed- returns orders with order items statusfailedstatus_canceled- returns orders with order items statuscanceledstatus_pending_all- returns orders with order items statuspendingandshipment_information_pendingstatus_pending- returns orders with order items statuspendingstatus_ready_to_ship- returns orders with order items statusready_to_shipstatus_payment_pending- returns orders with order items statuspayment_pendingstatus_shipment_information_pending- returns orders with order items statusshipment_information_pendingstatus_returned- returns orders with order items statusreturnedstatus_return_shipped_by_customer- returns orders with order items statusreturn_shipped_by_customerstatus_return_rejected- returns orders with order items statusreturn_rejectedstatus_return_waiting_for_approval- returns orders with order items statusreturn_waiting_for_approvalstatus_return_delivered- returns orders with order items statusreturn_deliveredgroup_economy- returns orders withpendingstatus andeconomyshipment provider typegroup_express- returns orders withpendingstatus andexpressshipment provider typegroup_standard- returns orders withpendingstatus andstandardshipment provider typegroup_digital- returns orders withpendingstatus anddigitalshipment provider typegroup_sameday- returns orders withpendingstatus andsamedayshipment provider typegroup_air- returns orders withpendingstatus andairshipment provider typegroup_surface- returns orders withpendingstatus andsurfaceshipment provider typegroup_missing_external_invoice_access_key- returns orders withpendingorcanceledstatus and invoice key isemptygroup_ready_to_ship_manifested- returns orders withready to shipstatus and manifest isexistsgroup_ready_to_ship_nonmanifested- returns orders withready to shipstatus and manifest isnot exists
dateStart(query, optional): Search by order creation or date time. Time information is optional. By default start time will be at 00:00:00.dateEnd(query, optional): Search by order creation date or date time. Time information is optional. By default end time will be at 23:59:59.orderNumbers[](query, optional): Search by order numberpacked(query, optional): Search by packed statusfully_packed- all of order items packedpartially_packed- part of order items packednot_packed- no order items packed
customers[](query, optional): Search by customer name (first name and last name)printedStatus(query, optional): Search by printed statustags[](query, optional): Search by tag's numeric id.productSku[](query, optional): Search by product skudelivery(query, optional): Search by deliveryshippedUnder24h- Orders with the status of the Order Item was set to shipped less or equal than 24 hours ago.notShippedUnder24h- Orders with the status of the Order Item was set to shipped more than 24 hours ago.notShippedUnder24BusinessHours- Orders with the status of the Order Item was set to shipped more than 24 business hours ago.
shipmentType(query, optional, deprecated): Deprecated. Use shipmentTypes[] instead.shipmentTypes[](query, optional): Search by shipment types.shipmentProviders[](query, optional): Searchhhhh by shipment provider id (or -1 for orders have no shipment provider)paymentMethods[](query, optional): Search by payment methodsoutlet(query, optional): Search orders from outlet onlyinvoiceRequired(query, optional): If this field is set to "1" then only orders for which an invoice is required will be returnedcancelationReasons[](query, optional, deprecated): Search by cancelation reason id (this field name is marked deprecated and will be replaced by cancelationReasonIds)cancelationReasonIds[](query, optional): Search by cancelation reason idfulfilmentType[](query, optional): Search by fulfilment typemerchant- means the type of shipment from the seller's warehouseventure- means the type of shipment from the venture's warehouse
orderSources[](query, optional): Search by order sourcessellerNames[](query, optional, deprecated): Search by seller id (this field name is marked deprecated and will be replaced by sellerIds)sellerIds[](query, optional): Search by seller idupdateDateStart(query, optional): Search by order item updated date or date time. Will return orders with at least one order item updated within the selected range. By default, the start time will be set to 00:00:00.updateDateEnd(query, optional): Search by order item updated date or date time. Will return orders with at least one order item updated within the selected range. By default, the end time will be set to 23:59:59.warehouses[](query, optional): Search by warehouse nameorderIds[](query, optional): Array of numeric Order IdsincludeVoucherDetails(query, optional): Include voucher details in response (only for orders with voucher) default: falseincludeProductSet(query, optional): Include product set information in response default: falsesort(query, optional): The field to sort the results by.sortDir(query, optional): Define which if you like to sort ascending or descending. Default is ascending
Note:
- Supports extensive filtering by status, dates, customers, shipment types, payment methods, and many other criteria
- Returns paginated results with
limit,offset,total, andhasNextfields - Use
X-Contextheader to specify admin or seller context - Multiple filters can be combined for precise order retrieval
Anonymize Order Information
POST /v2/orders/anonymize
Summary: Anonymize order information
Description: Anonymize customer information in one or more orders. This endpoint supports two modes:
- Default Mask Mode: When
default_maskis provided, all customer data fields (names, addresses, etc.) will be replaced with the mask value. - Selective Update Mode: When specific fields are provided without
default_mask, only those fields will be updated.
The operation processes orders in batch and returns detailed results for each order.
Request Body:
order_numbers(array, required): Array of order numbers to anonymize (minimum 1 item)default_mask(string, optional): Default mask to apply to all fields if providedaddress_billing(object, optional): Billing address fields to updatefirst_name,last_name: Customer names for billingphone,phone2: Primary and secondary phone numbersaddress1toaddress5: Address linescity,postcode,country: Location detailscustomer_email: Email address for billing
address_shipping(object, optional): Shipping address fields to update (same structure as billing)customer_first_name(string, optional): Customer's first namecustomer_last_name(string, optional): Customer's last namenational_registration_number(string, optional): National registration number
Examples:
- Default mask: Apply "LGPD-1212" to all customer data fields
- Selective update: Update only specific fields like customer names and billing address
- Batch processing: Process multiple orders in a single request
Response Codes:
- 200: All orders processed successfully
- 206: Partial success - some orders processed, others failed
- 400: Bad request - validation errors or all orders failed
Note:
- Supports batch processing of multiple orders
- Returns detailed success/failure information for each order
- Useful for GDPR/LGPD compliance requirements
- When using
default_mask, all customer fields are replaced with the mask value
Get Order by ID
GET /v2/orders/{orderId}
Summary: This endpoints allows you to receive a specific order.
Description: Getter for a specific order by id
Parameters:
orderId(path, required): Numeric Order IdshipmentType(query, optional, deprecated): Deprecated. Use shipmentTypes[] instead.shipmentTypes[](query, optional): Search by shipment types.includeProductSet(query, optional): Include product set information in response default: false
Note:
- Returns complete order details including all order items
- Use
includeProductSetto get additional product set information - Order status and history information is included in the response
Search Orders
GET /v2/orders/search
Summary: This endpoint allows you to search orders and get autocomplete suggestions for order numbers, order sources, customers, and products.
Description: Search orders for autocomplete suggestions
Parameters:
key(query, required): Search key typeorder_nr- search by order numberorder_source- search by order sourcecustomer- search by customer nameproduct- search by product name or SKUcancelation-reason- search by cancelation reason
query(query, required): Search query string to find matching ordersfilteredStatus(query, optional): Filter orders by status section (optional, defaults to status_pending)status_shipped- returns orders with order items statusshippedstatus_delivered- returns orders with order items statusdeliveredstatus_failed- returns orders with order items statusfailedstatus_canceled- returns orders with order items statuscanceledstatus_pending_all- returns orders with order items statuspendingandshipment_information_pendingstatus_pending- returns orders with order items statuspendingstatus_ready_to_ship- returns orders with order items statusready_to_shipstatus_payment_pending- returns orders with order items statuspayment_pendingstatus_shipment_information_pending- returns orders with order items statusshipment_information_pendingstatus_returned- returns orders with order items statusreturnedstatus_return_shipped_by_customer- returns orders with order items statusreturn_shipped_by_customerstatus_return_rejected- returns orders with order items statusreturn_rejectedstatus_return_waiting_for_approval- returns orders with order items statusreturn_waiting_for_approvalstatus_return_delivered- returns orders with order items statusreturn_deliveredgroup_economy- returns orders withpendingstatus andeconomyshipment provider typegroup_express- returns orders withpendingstatus andexpressshipment provider typegroup_standard- returns orders withpendingstatus andstandardshipment provider typegroup_digital- returns orders withpendingstatus anddigitalshipment provider typegroup_sameday- returns orders withpendingstatus andsamedayshipment provider typegroup_air- returns orders withpendingstatus andairshipment provider typegroup_surface- returns orders withpendingstatus andsurfaceshipment provider typegroup_missing_external_invoice_access_key- returns orders withpendingorcanceledstatus and invoice key isemptygroup_ready_to_ship_manifested- returns orders withready to shipstatus and manifest isexistsgroup_ready_to_ship_nonmanifested- returns orders withready to shipstatus and manifest isnot exists
Note:
- Returns autocomplete suggestions based on the search key type
- Supports searching by order number, order source, customer, or product
- Useful for building search interfaces with autocomplete
Get Order Counters
GET /v2/orders-counters
Summary: This endpoint will return the counter values for each orders states.
Description: Get approximate counters for orders groupped by filters. Please, read explanation about each counter in response model. This endpoint is suitable for getting quick information about count of orders, for example, when you develop own UI of SellerCenter and want to display to end user hint with count of pending orders. Data is eventually consistent, however there can be some delay in updating those counters.
Parameters:
includeOrderCounters(query, optional): When set to false, excludes order counters (pending, ready to ship, shipped, etc.) from the response to improve performanceincludeReturnCounters(query, optional): When set to true, includes return counters in the response
Note:
- Returns counters for pending, ready_to_ship, shipped, delivered, cancelled orders
- Data is eventually consistent - may have slight delays
- Use
includeReturnCountersto get return-related counters - Suitable for dashboard displays and UI hints