Skip to main content
POST
/
{id}
/
buyout
Update offer buyout amount
curl --request POST \
  --url https://api.sibipro.com/offers/{id}/buyout \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "buyoutAmount": 50000
}
'
{
  "success": true,
  "buyoutAmount": 50000,
  "updatedAt": "2024-01-20T12:00:00Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.sibipro.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

The ID of the offer to update

Body

application/json
buyoutAmount
number
required

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

Response

Offer buyout amount updated successfully

success
boolean
required

Whether the offer buyout amount was updated successfully

Example:

true

buyoutAmount
number
required

The buyout amount in cents that was applied to the offer. Echoes the request value on success.

Required range: x >= 0
Example:

50000

updatedAt
string<date-time>
required

Timestamp when the offer buyout amount was updated

Example:

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