Add-ons
Create an add-on
Changed onpost/api/v1/addons
Request
- The document declares no server URL.
- AuthHTTP bearer
Request body
Example request
{
"price_id": "pri_7n42DGM5Tflk9n8mt7Fhc7",
"product_id": "prd_7n42DGM5Tflk9n8mt7Fhc7"
}Response
Add-on created
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 - warning
removed the request property
- info
added discriminator to
//response property for the response status - info
removed
subschema #1subschema #2from the//response propertyoneOflist for the response status
- breaking