GET Order
Retrieve a single purchase order by ID.
Endpoint
|
Endpoint |
|
|
Method |
GET |
|
Scope |
csp.orders.read |
Headers
| Header | Argument |
|---|---|
|
Authorization |
Bearer token |
|
Content-Type |
application/json |
Parameters
| Parameter | Description |
|---|---|
|
id |
Order unique identifier (GUID). Must not be an empty GUID. |
Elements
The following elements are available in the response:
| Element | Data Type | Available Options | Description |
|---|---|---|---|
|
id |
string (GUID) |
Unique order identifier. | |
|
enterprise_instance_url |
string |
URL of the buyer's Coupa instance. | |
|
po_number |
string |
Purchase order number. | |
|
status |
string |
issued, acknowledged, cancelled, closed, draft, expensed, soft_closed |
Current status of the order. |
|
created_at |
datetime |
Timestamp when the order was created. | |
|
updated_at |
datetime |
Timestamp when the order was last updated. | |
|
currency |
string |
ISO currency code (e.g., USD). | |
|
ship_to_attention |
string |
Contact information for shipping. | |
|
shipping_term_code |
string |
Shipping terms code. | |
|
payment_term_code |
string |
Payment terms code. | |
|
payment_method |
string |
invoice |
Payment method for the order. |
|
acknowledged_at |
datetime |
Timestamp when the order was acknowledged by the supplier. | |
|
order_confirmation_level |
integer |
Order confirmation level required. | |
|
confirm_by_hrs |
integer |
Number of hours to confirm the order. | |
|
transmission_emails |
string |
Email addresses for order transmission. | |
|
estimated_tax_amount |
decimal |
Estimated tax amount for the order. | |
|
total |
decimal |
Total order amount. | |
|
order_lines |
array |
Array of order line items associated with the order. Each line item contains: id (GUID), order_header_id (GUID), order_header_number (string), description (string), quantity (decimal), price (decimal), currency (string), total (decimal), accounting_total (decimal), accounting_total_currency (string), reporting_total (decimal), status (string), need_by_date (datetime). | |
|
ship_to_address |
object |
Ship to address object associated with the order. Contains: name (string), street1 (string), street2 (string), street3 (string), street4 (string), city (string), state (string), postal_code (string), country (string). |
Get order
- Endpoint
-
GET
/api/v1/orders/:id - Example cURL request
-
curl --location 'https://supplier.coupahost.com/api/v1/orders/b6b94cca-9cb8-5512-b1e4-f9234544a3a7' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer ••••••' - Example response
-
{ "acknowledged_at": null, "confirm_by_hrs": 0, "created_at": "2026-02-06T06:18:50Z", "currency": "USD", "enterprise_instance_url": "https://r44.coupadev.com/", "estimated_tax_amount": 0, "id": "077fe43f-208f-5a07-99bb-5f4a8b66ec80", "order_confirmation_level": 0, "order_lines": [ { "accounting_total": 40, "accounting_total_currency": "USD", "currency": "USD", "description": "Office supplies bundle", "id": "5dcdce4f-836c-5c7f-a80f-d14a48326ea9", "need_by_date": null, "order_header_id": "077fe43f-208f-5a07-99bb-5f4a8b66ec80", "order_header_number": "2479015", "price": 20, "quantity": 2, "reporting_total": 40, "status": "issued", "total": 40 }, { "accounting_total": 10, "accounting_total_currency": "USD", "currency": "USD", "description": "Standard shipping", "id": "65dfbd6c-8597-5ad5-a592-2717bb5c8021", "need_by_date": null, "order_header_id": "077fe43f-208f-5a07-99bb-5f4a8b66ec80", "order_header_number": "2479015", "price": 10, "quantity": 1, "reporting_total": 10, "status": "issued", "total": 10 } ], "payment_method": "invoice", "payment_term_code": "", "po_number": "2479015", "ship_to_address": { "city": "Austin", "country": "US", "name": "Address", "postal_code": "78701", "state": "TX", "street1": "100 Supply Row", "street2": "Suite 200", "street3": null, "street4": null }, "ship_to_attention": "Mohit Sharma", "shipping_term_code": "", "status": "issued", "total": 50, "transmission_emails": null, "updated_at": "2026-03-26T02:03:32Z" } - Example error response (401 Unauthorized — invalid token)
-
{ "error": "invalid_token", "error_description": "The access token provided is expired, revoked, malformed or invalid for other reasons." } - Example error response (401 Unauthorized — insufficient scope)
-
{ "error": { "message": "Insufficient scope. Required scope: csp.orders.read", "code": "INSUFFICIENT_SCOPE", "type": "authorization_error", "timestamp": "2026-10-29T10:30:00Z" } } - Example error response (402 Insufficient credits)
-
{ "error": { "message": "Insufficient tokens. You have exhausted your API usage tokens. Please purchase tokens.", "code": "INSUFFICIENT_CREDITS", "type": "credit_error", "timestamp": "2026-10-29T10:30:00Z" } } - Example error response (404 Not Found)
-
{ "error": { "message": "The requested record was not found.", "code": "RECORD_NOT_FOUND", "type": "not_found_error", "timestamp": "2026-10-29T10:30:00Z" } } - Example error response (429 Too Many Requests)
-
{ "error": { "message": "Rate limit exceeded. Maximum 100 requests per minute allowed. Please try again after 42 seconds.", "code": "TOO_MANY_REQUESTS", "type": "rate_limit_exceeded", "timestamp": "2026-10-29T10:30:00Z" } } - Example error response (500 Internal Server Error)
-
{ "error": { "message": "Something went wrong, Please try again", "code": "INTERNAL_SERVER_ERROR", "type": "server_error", "timestamp": "2026-10-29T10:30:00Z" } }