Place an order in the business’s own system; the buyer pays on the platform’s checkout page
place_orderFor a business whose card shows an order action with method connected. Shopify: returns the shop’s
own checkout link with these items and quantities already in the cart (status: unknown, mode: cart)
— no customer data is needed or passed, the buyer gives their details and pays on Shopify, and nothing
exists on the shop until they do. Square: an order with a payment link (no customer data either).
WhatsApp: a message to the owner (customer phone or email). Returns order_id, status, checkout_url
— HAND THE CHECKOUT URL TO THE USER AS IT IS: that page takes the money, Versum holds no card and charges
nothing. Stock is checked live first on a platform that tracks it; «not in stock» is an unavailable
error and no order or link is given. Send an idempotency_key of your own and keep it for a retry: the
same key returns the same answer and the same link (repeated: true), never a second one. Lines name
offerings by their card id (and variant_id when the card lists several). status: unknown (a cart
link: payment is on the platform’s side) · created (the platform holds it) · pending_owner (WhatsApp) ·
confirmed · declined · failed. Get the user’s explicit yes before calling this.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | a note to the business, in the user’s words (not passed on a Shopify cart link) | |
| lines | Yes | ||
| customer | No | only where the platform needs it (WhatsApp); omit for Shopify and Square | |
| business_id | Yes | ||
| idempotency_key | No | your own key for this order; reuse it on a retry |