Initiate Amendment Action
Initiate and execute the amendment of an asset.
Specify the IDs of assets to amend, the amendment start date, and any quantity changes. You can choose whether the action creates an amendment quote or order.
For usage products, creating an order directly by setting amendOutputType to Order is currently not supported. The direct-to-order flow can create Order Products without required related Rate Card Entry records, which can cause order activation to fail.
When you amend usage assets, use a two-step flow.
- Create an amendment quote by calling
initiateAmendmentwithamendOutputTypeset toQuote. - Create an order from that amendment quote.
URI: /services/data/v68.0/actions/standard/initiateAmendment
Formats: JSON, XML
HTTP Methods: POST
Authentication: Authorization: Bearer TOKEN
Where TOKEN is a placeholder for your OAuth access token.
| Input | Type | Description |
|---|---|---|
amendAssetIds | string | Required. The IDs of the assets that you want to amend. |
amendContractId | string | The ID of the contract record to be synced with the amendment. |
amendStartDate | datetime | Required. Effective start date of the amendment. |
amendOpportunityId | string | The ID of the Opportunity record to be synced with the amendment quote. |
amendOutputType | string | Required. Type of amendment record to create such as a quote or an order. For usage products, set this value to Quote. The usage-related records (QuoteLineItemUseResourceGrant, QuoteLineItemUsageResourcePolicy, and QuoteLineRateCardEntry) are copied in the quote action flow, not in the amend order flow. |
quantityChange | double | Required. Quantity to add to or reduce from the asset’s existing quantity. |
skipPricing | boolean | Indicates whether the pricing procedure must be skipped (true) or performed (false). Available in API version 64.0 and later. |
| Output | Type | Description |
|---|---|---|
amendRecordId | string | The ID of the amendment record that’s created. |
requestIdentifier | string | Request ID that’s used to track the async request. |
POST
This sample request is for the Initiate Amendment action.
This sample response is for the Initiate Amendment action.