Glossary
| Term | Meaning |
|---|---|
| Instance | A tenant/store/business unit; every record is scoped by instanceId |
| Instance context | Per-request object holding instance.properties (config), loaded & cached by InstanceContext hook |
| allowedPatchFields | Per-order/-item map of permitted next statuses and required inputs (workflow gating) |
| allowedOrderStatuses | Instance property whitelisting statuses for V2 PATCH |
| bypassWorkflowValidation | Instance property enabling step-jump and Step Function suppression (V2) |
| CANCELLABLE_STATUSES | {Created, Created_Fulfilment} — statuses cancellable via REST |
| Cancel window | Time-based User-cancel limit (ORDER_CANCEL_WINDOW_HOURS, default 24h) |
| CancelApproval | Workflow human task (~20s) that a cancel PATCH resumes |
| P0 validation | The strict order-capture math/price/payment/fulfilment validators |
| Task token / callback | Workflow wait-for-callback handle resumed by task callbacks / EventBridge |
| SF1 / SF2 | Submit-order/return workflow and return-collection workflow |
| detail-type | EventBridge event type string (routing key) |
| In-memory mode | OMS_USE_INMEMORY=true — Map-backed repos, no Mongo/Redis/EventBridge |
| Order type | Regular / Return / Replace / Exchange / Correction / Subscription / Loyalty / CSROrder |
Revision History
2026-08-05 | JP – Created the page and added the content.