This API provides the ability to configure an offer (either a product or promotion) and view updated prices, quantities, and attributes. The API returns the configured product details.
The configured product details are cached so that subsequent requests for the same configuration are retrieved with the data in the current cache layer.
Validations, prices, adjustments, overrides, rules, context, and so on are resolved internally. The Salesforce ID is not used as part of the request or response parameters. If validation fails, the OfferDetails structure is returned with an appropriate error message.
Starting in CME Spring ‘22, Digital Commerce supports Usage Based Pricing. You can define usage-based price charges for each Product. If the usage-based price is not available, you can set it up using Attribute-Based Pricing. You can update usage quantity by either:
Updating the UsageQuantity Field.
Using Attribute Binding, which takes precedence over the field update if both values are passed.
Product Relationships are supported with filters, for example, product A removes Product B.
Pricing is supported. However, for pricing, do not use Pricing for Advance Rules. Always use the Custom Pricing Plan, which triggers Attribute-Based Pricing.