Skip to main content
POST
Preview buy promotion

Authorizations

x-api-key
string
header
required

API key for authentication

Path Parameters

quoteId
string
required

The quote ID (cart ID) to preview a promotion against

Body

application/json
promotionCode
string
required

The promotion code to preview

paymentMethod
string

'wire_transfer' or a Stripe payment method ID (pm_... or ba_...)

selectedOptionalIds
string[]

Optional addon IDs currently selected

Response

200 - application/json

Default Response

success
enum<boolean>
required
Available options:
true
data
object
required