Comprehensive order updates supporting:
Order Items: Each order item references an item list entry (via itemListEntryId). An order can only have one item per item list entry (enforced by unique constraint).
Properties (JSONB) - Upsert Behavior:
null is a valid value and will NOT delete keysExample: If an order has { unleashed: { guid: "123" } } and you PATCH with { sage200Evo: { salesOrderNo: 456 } }, the result is { unleashed: { guid: "123" }, sage200Evo: { salesOrderNo: 456 } }.
Field Descriptions:
Business identifier for external auth. Find in Polinate app → Business Settings → Integrations.
"{{businessId}}"
Per-business API key for external auth. Find in Polinate app → Business Settings → Integrations.
"{{apiKey}}"
Idempotency key for POST operations
"{{idempotencyKey}}"
"ord_123"
OK - Returns full updated order with all items
The business partnership this order belongs to
Decimal as string
DRAFT, PENDING, DELETED, ACTIVE, ARCHIVED, REJECTED, CANCELLED UNASSIGNED, ACCEPTED, PACKED, IN_TRANSIT, DELIVERED, RETURNED, NOT_APPLICABLE