Create numerous subscriptions or orders for same account
This task topic explains how to manage multiple subscriptions or orders for the same account using batch processing and REST API operations.
Consider that you run your business in the distributor model and your main order entry is from Electronic Data Interchange (EDI). These electronic orders are received from a distributor as individual orders. A distributor can have multiple orders. To process these orders, you must 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 create numerous subscriptions or orders, perform the following steps:
- Update an existing invoice owner account by setting the
partnerAccountfield totrue. - Ensure that the
partnerAccountfield is set to false 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.
- 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
lastMetricsUpdatefield for the accounts.