Get Order Items
curl --request GET \
--globoff \
--url 'https://api.example.com/{{micro_service_base_url}}/orders/{{order_id}}/order-items/{{order_item_id}}'import requests
url = "https://api.example.com/{{micro_service_base_url}}/orders/{{order_id}}/order-items/{{order_item_id}}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/{{micro_service_base_url}}/orders/{{order_id}}/order-items/{{order_item_id}}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/{{micro_service_base_url}}/orders/{{order_id}}/order-items/{{order_item_id}}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/{{micro_service_base_url}}/orders/{{order_id}}/order-items/{{order_item_id}}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/{{micro_service_base_url}}/orders/{{order_id}}/order-items/{{order_item_id}}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/{{micro_service_base_url}}/orders/{{order_id}}/order-items/{{order_item_id}}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"id": "<string>",
"quantity": 123,
"special_instructions": "<string>",
"store_item_price": "<string>",
"store_item_total_price": "<string>",
"store_item_name": "<string>",
"store_item_description": "<string>",
"store_item_category": "<string>",
"store_item_size": "<string>",
"item": {
"images": [
{}
],
"name": "<string>",
"description": "<string>",
"upc": "<string>",
"categories": [
{}
],
"subCategories": [
{}
],
"storeItems": [
{}
]
},
"modifications": [
{
"modifier_id": "<string>",
"modifier_name": "<string>",
"modifier_value": "<string>",
"additional_cost": "<string>"
}
],
"fulfillment_status": "<string>",
"preparation_notes": "<string>"
}Order Items
Get Order Items
Retrieve detailed information for a specific item within an order including pricing, modifications, and special instructions.
GET
{micro_service_base_url}
/
orders
/
{order_id}
/
order-items
/
{order_item_id}
Get Order Items
curl --request GET \
--globoff \
--url 'https://api.example.com/{{micro_service_base_url}}/orders/{{order_id}}/order-items/{{order_item_id}}'import requests
url = "https://api.example.com/{{micro_service_base_url}}/orders/{{order_id}}/order-items/{{order_item_id}}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/{{micro_service_base_url}}/orders/{{order_id}}/order-items/{{order_item_id}}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/{{micro_service_base_url}}/orders/{{order_id}}/order-items/{{order_item_id}}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/{{micro_service_base_url}}/orders/{{order_id}}/order-items/{{order_item_id}}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/{{micro_service_base_url}}/orders/{{order_id}}/order-items/{{order_item_id}}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/{{micro_service_base_url}}/orders/{{order_id}}/order-items/{{order_item_id}}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"id": "<string>",
"quantity": 123,
"special_instructions": "<string>",
"store_item_price": "<string>",
"store_item_total_price": "<string>",
"store_item_name": "<string>",
"store_item_description": "<string>",
"store_item_category": "<string>",
"store_item_size": "<string>",
"item": {
"images": [
{}
],
"name": "<string>",
"description": "<string>",
"upc": "<string>",
"categories": [
{}
],
"subCategories": [
{}
],
"storeItems": [
{}
]
},
"modifications": [
{
"modifier_id": "<string>",
"modifier_name": "<string>",
"modifier_value": "<string>",
"additional_cost": "<string>"
}
],
"fulfillment_status": "<string>",
"preparation_notes": "<string>"
}This endpoint provides comprehensive details for a specific item within an order. Use this when you need detailed information about a particular order item for customer service, inventory tracking, or fulfillment purposes.
This endpoint returns complete item details including product information, pricing breakdown, modifications, and fulfillment status.
Path Parameters
string
required
The unique identifier of the order containing the item
string
required
The unique identifier of the specific order item to retrieve
Response
string
Unique order item identifier
integer
Quantity of this item ordered
string
Item-specific preparation instructions
string
Price per unit for this item
string
Total price for this item (quantity × unit price)
string
Product name as displayed in store
string
Product description
string
Product category classification
string
Item size specification (if applicable)
object
Complete product information
array
string
Current fulfillment status for this specific item
string
Internal notes for item preparation
Response Example
{
"id": "7fbe2819-5bc6-4340-8dfe-a5605272a32b",
"quantity": 1,
"special_instructions": "Cancel this order if this item is not available.",
"store_item_price": "1.00",
"store_item_total_price": "1.00",
"store_item_name": "Jumbo Ring Pop - 1",
"store_item_description": "Jumbo Ring Pop",
"store_item_category": "Others",
"store_item_size": "1 count",
"item": {
"images": [
"https://example.com/product-image.jpg"
],
"name": "Jumbo Ring Pop",
"description": "Jumbo Ring Pop",
"upc": "4111626331",
"categories": [
{
"id": "12bd6794-a17a-48a2-9a14-64c44a20c232",
"name": "Others"
}
],
"subCategories": [],
"storeItems": [
{
"id": "b7e9d9a6-2e3e-451a-ada9-6c001b17eaa5",
"price": "10",
"external_id": null,
"location": null,
"name": "Jumbo Ring Pop - 1",
"description": null,
"categories": [
{
"id": "12bd6794-a17a-48a2-9a14-64c44a20c232",
"name": "Others"
}
],
"subCategories": []
}
]
},
"modifications": [
{
"modifier_id": "mod_size_large",
"modifier_name": "Size",
"modifier_value": "Large",
"additional_cost": "0.50"
}
],
"fulfillment_status": "pending",
"preparation_notes": "Handle with care - fragile packaging"
}
Item Status: The fulfillment_status field shows the specific status of this item within the order, which may differ from the overall order status.
Image Handling: Product images are returned as URLs. Always check if the image URL is valid before displaying to avoid broken image links.
Error Responses
Common Error Scenarios
Common Error Scenarios
Order Item Not FoundOrder Not FoundAccess Denied
{
"error": "Order item not found",
"order_item_id": "invalid-item-id",
"message": "The specified order item does not exist in this order"
}
{
"error": "Order not found",
"order_id": "invalid-order-id",
"message": "The specified order does not exist"
}
{
"error": "Access denied",
"message": "You do not have permission to view this order item"
}
Use Cases
Common Use Cases
Common Use Cases
Customer Service
- Answer customer questions about specific items
- Check item-specific special instructions
- Verify product details and pricing
- Check item preparation requirements
- Review modification details
- Track individual item status
- Verify product information accuracy
- Check UPC codes for scanning
- Monitor item-level demand
- Review preparation notes
- Check for special handling requirements
- Verify modifications were applied correctly
Performance: Use this endpoint sparingly for individual item lookups. For bulk item information, use the “Get All Order Items” endpoint instead.

