Swimlanes.io is a free webapp for making sequence diagrams. You simply edit the text on the left and the diagram is updated in real time. You can download your sequence diagrams as images or distribute with a link.
Title: KSA - Ingrid order: User, Merchant, Kustom Merchant -> Kustom: Create order note: Include `merchant_reference1 or 2` Kustom -> Merchant: Order with HTML snippet Merchant -> User: Render snippet User -> Kustom: Fill in address Kustom -> Ingrid: Create session Ingrid -> Kustom: Shipping options if: Address update callback registered Kustom -> Merchant: Address update callback note: Includes the default `selected_shipping_option` Merchant -> Kustom: Updated order with `shipping_fee` note: Add the if: Order information pertaining to Ingrid has changed Kustom -> Ingrid: Update session Ingrid -> Kustom: Shipping options end end Kustom -> User: Updated order with shipping fee User -> Kustom: Select shipping option if: Shipping option update callback registered Kustom -> Merchant: Shipping option update callback note: Includes `selected_shipping_option` Merchant -> Kustom: Updated order with `shipping_fee` end Kustom -> User: Updated order with shipping fee User -> Kustom: Select payment method and pay if: Order validation callback registered Kustom -> Merchant: Validate order Merchant -> Kustom: Approve end Kustom -> User: Redirect to confirmation page User -> Merchant: Read order confirmation page Merchant -> Kustom: Read order Kustom -> Merchant: Order details with HTML snippet and `selected_shipping_option` Merchant -> User: Render confirmation snippet User --> User: Order complete {far-check} Kustom --> Merchant: Order completion push notification Merchant -> Kustom: Read order from order manager Kustom -> Merchant: Order information including selected_shipping_option note: Includes `tms_reference` and `tos_id` if: More information about the shipment is needed Merchant -> Ingrid: Fetch summary with `tos_id` note: [List summaries API](https://api-stage.ingrid.com/v1/delivery_checkout/_/swagger/#/default/DeliveryCheckout_ListSessionsSummaries) `/delivery_checkout/sessions_summaries.list?tos_id=<tos_id>` Ingrid -> Merchant: All relevant information regarding the shipment. end --: Booking the shipment Merchant -> Ingrid: Call SOM API and book using the provided `tos_id` (eg: Create and Book) note: [Ingrid SOM API](https://developer.ingrid.com/som/api/?_gl=1*95lbyo*_up*MQ..*_ga*MTM4NzAxMjQ2NC4xNzc3MzI3MjAx*_ga_HVW5PR44NC*czE3NzkyODUyOTQkbzMkZzAkdDE3NzkyODUyOTQkajYwJGwwJGgw#som-api)