API Reference

Create attached family item

Creates an attachment of an addon or charge to a plan

🚧

Keep in mind that only chargeId OR addonId must be set.

Error codes:

ProjectNotFoundThere is no project specified in the URL
PlanNotFoundThere is no plan with the id specified in the request
FamilyItemNotFoundAddon or charge with the id specified in the request cannot be found
FamilyItemAlreadyAttachedThis addon or charge is already attached
InvalidRequestParametersAddonId or chargeId is required
Path Params
string
required
Defaults to your-site-name-1

Name of your project

Body Params
string
required
string
string
string

Type of attached item

int32

Number of attached items

string

Event to apply the charge

boolean
Defaults to true

Deprecation, it is recommended to use "true"

Responses

Language
Credentials
:
Choose an example:
application/json