Create Contract Action
Create a contract from a specific quote record.
This action is available in API version 60.0 and later.
The Create Contract action is available in Developer, Enterprise, and Unlimited Editions of Revenue Management.
URI: /services/data/v68.0/actions/standard/createContract
Formats: JSON, XML
HTTP Methods: POST
Authentication: Authorization: Bearer TOKEN
Where TOKEN is a placeholder for your OAuth access token.
| Input | Type | Description |
|---|---|---|
contractPriceOption | string | Optional. Determines how the contract price is set for quote line items based on the selected value. Valid values are CONTRACT_HEADER_ONLY—Creates a contract with only the header information, without using net prices or discounts, NET_UNIT_PRICE_ONLY—Creates a contract specifically for quote line items with a net unit price, saving all net unit prices of the quote as contract prices, or DISCOUNT_ONLY—Creates contract prices specifically for quote line items with discounts, saving all discounts of the quote as contract prices. The default value is CONTRACT_HEADER_ONLY. |
sourceId | string | Required. ID of the quote or order that you want to create a contract from. |
| Output | Type | Description |
|---|---|---|
contractId | string | ID of the contract created for the specified order or quote. |
POST
This sample request is for the Create Contract action.
This sample response is for the Create Contract action.
See Also