GET
/
order-drafts
/
order-number
/
{orderNumber}

Authorizations

Authorization
string
header
required

This is the authorization token used to authenticate the request. You must pass the access token generated from the system app. For more information, see the Making your first API request section.

Headers

x-fabric-tenant-id
string
required

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.

x-fabric-request-id
string

Unique request ID for tracking.

x-fabric-channel-id
string

x-fabric-channel-id identifies the sales channel through which the API request is being made; primarily for multichannel use cases. It is a required field. The default US channel is 12 while the default Canada channel is 11.

Path Parameters

orderNumber
string
required

The order draft number created with Create an order draft endpoint is used to retrieve the order draft.

Response

200 - */*

Order Draft

addresses
object

A map of addresses added to the corresponding cart.

adjustments
object

A collection of adjustments made to the corresponding cart.

appliedCoupons
object[]

An array containing all coupons applied to the cart.

attributes
object

Custom attributes provided to the context, such as a wishlist, to provide additional information about the entity.

cartId
string

The unique identifier of the cart, which is generated when the cart is created using the Create an empty cart endpoint.

channelId
string

Channel ID

configuration
object

Cart configurations determine the behavior within the cart.

coupons
object[]

An array containing all coupons added to the corresponding cart.

createdAt
string

The date and time when the cart was created.

currency
string

The currency that the cart will use when an order is created.

customerContext
object

Customer context object containing customer information.

fees
object

A collection of fees associated with the corresponding cart.

fulfillments
object

A map of fulfillments added to the corresponding cart.

lineItems
object

A collection of items in the cart.

notAppliedCoupons
object[]

An array containing any coupons that were ineligible and not applied to the cart.

order
object

An object that contains order information, such as the order ID, order number, and items included in the order.

payments
object

An object containing a collection of payments added to the corresponding cart.

price
object

The sum of the total amount of the cart.

promotions
object

A collection of promotions applied to the corresponding cart.

state
object[]

An array containing details about the current state of the cart.

status
enum<string>

Indicates the status of the cart, which can be either ACTIVE or SOFT_DELETE.

Available options:
ACTIVE,
SOFT_DELETE
summary
object

A summary of items in the cart.

updatedAt
string

The date and time in UTC when the cart was last updated.

validations
object