Skip to main content
POST
Create offer

Authorizations

Authorization
string
header
required

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

Body

application/json
customer
object
required
address
object
required

Delivery address details

Example:
product
object
required

Replacement product and add-ons covered by warranty

Example:
subBrandId
string
required

The ID of the sub-brand used to determine customer-facing branding for the offer

sendOfferImmediately
boolean
default:true

Whether to send the offer email immediately after creation

Example:

true

allowCommonCarrier
boolean
default:true

Whether to allow offers for common carrier delivery properties

Example:

true

externalJobID
string
buyoutAmount
number

Buyout amount in cents (e.g., 50000 = $500.00). Customer can opt to receive this amount instead of a replacement product.

Required range: x >= 0
Example:

50000

includeUpsells
boolean
default:true

Whether to include upsells in the offer

Example:

true

allowExistingOffer
boolean
default:false

Creating an offer for an externalJobID that already has an active (pending or awaiting-customer) offer is rejected with DUPLICATE_ACTIVE_OFFER unless this is true, confirming the duplicate is intentional.

Example:

false

Response

Offer created successfully

id
string
required

Unique identifier for the offer

Example:

"testofferid"

address
object
required
createdAt
string<date-time>
required

Timestamp when the offer was created

Example:

"2024-01-20T12:00:00Z"

Link to allow the customer to authenticate and view the offer

warnings
string[]

Warnings for the offer

Example: