Loading

Determining Remaining Credits for B2C Commerce On-Demand Sandboxes

Julkaisupäivä: Dec 11, 2025
Kuvaus

Is there any API that provides credit availability, or at least the total original credits and current credits expended for B2C Commerce On-Demand Sandboxes?

Ratkaisu

There is no API that provides remaining B2C Commerce On-Demand Sandbox credits. We only provide the usage APIs for sandboxes and for overall realms.

The workaround here is to subtract the minutes used (calculated via the usage APIs) from the original number of credits. Note that 1 uptime minute = 1 credit, and 3 downtime minutes = 1 credit.


For additional insight into how to manage your credits, such as via stopping & starting your sandboxes via API, please refer to Start, Stop, and Restart Instances in Control Center.
Knowledge-artikkelin numero

000391447

 
Ladataan
Salesforce Help | Article