PUT /corporate/subAccounts/plan

This endpoint will update multiple sub-accounts plan. On the Corporate solution new version v2, you can set an unlimited number of credits in your sub-organization. Please pass the value “-1" to set the consumable in unlimited mode.

Servers

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
credits Object No

Credit details to update

credits.wpSubscribers Integer No

Number of Push credits, possible value is 0 and -1 | available in ENT-v2 only

credits.externalFeeds Number No

Number of externalFeeds credits, possible values are 0 or 1 |available in ENTv2 only

credits.email Integer No

Number of email credits | Pass the value -1 for unlimited emails in ENTv2 only

credits.whatsapp Number No

Number of whatsapp credits | Pass the value -1 for unlimited whatsapp in ENTv2 only

credits.sms Number No

Number of SMS credits | Pass the value -1 for unlimited SMS in ENTv2 only

subAccountIds[] Array No

List of sub-account ids

features Object No

Features details to update

features.salesUsers Integer No

Number of sales and service users | only available in ENT-V2

features.landingPage Integer No

Number of landing pages

features.users Integer No

Number of multi-users

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.