Create an order draft
Creates an order from the current cart.
The Cart ID from the Create cart endpoint is used in the path parameter.
Request
- Base URLhttps://api.fabric.inc/v3
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The 24-character system-generated Cart ID. This ID is generated using the Create cart endpoint.
Headers
A header used by fabric to identify the tenant making the request. You must include tenant id in the authentication header for an API request to access any of fabric’s endpoints. You can retrieve the tenant id , which is also called account id, from Copilot. This header is required.
Unique request ID for tracking.
x-fabric-channel-id identifies the sales channel where the API request is being made; primarily for multichannel use cases. The channel ids are 12 corresponding to US and 13 corresponding to Canada. The default channel id is 12. This field is required.
Request body
Example request
{
"orderSequence": {
"sequenceName": "STORE_ORDER_NUMBER",
"sequenceKey": "SHOPZ"
},
"orderNumber": "SHOPZ0000001"
}Response
Order draft created successfully
Changes
No recorded changes to this operation across all 2 revisions of this API.