Integration Flows

This integration includes six process flows.

This integration includes the following process flows:

  • Create/View Subscription
  • Modify Subscription
  • Renew Subscription
  • Terminate Subscription
  • Suspend Subscription
  • Resume Subscription

To learn more about the product abbreviations used in these flows, see Understand the Subscription Management Integration.

Create / View Subscription

The integration creates subscriptions of complex configurable services with recurring prices and flexible durations as defined in CPQ.

  1. CDM: Get AddressId using AddressNumbers (shipping and billing addresses) for Account
  2. CDM: If Account addresses are not found, get AddressId using AddressNumbers (shipping and billing addresses) for Contact
  3. CDM: If Contact addresses are not found, create the addresses
  4. AR: Check if a site exists for the addresses
  5. AR: If not, then create a site
  6. Subscription: Create draft subscription
  7. Subscription: Add contact for account-based subscription
  8. Subscription: Activate subscription

Modify Subscription

The integration modifies configurations, changes quantities, upgrades or downgrades the service as defined in the CPQ configuration.

  1. CDM: Get AddressId using AddressNumbers (shipping and billing addresses) for Account
  2. CDM: If Account addresses are not found, get AddressId using AddressNumbers (shipping and billing addresses) for Contact
  3. CDM: If Contact addresses are not found, create the addresses
  4. AR: Check if a site exists for the addresses
  5. AR: If not, then create a site
  6. Subscription: Get subscription lines details for each line in a loop
  7. Subscription: Add/Update/Delete subscription lines for each line in a loop
  8. Subscription: Activate subscription

Suspend Subscription

The integration suspends, but does not terminate, an active subscription.

  1. CDM: Get AddressId using AddressNumbers (shipping and billing addresses) for Account
  2. CDM: If Account addresses are not found, get AddressId using AddressNumbers (shipping and billing addresses) for Contact
  3. CDM: If Contact addresses are not found, create the addresses
  4. AR: Check if a site exists for the addresses
  5. AR: If not, then create a site
  6. Subscription: Get subscription lines details for each line in a loop
  7. Subscription: Update subscription lines for each line in a loop

Resume Subscripiton

The integration resumes a suspended subscription.

  1. CDM: Get AddressId using AddressNumbers (shipping and billing addresses) for Account
  2. CDM: If Account addresses are not found, get AddressId using AddressNumbers (shipping and billing addresses) for Contact
  3. CDM: If Contact addresses are not found, create the addresses
  4. AR: Check if a site exists for the addresses
  5. AR: If not, then create a site
  6. Subscription: Get subscription lines details for each line in a loop
  7. Subscription: Update subscription lines (Resume SubscriptionProducts) for each line in a loop
  8. Subscription: Get updated subscription lines details for each line in a loop
  9. Subscription: Update subscription lines (with asset key) for each line in a loop
  10. Subscription: Activate subscription

Terminate Subscription

The integration deletes a subscription.

  1. CDM: Get AddressId using AddressNumber for Account
  2. CDM: If Account addresses are not found, get AddressId using AddressNumber for Contact
  3. CDM: If Contact addresses are not found, create address
  4. AR: Check if a site exists for the address
  5. AR: If not, then create site
  6. Subscription: Get subscription lines details for each line in a loop
  7. Subscription: Update subscription lines (Close) for each line in a loop

Renew Subscription

The integration renews subscriptions at the end of period of their original subscription date.

Note that a shopper cannot renew a subscription unless a renewal draft subscription has been created in Oracle Subscription Management via the ESS job. The Subscription Management GET subscription product endpoint returns renew as a valid action if a draft subscription is present for the current subscription.

  1. CDM: Get AddressId using AddressNumber for Account
  2. CDM: If Account addresses are not found, get AddressId using AddressNumber for Contact
  3. CDM: If Contact addresses are not found, create address
  4. AR: Check if a site exists for the address
  5. AR: If not, then create site
  6. Subscription: Get draft renew subscription
  7. Subscription: Get original subscription lines
  8. Subscription: Create new subscription
  9. Subscription: Add contact for account-based subscription
  10. Subscription: Activate subscription
  11. Subscription: Update original subscription lines to do-not-renew
  12. Subscription: Delete draft subscription lines for each line in a loop