The Salesforce Developers website will undergo maintenance on May 29, 2024 from 3:00 a.m. UTC to 10:00 a.m. UTC. The maintenance process may affect the availability of our documentation. Please plan accordingly.

Create Follow-on Order API

In CPQ, you can create and submit a follow-on order for Order Management to fulfill. The follow-on order captures changes with respect to the order it is following. The changes can be:

  • Add a new order item, product, or promotion.
  • Remove an existing product or promotion.
  • Modify an order item that was part of the previous order, such as changes to an attribute.
  • Change an existing product line item, such as configuration, price, adjustments, and promotions.
  • Modify the order header data.
  • Disconnect the order item that was added or modified in the original order.

A follow-on order is queued until the original order is fulfilled (activated), then automatically submitted. The actual submission of the follow-on order happens through the Apex job that is scheduled from the Queued Orders tab. The createFollowOnOrder API is only invoked for orders, not quotes or opportunities.

REST calls for this API are not supported. There are no REST API endpoints for this API.

This method is available through the standard remote endpoint.

This API is exposed from the CpqAppHandler class. For example: