Create a public checkout order

Public storefront endpoint. Create an order from direct items, from the guest cart referenced by X-Scalev-Guest-Token, or from direct items while clearing the referenced guest cart after successful order creation. Direct checkout items are store-scoped and not blocked by storefront listing visibility.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Store unique_id.

Body Params
items
array of objects
length between 1 and 50

Optional direct item source. If supplied, direct items create the order. If X-Scalev-Guest-Token references a guest cart, that cart is cleared after successful order creation. If omitted, the guest cart referenced by X-Scalev-Guest-Token creates the order.

items
string
required
length ≤ 200
string
required
length ≤ 254
string | null
string | null
string | null
string | null
string | null
string | null
string | null
deprecated
string | null
deprecated
string | null
deprecated
string

Storefront payment method code selected by the buyer. Required for normal checkout. May be omitted when the store uses strict two-step Payment Link checkout; Nexus resolves it to payment_link. Virtual Accounts use flat method codes such as va_bca.

integer | null
string | null
string | null
string | null
string | null
Headers
string
required

Publishable storefront public API key for the target store. Page public API keys are not accepted on Storefront public routes.

uuid

Browser-safe guest cart token returned by the first guest-cart response when no token is sent. Send it on later guest-cart and public checkout calls to keep the same cart after reloads.

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json