Extending the distributor object
Decide where the service requires additional information about distributor in order to provide the service to customers. The standard information about the distributor, which is sent to the service, is described in the table below.
Name | Data type | Description | ||
---|---|---|---|---|
distributor | object | General information about the distributor who sold the subscription. distributor information is stored and managed in the ActivePlatform installation | ||
id | integer | Distributor ID | ||
name | string | Distributor name | ||
region | string | Distributor location: region | ||
currency | string | Distributor currency: ISO 4217 currency code | ||
attributes | object | Set of additional attributes required to the subscription provisioning:
|
Distributor attributes are used to provide additional information about the distributor to the service. The diagram bellow shows the flow of data with distributor attributes. You can add the attributes in the Attributes section of Vendor Portal if you need to receive additional information during subscription provisioning.
After creation distributor attribute in Vendor Portal (see Product attributes), an additional field is displayed in the Reseller Panel and can be filled by the distributor. During subscription creation ActivePlatform sends additional distributor information to the service to create a subscription.