Get Single Order Item
Returns a single line item from an order.
Your API key, found under Store Settings on the API tab. This should be kept server-side.
Your store ID, found under Store Settings on the API tab.
Order Desk's internal order ID. This is not your source_id.
736745Order Desk's internal ID for the order item.
1670028The item.
Either success or error.
Describes the result. Always present when an error occurs.
Time taken to process the request.
0.1524 secondsOrder Desk's internal ID number for the order item. Read-only.
1670028ODU Campus Hoodie0Example: 191Example: 21.2Item SKU or product code.
ODU-HOOD-NVY-LAvailable options are ship, noship, download, or future. Defaults to ship.
shipPossible values: Further details about the type of item. Freeform text.
ApparelFulfillment method responsible for this item, when one applies.
Authentication failed. See the Authentication guide, and note that an invalid store ID blocks your store rather than simply failing the request.
No record matches that ID in your store.
You are sending too fast. Wait X-Retry-After seconds. See
the Rate Limits guide.
The request could not be completed.
curl "https://app.orderdesk.me/api/v2/orders/736745/order-items/1670028" \
-H "ORDERDESK-STORE-ID: your-store-id" \
-H "ORDERDESK-API-KEY: your-api-key"
{
"status": "success",
"message": "text",
"execution_time": "0.1524 seconds",
"order_item": {
"id": 1670028,
"name": "ODU Campus Hoodie",
"price": 19,
"quantity": 2,
"weight": 1.2,
"code": "ODU-HOOD-NVY-L",
"delivery_type": "ship",
"category_code": "Apparel",
"fulfillment_method": "text",
"variation_list": {
"Size": "Large",
"Color": "Red"
},
"metadata": {
"image": "https://example.com/odu-hoodie.jpg",
"print_sku": "x533"
}
}
}Last updated
Was this helpful?

