Skip to main content
POST
Buy basket

Authorizations

Authorization
string
header
required

Your API key goes here

Path Parameters

storeId
string<uuid>
required
supplierStoreId
string<uuid>
required

Body

application/json

A reseller buying a basket: either a bundle the supplier composed, or lines of their own.

lines
object[]
required

The lines to buy, when composing a basket.

bundleId
string<uuid> | null

The bundle to buy, when buying one.

idempotencyKey
string | null

A caller-supplied reference that makes a retry safe. Strongly recommended: without one, a repeated request buys the basket again.

Maximum string length: 128

Response

The object was successfully created.

Represents a default generic response for API endpoints.

success
boolean
required

Indicates whether the operation or response was successful.

message
string | null

A descriptive message providing additional context or information about the response.

code
string | null

The error code (if there was an error) to use when referencing the error

data
object
Last modified on August 22, 2026