post https://api.rainex.io/projects//attached-family-items
Creates an attachment of an addon or charge to a plan
Keep in mind that only chargeId OR addonId must be set.
Error codes:
ProjectNotFound | There is no project specified in the URL |
PlanNotFound | There is no plan with the id specified in the request |
FamilyItemNotFound | Addon or charge with the id specified in the request cannot be found |
FamilyItemAlreadyAttached | This addon or charge is already attached |
InvalidRequestParameters | AddonId or chargeId is required |