Create Order From Quote Action

Create a draft order from a quote record.

This action is available in API version 60.0 and later.

This API has been deprecated as of API version 65.0. In API version 65.0 and later, use the Create Orders From Quote Action.

Note

Special Access Rules 

The Create Order From Quote action is available in Enterprise, Unlimited, and Developer Editions of Revenue Management.

Supported REST HTTP Methods 

URI: /services/data/v68.0/actions/standard/createOrderFromQuote

Formats: JSON, XML

HTTP Methods: POST

Authentication: Authorization: Bearer TOKEN

Where TOKEN is a placeholder for your OAuth access token.

Inputs 

InputTypeDescription
quoteRecordIdidRequired. ID of the quote record.

Outputs 

OutputTypeDescription
orderIdstringID of the created draft order.
orderNumberstringUnique order number of the created draft order.
requestIdstringID of the request.

Example 

POST

This sample request is for the Create Order From Quote action.

1{
2    "inputs": [
3        {
4        "quoteRecordId": "0Q0D200000000DhKAI"
5        }
6    ]
7}

This sample response is for the Create Order From Quote action.

1[
2  {
3    "actionName": "createOrderFromQuote",
4    "errors": null,
5    "invocationId": null,
6    "isSuccess": true,
7    "outcome": null,
8    "outputValues": {
9      "orderNumber": "00000122",
10      "orderId": "801oB000000DCrNQAW"
11    },
12    "sortOrder": -1,
13    "version": 1
14  }
15]