post https://api.rainex.io/projects//subscriptions
Subscribes the customer you specify to your services with the pointed options
Error codes:
CustomerNotFound | There is no customer with ID specified in the request |
ProductFamilyNotFound | There is no product family with ID specified in the request |
PlanItemPriceNotFound | There is no plan with any of ids specified in “items” array |
ItemPricesNotFound | some of ids in “items” array belong to product family item prices that cannot be found, or “discounts” array contains product family item prices that are not listed in “items” array |
ItemPricesHasDifferentPricingModel | pricing model of some of the product family item prices is different from the pricing model specified in the request |
ItemPricesHasOtherCurrency | currency of some of the product family item prices is different from the currency of the plan price specified in the request |