Add a Dynamic Pricing enabled product rate plan using the REST API
Learn how to subscribe to rate plans with dynamic pricing enabled charges using the REST API.
You can subscribe to rate plans with dynamic pricing enabled charges via REST API.
Use the "Create an order" operation to create an order under an existing account:
- When subscribing to a rate plan with dynamic pricing charges, you can enter attribute values via the
pricingAttributestag at charge level to lookup list price from product catalog in the following order actions. - The attribute values will be used to lookup the charge’s list price and set it as the charge’s sales price if it is not specified.
- For the attributes mapped to a Zuora standard object, Zuora retrieves the attribute values from the existing Zuora objects automatically. For more information on understanding pricing attributes mapped to Zuora object fields, refer to this section.
- We recommend you not to include such attributes in the
pricingAttributestag in the Order payload. If you do include such attributes, in order to ensure data integrity, Zuora will validate it against the latest value in the Zuora objects and return an error if there is any discrepancy. - If the effective date is not provided by the user via
pricingAttributestag, its value is set to the order date automatically.