Asset Amendment (POST)
Initiate and execute the amendment of a quote or an order.
For usage products, creating an order directly by setting outputRecordType 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
initiateAmendmentwithoutputRecordTypeset toQuote. - Create an order from that amendment quote.
To use this API, you need the InitiateAmend API permission set.
62.0
POST
JSON Example
Properties
| Name | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
assetIds | String[] | IDs of the assets that you want to add to the amendment record. | Required | 62.0 |
amendmentStartDate | String | Start date of the amendment. | Required | 62.0 |
contractId | String | ID of the Contract record that you want to sync with the amendment quote. | Optional | 62.0 |
opportunityId | String | ID of the Opportunity record that you want to sync with the amendment quote. | Optional | 62.0 |
outputRecordId | String | ID of the quote or order record that you want to add the assets to. | Optional | 62.0 |
outputRecordType | String | Type of amendment record that you want to create. 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. | Required | 62.0 |
quantityChange | Double | Quantity to add to or reduce from the asset’s existing quantity. | Required | 62.0 |