Add a bundle to a unit

Try this request in your browser

/api/ /call_bundles/add

Headers

X-Auth-App
X-Auth-Token
X-Auth-Secret
X-Auth-Extension
X-Auth-Password
X-Proxy-Auth-Token
X-Proxy-Auth-Secret

Parameters

unit_id Integer
call_bundle_id
price_override Float
cancel_at_period_end Boolean

The request output will be shown here...

URL

https://connectapi.dial9.co.uk/api/v2/call_bundles/add

Access

Must be authenticated as a user or API token. If not authorised, a AccessDenied error will be returned.

Parameters

Parameter Type Default

unit_id

The ID of the unit

Integer null

call_bundle_id Required

The ID or name of the call bundle to add

null

price_override

The amount to charge the unit for this call bundle

Float null

cancel_at_period_end

If true, the call bundle will be cancelled at the end of the billing period

Boolean null

Errors

Error Attributes

UnitNotFound

The given unit was not found

  • id

    The provided ID

CallBundleNotFound

No call bundle was found with given ID or name

NotPermittedToSetPriceOverride

Must be authenticated as an admin or the unit reseller to set the price override

Response Data

This action will return a call bundle assignment structure.

You'll receive all attributes for this structure (basic and extended attributes). You'll receive all expansions for this stucture.