You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Get the Calculated Credit Amount for a given close date and closed credit method using REST API

Summary: As per the subscription management documentation, when we close a subscription product, it will show the amount to be credited in a field 'Calculated Credit Amount' (Screenshot below).

In our case, we do not use Subscription UI to close or terminate subscriptions/subscription products. We use REST APIs from Salesforce to close subscriptions. We have a requirement where Sales teams need to know how much credit is going to be issued when they close a subscription line. Can we use Rest API to get the calculated credit amount in SFDC without actually closing the line? For e.g., can we use the Get Subscription Product Rest API to get the calculated credit amount by passing Closed Date and Close Credit Method values? I find those fields are already part of

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!