Order Confirmations API (/order_header_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 |
|
index |
Query order confirmations. |
GET |
|
show |
Show order confirmations. |
PATCH |
|
update |
Update order confirmations. When the confirmation is line level, moves the confirmation lines to buyer_draft. |
PUT |
|
update |
Update line-level order confirmations. Moves the confirmation lines to buyer_draft. |
PUT |
|
update |
Moves all lines in the |
POST |
|
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 |
|
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 |
|
submit |
Submit a line-level order confirmation that is in a draft state. |

The /integration_approval_rejected
endpoint requires the Partial Order Confirmations feature to be enabled and requires an integration_version
query parameter. For example: api/order_header_confirmations/:id/integration_approval_rejected?integration_version=1
. For more information, see Review Lines on a Purchase Order for Partial Confirmations.
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 |
|||||
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 |