Example: Order Placed Payload
Example: Order Placed Payload
Request
Customer’s phone number, as entered (no fixed format — matches the input mask configured in Store Settings).
Coi’s own order number/identifier. Use this as your idempotency key — the same order is never re-sent with a different number.
Every line in the order — both real purchased products and pseudo-lines (delivery, coupon, promotion, VAT, payment fee). Always check ProductID before treating a line as a purchased product.
The customer’s entire submitted checkout form, as name/value pairs — one entry per field the merchant’s form actually collects. Field names are whatever the merchant configured (typically Hebrew labels), not a fixed set, so read this array rather than assuming specific keys.
Shipping/billing address as free text, if the checkout form collected one.
Free-text order note from the customer, if the checkout form has a notes field.
