on 2022 Nov 02 10:53 AM
We are using the API request below for this change request:
1. Change the Product of the Root Item (POST on /subscriptions/{id}/processes/productchange)But using the above API we cant include custom reference.
There is another API requestUsing above API we can include custom references in the payload.
So can we use the 2nd API request for the product change?
Any major difference between the above API request?
Please advice
Thanks
Ankit
Request clarification before answering.
HI Ankit,
if you need to provide new custom references along with the product change, you only have the second choice, i.e. use the PUT method on /subscriptions/{id}. This allows you to add a new snapshot for the new product and provide any other attributes as required. The product change endpoint does not support custom references, but it offers a lot of copy and redetermination logic as described here:
https://help.sap.com/docs/CLOUD_TO_CASH_OD/987aec876092428f88162e438acf80d6/adf897ede0834a84a46aa30b...
The product change endpoint is a bit easier to handle because it doesn't require as much data as the generic PUT method, where you have to build up the entire snapshot yourself. That is, you need to provide all data you need into the PUT method yourself.
Kind regards,
Annette
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
3 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.