Sample - Stripe API
POST/v1/billing/feedback_options/{id}

Update a feedback option

Updates the description of an existing feedback option. Supply id to select the option and include description when changing its text. Use expand to include expanded fields in the response.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.
  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

1 parameter · 2 body fields
idstringrequired
The unique identifier of the feedback option to update. Maximum 5,000 characters.

Form data containing changes to the feedback option.

descriptionstringoptional
Replacement text for the feedback option. Maximum 100 characters.
expandarray<string>optional
Specifies which fields in the response should be expanded.

2 status codes
200Returns the updated feedback option with its description, unique identifier, live-mode flag, object type, status, and status transition details.
descriptionstringrequired
An arbitrary string attached to the object. Often useful for displaying to users.
idstringrequired
Unique identifier for the object.
livemodebooleanrequired
If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
objectstringrequired
String representing the object's type. Objects of the same type share the same value.
Allowed:billing.feedback_option
statusstringrequired
The feedback option's status.
Allowed:activeinactive
status_transitionsobjectrequired
defaultError response.
errorobjectrequired

Error handling

id must identify an existing feedback option and must not exceed 5,000 characters. When supplied, description must not exceed 100 characters, and each value in expand must not exceed 5,000 characters.