The Forward Order API is used to inform Optoro of new orders from your Forward order system.
Forward Orders (DEPRECATED) (1.0.0)
An array with one or more forward orders. Optoro recommends batching orders, where total payload size is not to exceed 10KB.
A unique order identifier for this order. Must be a unique value per order.
A unique identifier for the 'concept' or 'brand' the order was placed from. This allows a client to delineate orders across different concepts or brands when the client’s parent company has multiple retail brands.
The postal / zip code portion of the order's shipping address.
iso8601 formatted date string representing when the order was created (YYYY-MM-DDT00:00:00).
An array of order items in the order.
ID for individual item within the Order. Must be a unique value per item.
UPC that represents the product for this order item.
An identifier which matches the client catalog and represents the product for this order item.
The number of units within the order for each SKU (or UPC).
The tracking number for the package containing this order item. This allows operations to scan the tracking number for undeliverable items.
The return tracking number for the package containing this order item. This allows operations to scan the tracking number for items returned by the customer.
ID used to track item that was drop-shipped.
iso8601 formatted date string (YYYY-MM-DDT00:00:00) representing when the order was shipped.
iso8601 formatted date string (YYYY-MM-DDT00:00:00) representing when the order item is no longer eligible for return.
- Mock serverhttps://developer.optoro.com/_mock/openapi/forward_orders/openapi/forward_orders
- Productionhttps://orders.optiturn.com/forward_orders
- Sandboxhttps://orders.sandbox.optiturn.com/forward_orders
- Staginghttps://orders.stage.optiturn.com/forward_orders
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://developer.optoro.com/_mock/openapi/forward_orders/openapi/forward_orders \
-H 'Content-Type: application/json' \
-d '{
"orders": [
{
"identifier": "1193Z93LL",
"concept": "Best Brand",
"postal_code": 55127,
"created_at": "2023-09-11T00:00:00.000Z",
"items": [
{
"identifier": "f34d97a7-f175-4a52-9e94-405631adbb3e4",
"upc": 848709033673,
"sku": "0123445667A",
"quantity": 2,
"tracking_number": "1Z999AA10123456784",
"reverse_tracking_number": 2396343519220426000,
"dropship_identifier": 1872,
"shipped_date": "2023-08-20T04:00:00Z",
"return_policy_end_date": "2023-08-15T04:00:00Z",
"labels": [
{
"type": "barcode",
"name": "title",
"value": 10231030023
}
]
}
]
}
]
}'{ "message": "Success" }