Update offer credit amount
Updates the credit amount on an offer. The offer must be in “pending” or “awaiting_customer” status.
/{id}/creditAuthorizationBearer token · headerrequiredAPI token from the SIBI developer dashboard (developer.sibipro.com), sent as Authorization: Bearer <token>.
write:offersidstringrequiredThe ID of the offer to update
application/jsoncreditAmountintegerrequiredCredit amount in cents (e.g., 10000 = $100.00). Must be a non-negative integer.
Offer credit amount updated successfully
successbooleanrequiredWhether the credit amount was updated successfully
creditAmountintegerrequiredThe credit amount that was persisted, in cents. Callers should verify this matches their request.
updatedAtstring<date-time>requiredTimestamp when the credit amount was updated
Bad request - Offer credit could not be updated
codestringrequiredError code indicating the type of error
messagestringrequiredHuman-readable error message explaining what went wrong
detailsobject[]Detailed validation errors when applicable
Show propertiesHide properties
objectfieldstringrequirederrorstringrequiredUnauthorized - Missing or invalid authentication
codestringrequiredError code indicating the type of error
messagestringrequiredHuman-readable error message explaining what went wrong
detailsobject[]Detailed validation errors when applicable
Show propertiesHide properties
objectfieldstringrequirederrorstringrequiredForbidden - Caller can view this offer but is not allowed to update it
codestringrequiredError code indicating the type of error
messagestringrequiredHuman-readable error message explaining what went wrong
detailsobject[]Detailed validation errors when applicable
Show propertiesHide properties
objectfieldstringrequirederrorstringrequiredNot found - Offer does not exist or caller is not allowed to view it
codestringrequiredError code indicating the type of error
messagestringrequiredHuman-readable error message explaining what went wrong
detailsobject[]Detailed validation errors when applicable
Show propertiesHide properties
objectfieldstringrequirederrorstringrequiredInternal server error
codestringrequiredError code indicating the type of error
messagestringrequiredHuman-readable error message explaining what went wrong
detailsobject[]Detailed validation errors when applicable
Show propertiesHide properties
objectfieldstringrequirederrorstringrequired