%%{init: { "theme": "base", "themeVariables": { "fontSize": "18px", "background": "transparent", "actorBkg": "#038851", "actorTextColor": "#ffffff", "actorBorder": "#026139", "actorLineColor": "#94a3b8", "signalColor": "#64748b", "signalTextColor": "#059669", "noteBkgColor": "#e6f4ee", "noteTextColor": "#02502f", "noteBorderColor": "#038851", "activationBkgColor": "#c6ebdc", "activationBorderColor": "#026139", "sequenceNumberColor": "#ffffff" }, "sequence": { "useMaxWidth": true, "actorMargin": 70, "width": 150, "height": 60, "boxMargin": 12, "noteMargin": 14, "messageMargin": 50, "diagramMarginX": 20, "diagramMarginY": 20, "actorFontSize": 18, "actorFontWeight": 700, "noteFontSize": 15, "noteFontFamily": "ui-monospace, SFMono-Regular, Menlo, Consolas, monospace", "messageFontSize": 16, "messageFontWeight": 700, "noteAlign": "left", "mirrorActors": false } }}%%
sequenceDiagram
participant Retail as Retail POS
participant DR as Deliverect Retail
participant CB as Catalog Builder
participant CH as Retail Channels
participant QA as Quest App
Retail->>DR: Catalog items (Item Upload )<br> POST /catalog/accounts/{accountId}/itemsUploadUrl
Retail->>DR: Location inventory (Inventory Update)<br> POST /catalog/accounts/{accountId}/locations/{locationId}/inventoryUpdateUrl
DR->>CB: Build catalog
CB->>CH: Publish catalog
CH->>DR: Create order<br> POST /{channelName}/order/{channelLinkId}
DR->>QA: Order sent for picking
QA->>CH: Start picking
QA->>CH: Picking finished
alt Order change?
QA->>CH: Update amendments / subs
end
QA->>DR: Finalized order
DR->>Retail: Order webhook (Order Notification)
Retail->>DR: Order status update<br> POST /orderStatus/{orderId}