Skip to content
SIBISIBI Developers
Esc
navigateopen⌘Jpreview

Update offer buyout amount

Updates the buyout amount on an offer. The offer must be in “pending” or “awaiting_customer” status.

POST/{id}/buyout
Path parameters
idstringrequired
The ID of the offer to update
Request body
application/json
buyoutAmountnumberrequired
Buyout amount in cents (e.g., 50000 = $500.00). Customer can opt to receive this amount instead of a replacement product.
min 0
Responses
200Offer buyout amount updated successfully
successbooleanrequired
Whether the offer buyout amount was updated successfully
buyoutAmountnumberrequired
The buyout amount in cents that was persisted on the offer, read back after the update.
min 0
updatedAtstring<date-time>required
Timestamp when the offer buyout amount was updated
400Bad request - Offer buyout could not be updated
codestringrequired
Error code indicating the type of error
messagestringrequired
Human-readable error message explaining what went wrong
detailsobject[]
Detailed validation errors when applicable
Show properties
Array of object
fieldstringrequired
errorstringrequired
401Unauthorized - Missing or invalid authentication
codestringrequired
Error code indicating the type of error
messagestringrequired
Human-readable error message explaining what went wrong
detailsobject[]
Detailed validation errors when applicable
Show properties
Array of object
fieldstringrequired
errorstringrequired
403Forbidden - Caller can view this offer but is not allowed to update it
codestringrequired
Error code indicating the type of error
messagestringrequired
Human-readable error message explaining what went wrong
detailsobject[]
Detailed validation errors when applicable
Show properties
Array of object
fieldstringrequired
errorstringrequired
404Not found - Offer does not exist or caller is not allowed to view it
codestringrequired
Error code indicating the type of error
messagestringrequired
Human-readable error message explaining what went wrong
detailsobject[]
Detailed validation errors when applicable
Show properties
Array of object
fieldstringrequired
errorstringrequired
500Internal server error
codestringrequired
Error code indicating the type of error
messagestringrequired
Human-readable error message explaining what went wrong
detailsobject[]
Detailed validation errors when applicable
Show properties
Array of object
fieldstringrequired
errorstringrequired
Request
curl -X POST "https://api.sibipro.com/prod/offers/string/buyout" \
  -H "Content-Type: application/json" \
  -d '{
  "buyoutAmount": 50000
}'
Response
{
  "success": true,
  "buyoutAmount": 50000,
  "updatedAt": "2024-01-20T12:00:00Z"
}