cURL
curl --request GET \
--url https://api.vambe.me/api/public/order/{id}/productconst options = {method: 'GET'};
fetch('https://api.vambe.me/api/public/order/{id}/product', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.vambe.me/api/public/order/{id}/product"
response = requests.get(url)
print(response.text)Product Catalog
Get order products
GET
/
api
/
public
/
order
/
{id}
/
product
cURL
curl --request GET \
--url https://api.vambe.me/api/public/order/{id}/productconst options = {method: 'GET'};
fetch('https://api.vambe.me/api/public/order/{id}/product', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.vambe.me/api/public/order/{id}/product"
response = requests.get(url)
print(response.text)Overview
Retrieve products associated with a specific order. Returns order details including all products, quantities, and prices.Use Cases
- Order Confirmation: Display order details to customers
- Order Processing: Get product list for fulfillment
- Analytics: Analyze order composition
- Customer Service: View what customer ordered
Authentication
x-api-key: your_api_key_here
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Order ID |
Response Structure
| Field | Type | Description |
|---|---|---|
id | string | Order ID |
currency | string | Order currency |
total | number | Total order amount |
products | array | Array of product objects |
Product Object
| Field | Type | Description |
|---|---|---|
id | string | Product ID |
name | string | Product name |
quantity | number | Quantity ordered |
price | number | Unit price |
Example Request
curl --request GET \
'https://api.vambe.me/api/public/order/order-123/product' \
--header 'x-api-key: your_api_key_here'
Example Response
{
"id": "order-123",
"currency": "USD",
"total": 149.97,
"products": [
{
"id": "prod-001",
"name": "Premium Coffee Beans",
"quantity": 2,
"price": 24.99
},
{
"id": "prod-002",
"name": "Coffee Grinder",
"quantity": 1,
"price": 99.99
}
]
}
Error Responses
| Status Code | Description |
|---|---|
| 401 | Unauthorized |
| 403 | Forbidden |
| 404 | Order not found |
| 500 | Internal Server Error |
Path Parameters
Response
200 - undefined
Was this page helpful?
