A cart represents the merchandise that a buyer intends to purchase, and the cost associated with the cart.
Attribute
)
The attributes associated with the cart. Attributes are represented as key-value pairs.
Argument | Description |
---|---|
key
(
String
)
|
The key of the attribute to retrieve. |
BuyerIdentity
)
Information about the buyer that is interacting with the cart.
CartCost!
)
The costs that the buyer will pay at checkout.
[DeliverableCartLine!]!
)
A list of lines containing information about the items that can be delivered.
[CartDeliveryGroup!]!
)
The delivery groups available for the cart based on the buyer's shipping address.
[CartLine!]!
)
A list of lines containing information about the items the customer intends to purchase.
[LocalizedField!]!
)
The localized fields available for the cart.
Argument | Description |
---|---|
keys
(
[LocalizedFieldKey!]!
)
required
|
The keys of the localized fields to retrieve. |
A cart represents the merchandise that a buyer intends to purchase, and the cost associated with the cart.
Attribute
)
The attributes associated with the cart. Attributes are represented as key-value pairs.
Argument | Description |
---|---|
key
(
String
)
|
The key of the attribute to retrieve. |
BuyerIdentity
)
Information about the buyer that is interacting with the cart.
CartCost!
)
The costs that the buyer will pay at checkout.
[DeliverableCartLine!]!
)
A list of lines containing information about the items that can be delivered.
[CartDeliveryGroup!]!
)
The delivery groups available for the cart based on the buyer's shipping address.
[CartLine!]!
)
A list of lines containing information about the items the customer intends to purchase.
[LocalizedField!]!
)
The localized fields available for the cart.
Argument | Description |
---|---|
keys
(
[LocalizedFieldKey!]!
)
required
|
The keys of the localized fields to retrieve. |
A cart represents the merchandise that a buyer intends to purchase, and the cost associated with the cart.
Attribute
)
The attributes associated with the cart. Attributes are represented as key-value pairs.
Argument | Description |
---|---|
key
(
String
)
|
The key of the attribute to retrieve. |
BuyerIdentity
)
Information about the buyer that is interacting with the cart.
CartCost!
)
The costs that the buyer will pay at checkout.
[DeliverableCartLine!]!
)
A list of lines containing information about the items that can be delivered.
[CartDeliveryGroup!]!
)
The delivery groups available for the cart based on the buyer's shipping address.
[CartLine!]!
)
A list of lines containing information about the items the customer intends to purchase.
[LocalizedField!]!
)
The localized fields available for the cart.
Argument | Description |
---|---|
keys
(
[LocalizedFieldKey!]!
)
required
|
The keys of the localized fields to retrieve. |
A cart represents the merchandise that a buyer intends to purchase, and the cost associated with the cart.
Attribute
)
The attributes associated with the cart. Attributes are represented as key-value pairs.
Argument | Description |
---|---|
key
(
String
)
|
The key of the attribute to retrieve. |
BuyerIdentity
)
Information about the buyer that is interacting with the cart.
CartCost!
)
The costs that the buyer will pay at checkout.
[DeliverableCartLine!]!
)
A list of lines containing information about the items that can be delivered.
[CartDeliveryGroup!]!
)
The delivery groups available for the cart based on the buyer's shipping address.
[CartLine!]!
)
A list of lines containing information about the items the customer intends to purchase.
[LocalizedField!]!
)
The localized fields available for the cart.
Argument | Description |
---|---|
keys
(
[LocalizedFieldKey!]!
)
required
|
The keys of the localized fields to retrieve. |
The cart where the Function is running. A cart contains the merchandise that a customer intends to purchase and information about the customer, such as the customer's email address and phone number.
Attribute
)
The custom attributes associated with a cart to store additional information. Cart attributes allow you to collect specific information from customers on the Cart page, such as order notes, gift wrapping requests, or custom product details. Attributes are stored as key-value pairs.
Argument | Description |
---|---|
key
(
String
)
|
The key of the cart attribute to retrieve. For example, |
BuyerIdentity
)
Information about the customer that's interacting with the cart. It includes details such as the customer's email and phone number, and the total amount of money the customer has spent in the store. This information helps personalize the checkout experience and ensures that accurate pricing and delivery options are displayed to customers.
CartCost!
)
A breakdown of the costs that the customer will pay at checkout. It includes the total amount, the subtotal before taxes and duties, the tax amount, and duty charges.
[DeliverableCartLine!]!
)
The items in a cart that are eligible for fulfillment and can be delivered to the customer.
[CartDeliveryGroup!]!
)
A collection of items that are grouped by shared delivery characteristics. Delivery groups streamline fulfillment by organizing items that can be shipped together, based on the customer's shipping address. For example, if a customer orders a t-shirt and a pair of shoes that can be shipped together, then the items are included in the same delivery group.
[CartLine!]!
)
The items in a cart that the customer intends to purchase. A cart line is an entry in the customer's cart that represents a single unit of a product variant. For example, if a customer adds two different sizes of the same t-shirt to their cart, then each size is represented as a separate cart line.
A cart represents the merchandise that a buyer intends to purchase, and the cost associated with the cart.
Attribute
)
The attributes associated with the cart. Attributes are represented as key-value pairs.
Argument | Description |
---|---|
key
(
String
)
|
The key of the attribute to retrieve. |
BuyerIdentity
)
Information about the buyer that is interacting with the cart.
CartCost!
)
The costs that the buyer will pay at checkout.
[DeliverableCartLine!]!
)
A list of lines containing information about the items that can be delivered.
[CartDeliveryGroup!]!
)
The delivery groups available for the cart based on the buyer's shipping address.
[CartLine!]!
)
A list of lines containing information about the items the customer intends to purchase.
A cart represents the merchandise that a buyer intends to purchase, and the cost associated with the cart.
Attribute
)
The attributes associated with the cart. Attributes are represented as key-value pairs.
Argument | Description |
---|---|
key
(
String
)
|
The key of the attribute to retrieve. |
BuyerIdentity
)
Information about the buyer that is interacting with the cart.
CartCost!
)
The costs that the buyer will pay at checkout.
[DeliverableCartLine!]!
)
A list of lines containing information about the items that can be delivered.
[CartDeliveryGroup!]!
)
The delivery groups available for the cart based on the buyer's shipping address.
[CartLine!]!
)
A list of lines containing information about the items the customer intends to purchase.