Where TOKEN is a placeholder for your OAuth access token.
Inputs
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.
Outputs
Output
Type
Description
contractId
string
ID of the contract created for the specified order or quote.
Example
POST
This sample request is for the Create Contract action.