Skip to main content

Receive Shipment Webhook

POST 

/v1/api/webhooks/sync/shipments/:provider

Receives a shipment push from an external WMS/ERP. The provider path parameter selects which provider's parser handles the payload and is validated against the site's configured integration_mode/integration_provider, so one endpoint serves every push integration — adding a provider needs no new route.

Authentication: this endpoint is deliberately unauthenticated at the session level — an external system cannot hold an Arvist session. Authenticity is established by the provider's request signature (e.g. SKUit signs the raw body with HMAC-SHA512 and sends the hex digest in X-Webhook-Signature), verified against the site's stored webhook_secret before any parsing or database work.

Status codes: redelivery is safe — shipments upsert on (shipment_key, type, site_id), and a shipment whose inspection has already started only has its post-inspection fields (bol_number, pro_number, dock door, additional_data, line item additional_data) updated and is reported as partially_updated. Permanent misconfigurations return 401/403/404, a payload that cannot be parsed returns 400, and an ingest failure returns 500.

Events a provider sends but Arvist does not act on are acknowledged with received: 0.

Request​

Responses​

Payload acknowledged.