There are 2 ways to receive inbound documents from your trading partner.
- Set up "webhooks" - We can POST new documents to an HTTP endpoint you set up on your server.
- Poll the Inbox -> make regular requests to GET any new inbound documents
1. Webhooks:
- Configure a webhook endpoint in your system.
- Orderful delivers new inbound transactions via HTTP POST.
- If your endpoint responds with
200 OK, the transaction’sdeliveryStatusis marked as Accepted.
2. Polling the Inbox:
- Make sure you have set up your organization for inbound polling
- Call the
/inboxendpoint to retrieve pending inbound transactions.- For this API, set
HEADER: orderful-api-versiontov4
- For this API, set
- After processing, you must explicitly POST back to one of the delivery links included with each transaction:
delivery.approve.href— you received and processed it successfullydelivery.fail.href— you could not process it- Use these
hrefvalues as given. Do not assemble the URLs yourself: the numeric transaction ID they currently contain is deprecated and will be removed in an upcoming release.
This ensures Orderful knows the transaction was successfully received and processed on your side.
Acknowledging inbound transactions
Accepting a delivery tells Orderful you received the transaction. It does not tell your trading partner whether you can act on it — that is a separate, business-level acknowledgment.
If your inbound Relationship has "Send acknowledgment" enabled and trades JSON, transactions stay at NOT_ACKNOWLEDGED until you acknowledge them explicitly:
- Take the
idfrom the delivered payload, or its ready-builttransaction.acknowledgment.href— both are present in the webhook body and in each item returned by the Inbox. - POST
{ "status": "ACCEPTED" }or{ "status": "REJECTED" }to/transactions/{id}/acknowledgment, withHEADER: orderful-api-versionset tov4. - Guide: Acknowledge a Transaction · Reference: Create an Acknowledgment
Do not use integrationPayloadId as the Transaction ID — that is a different identifier and will return a 404.

