Create offer
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Delivery address details
{
"line1": "123 Main St",
"line2": "Apt 101",
"city": "Springfield",
"stateOrProvince": "IL",
"postalCode": "62701"
}Replacement product and add-ons covered by warranty
{
"sku": "GDF511PGRBB",
"addons": [
{
"id": "install-aggregate-id",
"quantity": 1
},
{ "sku": "M007", "quantity": 1 },
{ "sku": "M021", "quantity": 1 }
]
}The ID of the sub-brand used to determine customer-facing branding for the offer
Whether to send the offer email immediately after creation
true
Whether to allow offers for common carrier delivery properties
true
Buyout amount in cents (e.g., 50000 = $500.00). Customer can opt to receive this amount instead of a replacement product.
x >= 050000
Whether to include upsells in the offer
true
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.
false
Response
Offer created successfully
Unique identifier for the offer
"testofferid"
Timestamp when the offer was created
"2024-01-20T12:00:00Z"
Link to allow the customer to authenticate and view the offer
Warnings for the offer
[
"This product is only available via common carrier delivery for the selected address."
]