POST
curl --request POST \
  --url https://api.sibipro.com/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.