Add-ons
Update an add-on
Changed onpatch/api/v1/addons/{addon_id}
Request
- The document declares no server URL.
- AuthHTTP bearer
Path parameters
addon_idstring MeteroidId required
Example:add_7n42DGM5Tflk9n8mt7Fhc7
Add-on ID
Request body
Example request
{
"price_id": "pri_7n42DGM5Tflk9n8mt7Fhc7"
}Response
Add-on updated
Example response
{
"entitlements": [
{
"feature_id": "feat_7n42DGM5Tflk9n8mt7Fhc7",
"id": "ent_7n42DGM5Tflk9n8mt7Fhc7"
}
],
"id": "add_7n42DGM5Tflk9n8mt7Fhc7",
"price_id": "pri_7n42DGM5Tflk9n8mt7Fhc7",
"product_id": "prd_7n42DGM5Tflk9n8mt7Fhc7"
}Changes
- breaking
removed the required property
///////from the response with the status - warning
removed the optional property
///////from the response with the status
- breaking
- breaking
added to the
//response propertyoneOflist for the response status - info
added discriminator to
//response property for the response status - info
removed
subschema #1subschema #2from the//response propertyoneOflist for the response status
- breaking