Prime Webhook
1 API call in this section.
Prime Webhook (Status Update)
External & Carrier Integrations / Prime Webhook
POST
/carriers/webhooks/primePOST /carriers/webhooks/prime — Prime sends status updates here. Authenticate using Authorization: Bearer <webhook_secret>.
Send a bearer token in the Authorization header for an authenticated OnDi user session.
Request
curl
1curl --request POST "$ONDI_BASE_URL/carriers/webhooks/prime" \2 --header "Authorization: Bearer {{prime_webhook_secret}}" \3 --header "Content-Type: application/json" \4 --header "Content-Type: application/json" \5 --data '{6 "stepCode": "ONWAY",7 "caseId": "123456",8 "custReceiptNoOri": "DEL-00001"9}'Request body
json
1{2 "stepCode": "ONWAY",3 "caseId": "123456",4 "custReceiptNoOri": "DEL-00001"5}Request body fields
stepCodeExamplestring
Example field from the request body.
caseIdExamplestring
Example field from the request body.
custReceiptNoOriExamplestring
Example field from the request body.
Headers
AuthorizationOptionalheader string
Bearer {{prime_webhook_secret}}
Content-TypeOptionalheader string
application/json
Responses
No response example is available for this endpoint yet.