Where TOKEN is a placeholder for your OAuth access token.
Inputs
Input
Type
Description
orderCreationMethod
string
If specified, represents the method used to create orders. Valid values are CreateSingleOrder—Creates a single order from a quote. This method creates the order header and order line items synchronously; CreateOrderByGroup—Create multiple orders based on a quote line group; or CreateOrderByField—Create multiple orders based on a specified quote line item field. If you’re creating multiple orders from a quote, the order header records are created synchronously and order line items are created asynchronously. If unspecified, the default value is CreateSingleOrder.
orderCreationParameters
Apex-defined
An Apex ConnectApi.OrderCreationParametersInputRepresentation record that contains the additional parameters required by the specified order creation method.
quoteId
id
Required. The ID of the source quote tied to the orders created.
quoteLineItemIds
id
List of quote line item IDs to create the orders from. If specified, the orders are created for the list of provided quote line items. If unspecified, orders are created for all quote line items.
Outputs
Output
Type
Description
orderIds
id
List of the created order IDs.
requestId
string
The request ID used to query the async status.
statusUrl
string
The status URL that’s used to track the async status.
Examples
Create a Partial Order From a Quote
This example shows a sample request to create a partial order from a quote.