Order Confirmations API (/order_header_confirmations)

Use this API to query, view, or update order confirmations.

The URL to access order confirmations is: https://{your_instance}/api/order_header_confirmations/

Actions

The Order Confirmations API allows you to:

Verb Path Action Description
GET /api/order_header_confirmations index Query order confirmations.
GET /api/order_header_confirmations/:id show Show order confirmations.
PATCH /api/order_header_confirmations/:id update Update order confirmations. When the confirmation is line level, moves the confirmation lines to buyer_draft.
PUT /api/order_header_confirmations/:id update Update line-level order confirmations. Moves the confirmation lines to buyer_draft.
POST /api/order_header_confirmations/:id/accept_header accept_header Buyers can accept order header confirmations from suppliers when the order confirmation status is pending_buyer_review. confirmation_level must be header. 
POST /api/order_header_confirmations/:id/reject_header reject_header Buyers can reject order header confirmations from suppliers when the order confirmation status is pending_buyer_review. confirmation_level must be header. Requires the reason-insight-events element in the request body.
POST /api/order_header_confirmations/:id/submit submit Submit a line-level order confirmation that is in a draft state.

Elements

The Order Confirmations API contains the following elements:

Element Description Req'd Unique Allowable Value In Out Data Type
created-at Date record was created in Coupa. yes datetime
created-by ID of the user who created the order. yes User
exported Indicates if the transaction has been exported. yes boolean
external-reference-number External Reference Number. yes string(255)
id Coupa's internal ID. yes yes integer
integration-message Integration message. yes text
last-exported-at Date of last export. yes datetime
order-header Purchase order. yes OrderHeaderConfirmation
order-line-confirmations Order line confirmations. yes yes OrderLineConfirmation
reason-insight-events Reason insight events. Only when submitting a reject_header request. yes ReasonInsightEvent
status Order confirmation status. yes string(255)
updated-at Date of last update. yes datetime
updated-by ID of the user who last updated the order. yes User

Related Items


Build on the Coupa Platform

Our API-based open integration platform lets technology partners and independent software vendors (ISVs) integrate their products with Coupa

The Coupa Core API

Our RESTful API provides robust access to read, edit, or integrate your data with the Coupa platform.

Get Started with the API

General information about using the Coupa API and when you should consider using CSV.

OAuth 2.0 and OIDC

Coupa is deprecating legacy API Keys and requiring the use of OAuth 2.0 / OIDC. Starting with R34, no new API Keys will be issued, and API Keys will no longer be supported with R35.