cURL
UpdatePricingScheduleAssociateRequest
curl --request POST \ --url https://api.togai.com/accounts/{account_id}/price_plans \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "mode": "ASSOCIATE", "pricePlanId": "pp.1zYnCiM9Bpg.lv25y", "effectiveFrom": "2022-07-04", "effectiveUntil": "2022-10-04"}'
{ "accountId": "G234DZZKBKACATFFGVGEMERFI", "accountName": "ACME Enterprise - Account2", "pricingSchedules": [ { "id": "sch.4325kbjedsc.34dww", "pricePlanId": "pp.1zYnCiM9Bpg.lv25y", "pricePlanName": "ENTERPRISE_PLAN", "startDate": "2022-12-02T00:00:00Z", "endDate": "9999-01-01T00:00:00Z" } ] }
This API let’s you to detach or attach a price plan with an existing account
50
ASSOCIATE
DISASSOCIATE
Show child attributes