Skip to main content

Prime Webhook

1 API call in this section.

Prime Webhook (Status Update)​

External & Carrier Integrations / Prime Webhook
POST/carriers/webhooks/prime

POST /carriers/webhooks/prime — Prime sends status updates here. Authenticate using Authorization: Bearer <webhook_secret>.

Draft and submission safety

callbacks are recorded and can reconcile a previously uncertain shipment submission, but they cannot execute an unexecuted commercial Draft or reopen a Cancelled/Returned order. An operational outbound Draft under an active parent keeps its warehouse/carrier lifecycle. A callback with a conflicting carrier shipment ID is rejected without changing order or carrier state.

Headers

ParameterTypeDescription
Authorizationstring

Example: Bearer {{prime_webhook_secret}}

Content-Typestring

Example: application/json

Body parameters

ParameterTypeDescription
stepCodestring—
caseIdstring—
custReceiptNoOristring—
Staging
Request
curl
1curl --globoff --request POST "https://staging-api.ondi.io/functions/v1/carriers/webhooks/prime" \2  --header "Authorization: Bearer ${PRIME_WEBHOOK_SECRET}" \3  --header "Content-Type: application/json" \4  --data-raw '{5  "stepCode": "ONWAY",6  "caseId": "123456",7  "custReceiptNoOri": "DEL-00001"8}'

Response examples

No saved response example. Use Try it to inspect a staging response.