GET Orders

Retrieve a paginated list of purchase orders for the supplier.

Endpoint

Endpoint

/api/v1/orders

Method

GET

Scope

csp.orders.read

Headers

HeaderArgument

Authorization

Bearer token

Content-Type

application/json

Parameters

Table 1. Query parameters
ParameterDescription

limit

(Optional) Page size. Default: 15. Maximum: 50.

page

(Optional) Page number. Default: 1.

status

(Optional) Filter by order status. Values: acknowledged, cancelled, closed, draft, expensed, soft_closed, issued.

sort_by

(Optional) Field name for sorting followed by colon and direction. Example: created_at:ASC

Table 2. Filterable fields
API fieldFilterSort (order_by)

id

Yes

Yes

enterprise_instance_url

Yes

Yes

po_number

Yes

Yes

status

Yes

Yes

created_at

Yes

Yes

updated_at

Yes

Yes

currency

Yes

No

ship_to_attention

Yes

Yes

shipping_term_code

Yes

Yes

payment_term_code

Yes

Yes

payment_method

Yes

Yes

acknowledged_at

Yes

Yes

order_confirmation_level

Yes

Yes

confirm_by_hrs

Yes

Yes

transmission_emails

No

No

estimated_tax_amount

Yes

Yes

total

Yes

Yes

order_lines

No

No

ship_to_address

No

No

Filter parameter details

Timestamp/Datetime
  • All timestamp or datetime values must be provided in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ.
  • All timestamp or datetime values are in UTC time zone.

Examples: created_at__lte=2025-11-19T09:38:51Z, created_at=2025-11-19T09:38:51Z, created_at__gte=2025-11-19T09:38:51Z

Comparison filters
  • lte — Less than or equal to
  • gte — Greater than or equal to
  • Usage: <attribute_name>__lte, <attribute_name>__gte
  • Applicable on fields: datetime, integer, decimal

Examples: created_at__lte, total__lte, created_at__gte, total__gte

Elements

The following elements are available in the response:

ElementData TypeAvailable OptionsDescription

data

array

Array of order objects.

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).

total

integer

Total number of orders that match the filter criteria across all pages.

limit

integer

Number of records per page.

current

integer

Current page number.

num_pages

integer

Total number of pages available.

Get orders

Endpoint

GET /api/v1/orders

Example cURL request
curl --location 'https://supplier.coupahost.com/api/v1/orders?status=issued&sort_by=created_at:ASC' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer ••••••'
Example response
{
    "data": [
        {
            "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"
        }
    ],
    "total": 25,
    "limit": 20,
    "current": 1,
    "num_pages": 2
}
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 (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"
    }
}

Get all orders created after a particular timestamp

Filter parameters

created_at__gte=2026-10-01T00:00:00Z

Example cURL request
curl --request GET \
  --url 'https://supplier.coupahost.com/api/v1/orders?created_at__gte=2026-10-01T00%3A00%3A00Z' \
  --header 'Authorization: Bearer ••••••'
Example response

200 OK

{
    "data": [
        {
            "acknowledged_at": null,
            "confirm_by_hrs": 0,
            "created_at": "2026-10-14T09:22:11Z",
            "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
                }
            ],
            "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": 40,
            "transmission_emails": null,
            "updated_at": "2026-10-14T09:25:03Z"
        }
    ],
    "total": 1,
    "limit": 15,
    "current": 1,
    "num_pages": 1
}

Get all orders created between two timestamps

Filter parameters

created_at__gte=2026-10-01T00:00:00Z

created_at__lte=2026-10-31T23:59:59Z

Example cURL request
curl --request GET \
  --url 'https://supplier.coupahost.com/api/v1/orders?created_at__gte=2026-10-01T00%3A00%3A00Z&created_at__lte=2026-10-31T23%3A59%3A59Z' \
  --header 'Authorization: Bearer ••••••'
Example response

200 OK

{
    "data": [
        {
            "acknowledged_at": null,
            "confirm_by_hrs": 0,
            "created_at": "2026-10-14T09:22:11Z",
            "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
                }
            ],
            "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": 40,
            "transmission_emails": null,
            "updated_at": "2026-10-14T09:25:03Z"
        },
        {
            "acknowledged_at": "2026-10-22T14:10:05Z",
            "confirm_by_hrs": 0,
            "created_at": "2026-10-22T13:55:30Z",
            "currency": "USD",
            "enterprise_instance_url": "https://r44.coupadev.com/",
            "estimated_tax_amount": 0,
            "id": "b6b94cca-9cb8-5512-b1e4-f9234544a3a7",
            "order_confirmation_level": 0,
            "order_lines": [
                {
                    "accounting_total": 150,
                    "accounting_total_currency": "USD",
                    "currency": "USD",
                    "description": "Laptop stand",
                    "id": "a2c3d4e5-f6a7-8901-bcde-f12345678901",
                    "need_by_date": null,
                    "order_header_id": "b6b94cca-9cb8-5512-b1e4-f9234544a3a7",
                    "order_header_number": "2479016",
                    "price": 150,
                    "quantity": 1,
                    "reporting_total": 150,
                    "status": "acknowledged",
                    "total": 150
                }
            ],
            "payment_method": "invoice",
            "payment_term_code": "Net30",
            "po_number": "2479016",
            "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": "acknowledged",
            "total": 150,
            "transmission_emails": null,
            "updated_at": "2026-10-22T14:10:05Z"
        }
    ],
    "total": 2,
    "limit": 15,
    "current": 1,
    "num_pages": 1
}