Create order
Creates an order and returns a Paystack payment link. The order is saved
with source storefront and appears in the suite as Website.
Send the customer’s choices only. Leyyow validates stock, then calculates unit prices, tax, delivery fee, and total server-side.
Fulfilment field combinations
The delivery fields must be sent as a matching set:
| Customer choice | fulfilment_method | delivery_method | manual_delivery_option | rate | courier |
|---|---|---|---|---|---|
| Pickup | pickup | null | null | "" | {} |
| Manual or Express | delivery | manual | option uid | "" | {} |
| Managed (ShipBubble) | delivery | shipbubble | null | quote request_token | chosen Courier |
After payment, Paystack returns the customer to the Checkout Return URL saved in the suite.
Authorizations
Store API key created in the Leyyow suite under Settings → Public API.
Sent as Authorization: Bearer <key>.
Body
"Ada Okafor"
"+2348012345678"
1pickup, delivery paystack Required when fulfilment_method is delivery.
manual for Manual or Express Delivery, shipbubble for Managed
Delivery, null for pickup.
manual, shipbubble, null The full Courier object from the shipping quote. Send {} for
pickup and manual delivery.
The request_token from the shipping quote. Send "" for pickup and
manual delivery.
uid of the chosen delivery option. Required when delivery_method
is manual, otherwise null.