Send order via webhook
POST/distribution/webhook/generic
Send an order to Pickpad for distribution. The order is validated, assigned to a station by locationId, and routed to a free Pickpad, a cluster, or the account's orders queue. If no pad or cluster is free (or the account always queues), queueId is set and payload.pickpadIds/payload.pickpads come back empty — the order distributes automatically once a pad frees up. If the order was routed to a cluster, payload.cluster describes it. Requires API key authentication via x-api-key header.
Request
Responses
- 201
- 401
Validation error
Order distributed, queued, or assigned to a cluster. queueId is non-null only while the order is waiting in the queue.
Unauthorized — missing or invalid API key