Skip to main content
POST
Price choices on an option set

Authorizations

Authorization
string
header
required

A secret key from Print.App admin → Domains → Secret keys, sent as Authorization: Bearer sk_…. Server-side only.

Body

application/json

An option set, and the choices to price on it.

config
object

An option set to check and price (one being built). Or give optionSetId.

optionSetId
string

One of the store's option sets.

Required string length: 1 - 64
quotes
object[]

Each set of choices to price. Default: one quote, of the defaults.

Required array length: 1 - 25 elements

Response

OK.

Prices for each set of choices, as the cart would charge them.

object
string
required
Allowed value: "option_set_quote"
currency
string | null
required
quotes
object[]
required
fields
PrintOptionsField · object[]
required

Its fields as connectors address them: give a field's source as a connector's source.

warnings
object[]
required

Things that will not stop it working but may not be meant.