StorlioDevelopers
Checkout

Create a checkout link

POST/checkout-links

Send a shopper to Storlio’s hosted checkout. Links expire after one hour.

Bearer token ·checkout:write

Headers

Idempotency-Keystringrequired

Reuse only for an identical retry. Changed requests need a new key.

Request body application/json

itemsobject[]required

Products and quantities for this checkout.

Up to 30 items.

Child fields
productIdstringrequired

Storlio product ID.

quantityintegerrequired

Number of units.

Min: 1.Max: 1000.

optionsobject

Selected variation options, for example { "Size": "M" }.

Integration notes
  • Maximum 30 distinct product/variation lines. Prices and availability are checked again at checkout.
  • Creating a link does not create an order, reserve stock or charge the shopper. Continuing replaces the shopper’s cart.

Responses

Created successfully.

Response fields
urlstring

Public HTTPS URL.

Format: uri.

expiresAtstring

Format: date-time.

Storlio Commerce API v1