Overview
Returns a list of order details. Can function with a list of Global-e order ids.Producing shipping documentation
If using the GetOrdersDetails to produce shipping documentation, consider the following fields:| Information | Field |
|---|---|
| Exporter details (relevant EIN / EORI / VAT #) | Merchant.Order.ExporterDetails |
| Importer (relevant EIN / EORI / VAT #) | Merchant.Order.ImporterDetails |
| Shipper name/address | Must include a “Global-e” mention as the exporter |
| Currency | Merchant.Order.InternationalDetails.CurrencyCode |
| Private import mention | Should include a “Private importer” mention |
| Incoterm (DAP/DDP) | Merchant.Order.DutiesGuaranteed |
| Products | Merchant.Order.Products (list) |
| – COO | N/A – taken from Merchant systems |
| – HS Code | N/A – taken from merchant systems |
| – Price excluding D&T | Merchant.Order.Products[i].InternationalDiscountedPriceForCustoms |
| Shipping Cost | Merchant.Order.InternationalDetails.DeclarativeShippingPriceInCustomerCurrency. If the value is 0 (free shipping), we recommend using a non-zero low value (may attract duties and taxes). By default, if the customer benefits from Free Shipping, 5 USD is added instead for declarative purposes – this can be disabled by the Global-e team. |
| Destination Tax calculation rule | Merchant.Order.TaxCalculationRule indicates if destination Duties & Tax calculation is based on Products, Freight, and Duties. Possible values are accordingly: FOB, CIF, CIFD. |
| Total shipment declarative value for customs | Merchant.Order.TotalValueForCustoms. Calculated according to the two sub-points above to include Products, Freight, and Duties. |
Prerequisites
The Merchant OMS or WhMS should have knowledge of the following information and allow, either directly or through an escalation process, to:- Have the full list of items in the order
- Enable selection of items to be dispatched
- if applicable, enable the cancellation of line items
- if applicable, enable the declaration of items as back-ordered
GetOrdersDetails — full request & response
Parameters, all response classes (
Merchant.OrderV2, Merchant.Product, Merchant.InternationalDetails, and more), examples, and the interactive playground for POST /Order/GetOrdersDetails.Use Cases
Retrieve details for a list of orders
Send the Global-e order ids whose details you want to retrieve in theOrderIds array. The response returns one Merchant.OrderV2 object per order.
Merchant.OrderV2 classes) and a complete sample payload are rendered on the API Reference page.
