API Reference
Create offer (deprecated)
Getting Started
Orders
- API Reference
Offers
- API Reference
Graphql
- Making a graphql request
- Test GraphQL Environment
- Fulfillment address
- Ordering API
- Property Management API
- Invoices API
API Reference
Create offer (deprecated)
deprecated
This route is deprecated. Use /offers
instead.
POST
/
offers
curl --request POST \
--url https://api.sibipro.com/offers/offers \
--header 'Content-Type: application/json' \
--data '{
"customer": {
"firstName": "John",
"lastName": "Doe",
"email": "john@example.com",
"phone": "+1 (123) 456-7890"
},
"address": {
"line1": "123 Main St",
"line2": "Apt 101",
"city": "Springfield",
"stateOrProvince": "IL",
"postalCode": "62701"
},
"product": {
"sku": "GDF511PGRBB",
"addons": [
{
"sku": "M007",
"quantity": 1
},
{
"sku": "M021",
"quantity": 1
},
{
"sku": "M402",
"quantity": 1
},
{
"sku": "M421",
"quantity": 1
},
{
"sku": "M435",
"quantity": 1
}
]
},
"sendOfferImmediately": true,
"externalJobID": "<string>",
"buyoutAmount": 500,
"includeUpsells": true
}'
{
"id": "testofferid",
"address": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"stateOrProvince": "<string>",
"postalCode": "<string>",
"country": "<string>"
},
"createdAt": "2024-01-20T12:00:00Z",
"customerOfferLink": "<string>"
}
Body
application/json
Response
201
application/json
Offer created successfully
The response is of type object
.
curl --request POST \
--url https://api.sibipro.com/offers/offers \
--header 'Content-Type: application/json' \
--data '{
"customer": {
"firstName": "John",
"lastName": "Doe",
"email": "john@example.com",
"phone": "+1 (123) 456-7890"
},
"address": {
"line1": "123 Main St",
"line2": "Apt 101",
"city": "Springfield",
"stateOrProvince": "IL",
"postalCode": "62701"
},
"product": {
"sku": "GDF511PGRBB",
"addons": [
{
"sku": "M007",
"quantity": 1
},
{
"sku": "M021",
"quantity": 1
},
{
"sku": "M402",
"quantity": 1
},
{
"sku": "M421",
"quantity": 1
},
{
"sku": "M435",
"quantity": 1
}
]
},
"sendOfferImmediately": true,
"externalJobID": "<string>",
"buyoutAmount": 500,
"includeUpsells": true
}'
{
"id": "testofferid",
"address": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"stateOrProvince": "<string>",
"postalCode": "<string>",
"country": "<string>"
},
"createdAt": "2024-01-20T12:00:00Z",
"customerOfferLink": "<string>"
}