Dispatch order to external POS

View as MarkdownOpen in Claude
Dispatches an order event to an external POS system through the connector layer. Called by kds-management-service (internal service-to-service). The order payload is validated for required fields, then dispatched as-is (original bytes preserved for HMAC signature integrity). The connector is resolved based on the store's registered webhook/provider. If no active webhook exists, the order is persisted but not dispatched.

Authentication

X-Api-Keystring
API Key authentication via header

Headers

X-Tenant-IDstringOptional
Tenant identifier

Request

This endpoint expects an object.
outletIdstringRequired
eventstringRequired
orderobjectRequired

Response

OK
codeinteger
reasonstring
messagestring
orderIdstring
isSuccessboolean
dispatchedboolean

Errors

400
Bad Request Error
401
Unauthorized Error
500
Internal Server Error