Create numerous subscriptions or orders for same account
This article explains how to manage reseller accounts by processing electronic orders and setting subscription owner fields.
You run your business in distributor model, and your main order entry is from Electronic Data Interchange (EDI). These electronic orders come from a distributor as individual orders. A distributor can have multiple orders. To process these orders, you run a batch process every 20 minutes.
The subscriptions under the same invoice owner have different subscription owners, so no competition exists on the same subscription owner. Therefore, you can set the partnerAccount
field to false
for subscription owner accounts.
To meet the business requirements, perform the following steps:
-
Update an existing invoice owner account
by setting the
partnerAccount
field totrue
. - Keep the
partnerAccount
field set tofalse
for subscription owner accounts. - Create subscriptions through the REST API in multiple requests.
- If you have the Orders or Orders Harmonization feature enabled, use the Create an order or Create an order asynchronously operation.
- If you have neither the Orders or Orders Harmonization feature enabled, use the Create a subscription operation. No billing process is triggered when any subscription is created.
- Use the Retrieve an account
or Retrieve an account summary
operation to check the value of the
lastMetricsUpdate
field for the accounts.