Preview. This site is still being built. Features, prices and terms may change, and nothing here is a binding offer. Read the preview notice

Preview. Still being built; nothing here is a binding offer. Details

Checkout

1 route. Paths are relative to https://api.intersink.com/v1.

All groups

Process checkout and create order

POST/checkout

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
Idempotency-Keystring, headerOptional client-generated key (8-128 chars, [A-Za-z0-9_-]). A retry with the same key and body replays the first response (Idempotent-Replayed: true); 409 while the first is in flight; 422 if the body differs.

Request body application/json

FieldTypeDescription
itemsrequiredobject[]
items[].product_idrequiredstringproduct.id (uuid)
items[].quantityrequirednumberMinimum 1, maximum 100.
firstnamestringAt most 100 characters.
lastnamestringAt most 100 characters.
emailstringAt most 255 characters.
mobilestringAt most 30 characters.
payment_methodstringAt most 50 characters.

Response

201. The payload in data is of type object.