cancel
Showing results for 
Search instead for 
Did you mean: 

Data migration sequence for Subscription Billing

tvc_em
Explorer
0 Kudos
162

Dear Expert,

very soon we'll start data migration for Subscription billing objects and I would like some clarifications concerning the sequence specifically for products, rate plans, rate plan templates.

When data is created manually the order is the following: create a rate plan template, create a product and during or after product creation  assign/create a rate plan with reference to a rate plan template.

Looking at the Product API, I have the impression that the rate plan cannot be created at the same time as the product as the rate plan ID should be assigned to the product, but if the rate plan is not created yet the ID is not available. 

Could you please confirm if below sequence is correct ?
Is there a more efficient strategy (ex. create product + rate plan at the same time) ?

1. Create rate plan templates
2. Create rate plan with reference to previously created rate plan template ID
3. Create Product and assign previously created rate plan ID 

Thank you very much in advance.

View Entire Topic
CarstenJ
Product and Topic Expert
Product and Topic Expert

Dear Elena, 
from a technical view the sequence in the UI is somewhat the same, because when you create rate plan in the product app it is also created when you close the detail screen of the rate plan. 
When using the APIs, the sequence you're mentioning below is the best one to use:
1. Create rate plan templates
2. Create rate plan with reference to previously created rate plan template ID
3. Create Product and assign previously created rate plan ID 

You could also create first the product, followed by rate plan templates and then rate plans, but that would require that you update the product again with the rate plans - which is more complicated.

Best
Carsten
 

tvc_em
Explorer
0 Kudos
Hi Carsten, thank you ver much for the quick and clear feedback as always. Have a nice day!