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.
In the Order Discount and
Product Discount legacy APIs,
the cart.deliveryGroups
input is always an empty array. This means you can't access delivery groups when
creating Order Discount or Product Discount Functions. If you need to apply discounts to shipping costs,
then use the Discount Function API
instead.
[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.
[LocalizedField!]!
)
The additional fields on the Cart page that are required for international orders in specific countries, such as customs information or tax identification numbers.
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.
In the Order Discount and
Product Discount legacy APIs,
the cart.deliveryGroups
input is always an empty array. This means you can't access delivery groups when
creating Order Discount or Product Discount Functions. If you need to apply discounts to shipping costs,
then use the Discount Function API
instead.
[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.
[LocalizedField!]!
)
The additional fields on the Cart page that are required for international orders in specific countries, such as customs information or tax identification numbers.
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.
In the Order Discount and
Product Discount legacy APIs,
the cart.deliveryGroups
input is always an empty array. This means you can't access delivery groups when
creating Order Discount or Product Discount Functions. If you need to apply discounts to shipping costs,
then use the Discount Function API
instead.
[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.
[LocalizedField!]!
)
The additional fields on the Cart page that are required for international orders in specific countries, such as customs information or tax identification numbers.
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.
In the Order Discount and
Product Discount legacy APIs,
the cart.deliveryGroups
input is always an empty array. This means you can't access delivery groups when
creating Order Discount or Product Discount Functions. If you need to apply discounts to shipping costs,
then use the Discount Function API
instead.
[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.
[LocalizedField!]!
)
The additional fields on the Cart page that are required for international orders in specific countries, such as customs information or tax identification numbers.
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.
In the Order Discount and
Product Discount legacy APIs,
the cart.deliveryGroups
input is always an empty array. This means you can't access delivery groups when
creating Order Discount or Product Discount Functions. If you need to apply discounts to shipping costs,
then use the Discount Function API
instead.
[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.
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.
In the Order Discount and
Product Discount legacy APIs,
the cart.deliveryGroups
input is always an empty array. This means you can't access delivery groups when
creating Order Discount or Product Discount Functions. If you need to apply discounts to shipping costs,
then use the Discount Function API
instead.
[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.
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.
In the Order Discount and
Product Discount legacy APIs,
the cart.deliveryGroups
input is always an empty array. This means you can't access delivery groups when
creating Order Discount or Product Discount Functions. If you need to apply discounts to shipping costs,
then use the Discount Function API
instead.
[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.