Skip to main content
POST
Calculate a configured subscription price

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your API token.

Body

application/json
productId
string<uuid>
required

The id of the pick & mix subscription product.

frequency
enum<integer>
required

Billing frequency in months.

Available options:
1,
3,
6,
12
items
object[]
required

The selected items and their quantities.

Minimum array length: 1

Response

The calculated price for the configuration.

priceRaw
integer

Subtotal in the currency's minor units (e.g. pence).

priceFormatted
string

Human-readable formatted subtotal including currency symbol.

currency
object