Types

AddBundleProductsToCartInput

Defines the bundle products to add to the cart.

Input Fields

Input Field
Description
cart_id - String!
The ID of the cart.
cart_items - [BundleProductCartItemInput]!
An array of bundle products to add.

Example

{
  "cart_id": "abc123",
  "cart_items": [BundleProductCartItemInput]
}

AddBundleProductsToCartOutput

Contains details about the cart after adding bundle products.

Fields

Field Name
Description
cart - Cart!
The cart after adding products.

Example

{"cart": Cart}

AddConfigurableProductsToCartInput

Defines the configurable products to add to the cart.

Input Fields

Input Field
Description
cart_id - String!
The ID of the cart.
cart_items - [ConfigurableProductCartItemInput]!
An array of configurable products to add.

Example

{
  "cart_id": "xyz789",
  "cart_items": [ConfigurableProductCartItemInput]
}

AddConfigurableProductsToCartOutput

Contains details about the cart after adding configurable products.

Fields

Field Name
Description
cart - Cart!
The cart after adding products.

Example

{"cart": Cart}

AddDownloadableProductsToCartInput

Input Fields

Input Field
Description
cart_id - String!
The ID of the cart.
cart_items - [DownloadableProductCartItemInput]!
An array of downloadable products to add.

Example

{
  "cart_id": "abc123",
  "cart_items": [DownloadableProductCartItemInput]
}

AddDownloadableProductsToCartOutput

Contains details about the cart after adding downloadable products.

Fields

Field Name
Description
cart - Cart!
The cart after adding products.

Example

{"cart": Cart}

AddGiftRegistryRegistrantInput

Defines a new registrant.

Input Fields

Input Field
Description
dynamic_attributes - [GiftRegistryDynamicAttributeInput]
Additional attributes specified as a code-value pair.
email - String!
The email address of the registrant.
firstname - String!
The first name of the registrant.
lastname - String!
The last name of the registrant.

Example

{
  "dynamic_attributes": [
    GiftRegistryDynamicAttributeInput
  ],
  "email": "xyz789",
  "firstname": "xyz789",
  "lastname": "abc123"
}

AddGiftRegistryRegistrantsOutput

Contains the results of a request to add registrants.

Fields

Field Name
Description
gift_registry - GiftRegistry
The gift registry after adding registrants.

Example

{"gift_registry": GiftRegistry}

AddProductsToCartOutput

Contains details about the cart after adding products to it.

Fields

Field Name
Description
cart - Cart!
The cart after products have been added.
user_errors - [CartUserInputError]!
Contains errors encountered while adding an item to the cart.

Example

{
  "cart": Cart,
  "user_errors": [CartUserInputError]
}

AddProductsToCompareListInput

Contains products to add to an existing compare list.

Input Fields

Input Field
Description
products - [ID]!
An array of product IDs to add to the compare list.
uid - ID!
The unique identifier of the compare list to modify.

Example

{"products": [4], "uid": 4}

AddProductsToRequisitionListOutput

Output of the request to add products to a requisition list.

Fields

Field Name
Description
requisition_list - RequisitionList
The requisition list after adding products.

Example

{"requisition_list": RequisitionList}

AddProductsToWishlistOutput

Contains the customer's wish list and any errors encountered.

Fields

Field Name
Description
user_errors - [WishListUserInputError]!
An array of errors encountered while adding products to a wish list.
wishlist - Wishlist!
Contains the wish list with all items that were successfully added.

Example

{
  "user_errors": [WishListUserInputError],
  "wishlist": Wishlist
}

AddPurchaseOrderCommentInput

Contains the comment to be added to a purchase order.

Input Fields

Input Field
Description
comment - String!
Comment text.
purchase_order_uid - ID!
The unique ID of a purchase order.

Example

{
  "comment": "xyz789",
  "purchase_order_uid": "4"
}

AddPurchaseOrderCommentOutput

Contains the successfully added comment.

Fields

Field Name
Description
comment - PurchaseOrderComment!
The purchase order comment.

Example

{"comment": PurchaseOrderComment}

AddPurchaseOrderItemsToCartInput

Defines the purchase order and cart to act on.

Input Fields

Input Field
Description
cart_id - String!
The ID to assign to the cart.
purchase_order_uid - ID!
Purchase order unique ID.
replace_existing_cart_items - Boolean!
Replace existing cart or merge items.

Example

{
  "cart_id": "abc123",
  "purchase_order_uid": "4",
  "replace_existing_cart_items": true
}

AddRequisitionListItemToCartUserError

Contains details about why an attempt to add items to the requistion list failed.

Fields

Field Name
Description
message - String!
A description of the error.
type - AddRequisitionListItemToCartUserErrorType!
The type of error that occurred.

Example

{
  "message": "xyz789",
  "type": "OUT_OF_STOCK"
}

AddRequisitionListItemToCartUserErrorType

Values

Enum Value
Description
OUT_OF_STOCK
UNAVAILABLE_SKU
OPTIONS_UPDATED
LOW_QUANTITY

Example

""OUT_OF_STOCK""

AddRequisitionListItemsToCartOutput

Output of the request to add items in a requisition list to the cart.

Fields

Field Name
Description
add_requisition_list_items_to_cart_user_errors - [AddRequisitionListItemToCartUserError]!
Details about why the attempt to add items to the requistion list was not successful.
cart - Cart
The cart after adding requisition list items.
status - Boolean!
Indicates whether the attempt to add items to the requisition list was successful.

Example

{
  "add_requisition_list_items_to_cart_user_errors": [
    AddRequisitionListItemToCartUserError
  ],
  "cart": Cart,
  "status": false
}

AddReturnCommentInput

Defines a return comment.

Input Fields

Input Field
Description
comment_text - String!
The text added to the return request.
return_uid - ID!
The unique ID for a Return object.

Example

{
  "comment_text": "xyz789",
  "return_uid": "4"
}

AddReturnCommentOutput

Contains details about the return request.

Fields

Field Name
Description
return - Return
The modified return.

Example

{"return": Return}

AddReturnTrackingInput

Defines tracking information to be added to the return.

Input Fields

Input Field
Description
carrier_uid - ID!
The unique ID for a ReturnShippingCarrier object.
return_uid - ID!
The unique ID for a Returns object.
tracking_number - String!
The shipping tracking number for this return request.

Example

{
  "carrier_uid": 4,
  "return_uid": 4,
  "tracking_number": "xyz789"
}

AddReturnTrackingOutput

Contains the response after adding tracking information.

Fields

Field Name
Description
return - Return
Details about the modified return.
return_shipping_tracking - ReturnShippingTracking
Details about shipping for a return.

Example

{
  "return": Return,
  "return_shipping_tracking": ReturnShippingTracking
}

AddSimpleProductsToCartInput

Defines the simple and group products to add to the cart.

Input Fields

Input Field
Description
cart_id - String!
The unique ID of a Cart object.
cart_items - [SimpleProductCartItemInput]!
An array of simple and group items to add.

Example

{
  "cart_id": "xyz789",
  "cart_items": [SimpleProductCartItemInput]
}

AddSimpleProductsToCartOutput

Contains details about the cart after adding simple or group products.

Fields

Field Name
Description
cart - Cart!
The cart after adding products.

Example

{"cart": Cart}

AddVirtualProductsToCartInput

Defines the virtual products to add to the cart.

Input Fields

Input Field
Description
cart_id - String!
The unique ID of a Cart object.
cart_items - [VirtualProductCartItemInput]!
An array of virtual products to add.

Example

{
  "cart_id": "xyz789",
  "cart_items": [VirtualProductCartItemInput]
}

AddVirtualProductsToCartOutput

Contains details about the cart after adding virtual products.

Fields

Field Name
Description
cart - Cart!
The cart after adding products.

Example

{"cart": Cart}

AddWishlistItemsToCartOutput

Contains the resultant wish list and any error information.

Fields

Field Name
Description
add_wishlist_items_to_cart_user_errors - [WishlistCartUserInputError]!
An array of errors encountered while adding products to the customer's cart.
status - Boolean!
Indicates whether the attempt to add items to the customer's cart was successful.
wishlist - Wishlist!
Contains the wish list with all items that were successfully added.

Example

{
  "add_wishlist_items_to_cart_user_errors": [
    WishlistCartUserInputError
  ],
  "status": true,
  "wishlist": Wishlist
}

Aggregation

Contains information for each filterable option (such as price, category UID, and custom attributes).

Fields

Field Name
Description
attribute_code - String!
Attribute code of the aggregation group.
count - Int
The number of options in the aggregation group.
label - String
The aggregation display name.
options - [AggregationOption]
Array of options for the aggregation.
position - Int
The relative position of the attribute in a layered navigation block.

Example

{
  "attribute_code": "xyz789",
  "count": 123,
  "label": "abc123",
  "options": [AggregationOption],
  "position": 123
}

AggregationOption

An implementation of AggregationOptionInterface.

Fields

Field Name
Description
count - Int
The number of items that match the aggregation option.
label - String
The display label for an aggregation option.
value - String!
The internal ID that represents the value of the option.

Example

{
  "count": 123,
  "label": "xyz789",
  "value": "xyz789"
}

AggregationOptionInterface

Defines aggregation option fields.

Fields

Field Name
Description
count - Int
The number of items that match the aggregation option.
label - String
The display label for an aggregation option.
value - String!
The internal ID that represents the value of the option.

Possible Types

AggregationOptionInterface Types
AggregationOption

Example

{
  "count": 987,
  "label": "abc123",
  "value": "xyz789"
}

AggregationsCategoryFilterInput

Filter category aggregations in layered navigation.

Input Fields

Input Field
Description
includeDirectChildrenOnly - Boolean
Indicates whether to include only direct subcategories or all children categories at all levels.

Example

{"includeDirectChildrenOnly": true}

AggregationsFilterInput

An input object that specifies the filters used in product aggregations.

Input Fields

Input Field
Description
category - AggregationsCategoryFilterInput
Filter category aggregations in layered navigation.

Example

{"category": AggregationsCategoryFilterInput}

AppliedCoupon

Contains the applied coupon code.

Fields

Field Name
Description
code - String!
The coupon code the shopper applied to the card.

Example

{"code": "xyz789"}

AppliedGiftCard

Contains an applied gift card with applied and remaining balance.

Fields

Field Name
Description
applied_balance - Money
The amount applied to the current cart.
code - String
The gift card account code.
current_balance - Money
The remaining balance on the gift card.
expiration_date - String
The expiration date of the gift card.

Example

{
  "applied_balance": Money,
  "code": "abc123",
  "current_balance": Money,
  "expiration_date": "xyz789"
}

AppliedStoreCredit

Contains the applied and current balances.

Fields

Field Name
Description
applied_balance - Money
The applied store credit balance to the current cart.
current_balance - Money
The current balance remaining on store credit.
enabled - Boolean
Indicates whether store credits are enabled. If the feature is disabled, then the current balance will not be returned.

Example

{
  "applied_balance": Money,
  "current_balance": Money,
  "enabled": true
}

ApplyCouponToCartInput

Specifies the coupon code to apply to the cart.

Input Fields

Input Field
Description
cart_id - String!
The unique ID of a Cart object.
coupon_code - String!
A valid coupon code.

Example

{
  "cart_id": "abc123",
  "coupon_code": "abc123"
}

ApplyCouponToCartOutput

Contains details about the cart after applying a coupon.

Fields

Field Name
Description
cart - Cart!
The cart after applying a coupon.

Example

{"cart": Cart}

ApplyGiftCardToCartInput

Defines the input required to run the applyGiftCardToCart mutation.

Input Fields

Input Field
Description
cart_id - String!
The unique ID that identifies the customer's cart.
gift_card_code - String!
The gift card code to be applied to the cart.

Example

{
  "cart_id": "xyz789",
  "gift_card_code": "abc123"
}

ApplyGiftCardToCartOutput

Defines the possible output for the applyGiftCardToCart mutation.

Fields

Field Name
Description
cart - Cart!
Describes the contents of the specified shopping cart.

Example

{"cart": Cart}

ApplyRewardPointsToCartOutput

Contains the customer cart.

Fields

Field Name
Description
cart - Cart!
The customer cart after reward points are applied.

Example

{"cart": Cart}

ApplyStoreCreditToCartInput

Defines the input required to run the applyStoreCreditToCart mutation.

Input Fields

Input Field
Description
cart_id - String!
The unique ID that identifies the customer's cart.

Example

{"cart_id": "abc123"}

ApplyStoreCreditToCartOutput

Defines the possible output for the applyStoreCreditToCart mutation.

Fields

Field Name
Description
cart - Cart!
The contents of the specified shopping cart.

Example

{"cart": Cart}

AreaInput

AreaInput defines the parameters which will be used for filter by specified location.

Input Fields

Input Field
Description
radius - Int!
The radius for the search in KM.
search_term - String!
The country code where search must be performed. Required parameter together with region, city or postcode.

Example

{"radius": 123, "search_term": "xyz789"}

AssignCompareListToCustomerOutput

Contains the results of the request to assign a compare list.

Fields

Field Name
Description
compare_list - CompareList
The contents of the customer's compare list.
result - Boolean!
Indicates whether the compare list was successfully assigned to the customer.

Example

{"compare_list": CompareList, "result": false}

Attribute

Contains details about the attribute, including the code and type.

Fields

Field Name
Description
attribute_code - String
The unique identifier for an attribute code. This value should be in lowercase letters without spaces.
attribute_options - [AttributeOption]
Attribute options list.
attribute_type - String
The data type of the attribute.
entity_type - String
The type of entity that defines the attribute.
input_type - String
The frontend input type of the attribute.
storefront_properties - StorefrontProperties
Details about the storefront properties configured for the attribute.

Example

{
  "attribute_code": "xyz789",
  "attribute_options": [AttributeOption],
  "attribute_type": "abc123",
  "entity_type": "xyz789",
  "input_type": "abc123",
  "storefront_properties": StorefrontProperties
}

AttributeInput

Defines the attribute characteristics to search for the attribute_code and entity_type to search.

Input Fields

Input Field
Description
attribute_code - String
The unique identifier for an attribute code. This value should be in lowercase letters without spaces.
entity_type - String
The type of entity that defines the attribute.

Example

{
  "attribute_code": "xyz789",
  "entity_type": "abc123"
}

AttributeOption

Defines an attribute option.

Fields

Field Name
Description
label - String
The label assigned to the attribute option.
value - String
The attribute option value.

Example

{
  "label": "abc123",
  "value": "abc123"
}

AvailableCurrency

Defines the code and symbol of a currency that can be used for purchase orders.

Fields

Field Name
Description
code - CurrencyEnum!
3-letter currency code, for example USD.
symbol - String!
Currency symbol, for example $.

Example

{"code": "AFN", "symbol": "xyz789"}

AvailablePaymentMethod

Describes a payment method that the shopper can use to pay for the order.

Fields

Field Name
Description
code - String!
The payment method code.
is_deferred - Boolean!
If the payment method is an online integration
title - String!
The payment method title.

Example

{
  "code": "abc123",
  "is_deferred": true,
  "title": "abc123"
}

AvailableShippingMethod

Contains details about the possible shipping methods and carriers.

Fields

Field Name
Description
amount - Money!
The cost of shipping using this shipping method.
available - Boolean!
Indicates whether this shipping method can be applied to the cart.
base_amount - Money
(Deprecated: The field should not be used on the storefront.)
carrier_code - String!
A string that identifies a commercial carrier or an offline shipping method.
carrier_title - String!
The label for the carrier code.
error_message - String
Describes an error condition.
method_code - String
A shipping method code associated with a carrier. The value could be null if no method is available.
method_title - String
The label for the shipping method code. The value could be null if no method is available.
price_excl_tax - Money!
The cost of shipping using this shipping method, excluding tax.
price_incl_tax - Money!
The cost of shipping using this shipping method, including tax.

Example

{
  "amount": Money,
  "available": true,
  "base_amount": Money,
  "carrier_code": "xyz789",
  "carrier_title": "abc123",
  "error_message": "abc123",
  "method_code": "xyz789",
  "method_title": "xyz789",
  "price_excl_tax": Money,
  "price_incl_tax": Money
}

BatchMutationStatus

Values

Enum Value
Description
SUCCESS
FAILURE
MIXED_RESULTS

Example

""SUCCESS""

BillingAddressInput

Defines the billing address.

Input Fields

Input Field
Description
address - CartAddressInput
Defines a billing address.
customer_address_id - Int
An ID from the customer's address book that uniquely identifies the address to be used for billing.
same_as_shipping - Boolean
Indicates whether to set the billing address to be the same as the existing shipping address on the cart.
use_for_shipping - Boolean
Indicates whether to set the shipping address to be the same as this billing address.

Example

{
  "address": CartAddressInput,
  "customer_address_id": 123,
  "same_as_shipping": false,
  "use_for_shipping": false
}

BillingCartAddress

Contains details about the billing address.

Fields

Field Name
Description
city - String!
The city specified for the billing or shipping address.
company - String
The company specified for the billing or shipping address.
country - CartAddressCountry!
An object containing the country label and code.
customer_notes - String
(Deprecated: The field is used only in shipping address.)
firstname - String!
The first name of the customer or guest.
lastname - String!
The last name of the customer or guest.
postcode - String
The ZIP or postal code of the billing or shipping address.
region - CartAddressRegion
An object containing the region label and code.
street - [String]!
An array containing the street for the billing or shipping address.
telephone - String
The telephone number for the billing or shipping address.
uid - String!
The unique id of the customer address.
vat_id - String
The VAT company number for billing or shipping address.

Example

{
  "city": "xyz789",
  "company": "xyz789",
  "country": CartAddressCountry,
  "customer_notes": "xyz789",
  "firstname": "abc123",
  "lastname": "xyz789",
  "postcode": "abc123",
  "region": CartAddressRegion,
  "street": ["xyz789"],
  "telephone": "abc123",
  "uid": "xyz789",
  "vat_id": "abc123"
}

Boolean

The Boolean scalar type represents true or false.

BraintreeCcVaultInput

Input Fields

Input Field
Description
device_data - String
public_hash - String!

Example

{
  "device_data": "xyz789",
  "public_hash": "xyz789"
}

BraintreeInput

Input Fields

Input Field
Description
device_data - String
Contains a fingerprint provided by Braintree JS SDK and should be sent with sale transaction details to the Braintree payment gateway.
is_active_payment_token_enabler - Boolean!
States whether an entered by a customer credit/debit card should be tokenized for later usage. Required only if Vault is enabled for Braintree payment integration.
payment_method_nonce - String!
The one-time payment token generated by Braintree payment gateway based on card details. Required field to make sale transaction.

Example

{
  "device_data": "abc123",
  "is_active_payment_token_enabler": true,
  "payment_method_nonce": "xyz789"
}

Contains details about an individual category that comprises a breadcrumb.

Fields

Field Name
Description
category_id - Int
The ID of the category. (Deprecated: Use category_uid instead.)
category_level - Int
The category level.
category_name - String
The display name of the category.
category_uid - ID!
The unique ID for a Breadcrumb object.
category_url_key - String
The URL key of the category.
category_url_path - String
The URL path of the category.

Example

{
  "category_id": 987,
  "category_level": 123,
  "category_name": "xyz789",
  "category_uid": "4",
  "category_url_key": "xyz789",
  "category_url_path": "xyz789"
}

BundleCartItem

An implementation for bundle product cart items.

Fields

Field Name
Description
available_gift_wrapping - [GiftWrapping]!
The list of available gift wrapping options for the cart item.
bundle_options - [SelectedBundleOption]!
An array containing the bundle options the shopper selected.
customizable_options - [SelectedCustomizableOption]!
An array containing the customizable options the shopper selected.
errors - [CartItemError]
An array of errors encountered while loading the cart item
gift_message - GiftMessage
The entered gift message for the cart item
gift_wrapping - GiftWrapping
The selected gift wrapping for the cart item.
id - String!
(Deprecated: Use uid instead.)
prices - CartItemPrices
Contains details about the price of the item, including taxes and discounts.
product - ProductInterface!
Details about an item in the cart.
quantity - Float!
The quantity of this item in the cart.
uid - ID!
The unique ID for a CartItemInterface object.

Example

{
  "available_gift_wrapping": [GiftWrapping],
  "bundle_options": [SelectedBundleOption],
  "customizable_options": [SelectedCustomizableOption],
  "errors": [CartItemError],
  "gift_message": GiftMessage,
  "gift_wrapping": GiftWrapping,
  "id": "xyz789",
  "prices": CartItemPrices,
  "product": ProductInterface,
  "quantity": 987.65,
  "uid": 4
}

BundleCreditMemoItem

Defines bundle product options for CreditMemoItemInterface.

Fields

Field Name
Description
bundle_options - [ItemSelectedBundleOption]
A list of bundle options that are assigned to a bundle product that is part of a credit memo.
discounts - [Discount]
Details about the final discount amount for the base product, including discounts on options.
id - ID!
The unique ID for a CreditMemoItemInterface object.
order_item - OrderItemInterface
The order item the credit memo is applied to.
product_name - String
The name of the base product.
product_sale_price - Money!
The sale price for the base product, including selected options.
product_sku - String!
The SKU of the base product.
quantity_refunded - Float
The number of refunded items.

Example

{
  "bundle_options": [ItemSelectedBundleOption],
  "discounts": [Discount],
  "id": "4",
  "order_item": OrderItemInterface,
  "product_name": "abc123",
  "product_sale_price": Money,
  "product_sku": "abc123",
  "quantity_refunded": 123.45
}

BundleInvoiceItem

Defines bundle product options for InvoiceItemInterface.

Fields

Field Name
Description
bundle_options - [ItemSelectedBundleOption]
A list of bundle options that are assigned to an invoiced bundle product.
discounts - [Discount]
Information about the final discount amount for the base product, including discounts on options.
id - ID!
The unique ID for an InvoiceItemInterface object.
order_item - OrderItemInterface
Details about an individual order item.
product_name - String
The name of the base product.
product_sale_price - Money!
The sale price for the base product including selected options.
product_sku - String!
The SKU of the base product.
quantity_invoiced - Float
The number of invoiced items.

Example

{
  "bundle_options": [ItemSelectedBundleOption],
  "discounts": [Discount],
  "id": 4,
  "order_item": OrderItemInterface,
  "product_name": "xyz789",
  "product_sale_price": Money,
  "product_sku": "xyz789",
  "quantity_invoiced": 987.65
}

BundleItem

Defines an individual item within a bundle product.

Fields

Field Name
Description
option_id - Int
An ID assigned to each type of item in a bundle product. (Deprecated: Use uid instead)
options - [BundleItemOption]
An array of additional options for this bundle item.
position - Int
A number indicating the sequence order of this item compared to the other bundle items.
price_range - PriceRange!
The range of prices for the product
required - Boolean
Indicates whether the item must be included in the bundle.
sku - String
The SKU of the bundle product.
title - String
The display name of the item.
type - String
The input type that the customer uses to select the item. Examples include radio button and checkbox.
uid - ID
The unique ID for a BundleItem object.

Example

{
  "option_id": 987,
  "options": [BundleItemOption],
  "position": 987,
  "price_range": PriceRange,
  "required": false,
  "sku": "xyz789",
  "title": "abc123",
  "type": "xyz789",
  "uid": 4
}

BundleItemOption

Defines the characteristics that comprise a specific bundle item and its options.

Fields

Field Name
Description
can_change_quantity - Boolean
Indicates whether the customer can change the number of items for this option.
id - Int
The ID assigned to the bundled item option. (Deprecated: Use uid instead)
is_default - Boolean
Indicates whether this option is the default option.
label - String
The text that identifies the bundled item option.
position - Int
When a bundle item contains multiple options, the relative position of this option compared to the other options.
price - Float
The price of the selected option.
price_type - PriceTypeEnum
One of FIXED, PERCENT, or DYNAMIC.
product - ProductInterface
Contains details about this product option.
qty - Float
Indicates the quantity of this specific bundle item. (Deprecated: Use quantity instead.)
quantity - Float
The quantity of this specific bundle item.
uid - ID!
The unique ID for a BundleItemOption object.

Example

{
  "can_change_quantity": false,
  "id": 123,
  "is_default": true,
  "label": "xyz789",
  "position": 123,
  "price": 987.65,
  "price_type": "FIXED",
  "product": ProductInterface,
  "qty": 987.65,
  "quantity": 123.45,
  "uid": "4"
}

BundleOptionInput

Defines the input for a bundle option.

Input Fields

Input Field
Description
id - Int!
The ID of the option.
quantity - Float!
The number of the selected item to add to the cart.
value - [String]!
An array with the chosen value of the option.

Example

{
  "id": 987,
  "quantity": 987.65,
  "value": ["abc123"]
}

BundleOrderItem

Defines bundle product options for OrderItemInterface.

Fields

Field Name
Description
bundle_options - [ItemSelectedBundleOption]
A list of bundle options that are assigned to the bundle product.
discounts - [Discount]
The final discount information for the product.
eligible_for_return - Boolean
Indicates whether the order item is eligible to be in a return request.
entered_options - [OrderItemOption]
The entered option for the base product, such as a logo or image.
gift_message - GiftMessage
The selected gift message for the order item
gift_wrapping - GiftWrapping
The selected gift wrapping for the order item.
id - ID!
The unique ID for an OrderItemInterface object.
product_name - String
The name of the base product.
product_sale_price - Money!
The sale price of the base product, including selected options.
product_sku - String!
The SKU of the base product.
product_type - String
The type of product, such as simple, configurable, etc.
product_url_key - String
URL key of the base product.
quantity_canceled - Float
The number of canceled items.
quantity_invoiced - Float
The number of invoiced items.
quantity_ordered - Float
The number of units ordered for this item.
quantity_refunded - Float
The number of refunded items.
quantity_returned - Float
The number of returned items.
quantity_shipped - Float
The number of shipped items.
selected_options - [OrderItemOption]
The selected options for the base product, such as color or size.
status - String
The status of the order item.

Example

{
  "bundle_options": [ItemSelectedBundleOption],
  "discounts": [Discount],
  "eligible_for_return": true,
  "entered_options": [OrderItemOption],
  "gift_message": GiftMessage,
  "gift_wrapping": GiftWrapping,
  "id": 4,
  "product_name": "abc123",
  "product_sale_price": Money,
  "product_sku": "abc123",
  "product_type": "abc123",
  "product_url_key": "abc123",
  "quantity_canceled": 987.65,
  "quantity_invoiced": 123.45,
  "quantity_ordered": 987.65,
  "quantity_refunded": 987.65,
  "quantity_returned": 123.45,
  "quantity_shipped": 123.45,
  "selected_options": [OrderItemOption],
  "status": "abc123"
}

BundleProduct

Defines basic features of a bundle product and contains multiple BundleItems.

Fields

Field Name
Description
activity - String
(Deprecated: Use the custom_attributes field instead.)
attribute_set_id - Int
The attribute set assigned to the product. (Deprecated: The field should not be used on the storefront.)
canonical_url - String
The relative canonical URL. This value is returned only if the system setting 'Use Canonical Link Meta Tag For Products' is enabled.
categories - [CategoryInterface]
The categories assigned to a product.
category_gear - String
(Deprecated: Use the custom_attributes field instead.)
climate - String
(Deprecated: Use the custom_attributes field instead.)
collar - String
(Deprecated: Use the custom_attributes field instead.)
color - Int
(Deprecated: Use the custom_attributes field instead.)
country_of_manufacture - String
The product's country of origin.
created_at - String
Timestamp indicating when the product was created. (Deprecated: The field should not be used on the storefront.)
crosssell_products - [ProductInterface]
An array of cross-sell products.
description - ComplexTextValue
Detailed information about the product. The value can include simple HTML tags.
dynamic_price - Boolean
Indicates whether the bundle product has a dynamic price.
dynamic_sku - Boolean
Indicates whether the bundle product has a dynamic SKU.
dynamic_weight - Boolean
Indicates whether the bundle product has a dynamically calculated weight.
eco_collection - Int
(Deprecated: Use the custom_attributes field instead.)
erin_recommends - Int
(Deprecated: Use the custom_attributes field instead.)
features_bags - String
(Deprecated: Use the custom_attributes field instead.)
format - Int
(Deprecated: Use the custom_attributes field instead.)
gender - String
(Deprecated: Use the custom_attributes field instead.)
gift_message_available - String
Indicates whether a gift message is available.
id - Int
The ID number assigned to the product. (Deprecated: Use the uid field instead.)
image - ProductImage
The relative path to the main image on the product page.
is_returnable - String
Indicates whether the product can be returned.
items - [BundleItem]
An array containing information about individual bundle items.
manufacturer - Int
A number representing the product's manufacturer. (Deprecated: Use the custom_attributes field instead.)
material - String
(Deprecated: Use the custom_attributes field instead.)
media_gallery - [MediaGalleryInterface]
An array of media gallery objects.
media_gallery_entries - [MediaGalleryEntry]
An array of MediaGalleryEntry objects. (Deprecated: Use media_gallery instead.)
meta_description - String
A brief overview of the product for search results listings, maximum 255 characters.
meta_keyword - String
A comma-separated list of keywords that are visible only to search engines.
meta_title - String
A string that is displayed in the title bar and tab of the browser and in search results lists.
name - String
The product name. Customers use this name to identify the product.
new - Int
(Deprecated: Use the custom_attributes field instead.)
new_from_date - String
The beginning date for new product listings, and determines if the product is featured as a new product.
new_to_date - String
The end date for new product listings.
only_x_left_in_stock - Float
Product stock only x left count
options - [CustomizableOptionInterface]
An array of options for a customizable product.
options_container - String
If the product has multiple options, determines where they appear on the product page.
pattern - String
(Deprecated: Use the custom_attributes field instead.)
performance_fabric - Int
(Deprecated: Use the custom_attributes field instead.)
price - ProductPrices
Indicates the price of an item. (Deprecated: Use price_range for product price information.)
price_range - PriceRange!
The range of prices for the product
price_tiers - [TierPrice]
An array of TierPrice objects.
price_view - PriceViewEnum
One of PRICE_RANGE or AS_LOW_AS.
product_links - [ProductLinksInterface]
An array of ProductLinks objects.
purpose - Int
(Deprecated: Use the custom_attributes field instead.)
rating_summary - Float!
The average of all the ratings given to the product.
redirect_code - Int!
Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect.
related_products - [ProductInterface]
An array of related products.
relative_url - String
The internal relative URL. If the specified URL is a redirect, the query returns the redirected URL, not the original.
review_count - Int!
The total count of all the reviews given to the product.
reviews - ProductReviews!
The list of products reviews.
sale - Int
(Deprecated: Use the custom_attributes field instead.)
ship_bundle_items - ShipBundleItemsEnum
Indicates whether to ship bundle items together or individually.
short_description - ComplexTextValue
A short description of the product. Its use depends on the theme.
size - Int
(Deprecated: Use the custom_attributes field instead.)
sku - String
A number or code assigned to a product to identify the product, options, price, and manufacturer.
sleeve - String
(Deprecated: Use the custom_attributes field instead.)
small_image - ProductImage
The relative path to the small image, which is used on catalog pages.
special_from_date - String
The beginning date that a product has a special price. (Deprecated: The field should not be used on the storefront.)
special_price - Float
The discounted price of the product.
special_to_date - String
The end date for a product with a special price.
staged - Boolean!
Indicates whether the product is staged for a future campaign.
stock_status - ProductStockStatus
Stock status of the product
strap_bags - String
(Deprecated: Use the custom_attributes field instead.)
style_bags - String
(Deprecated: Use the custom_attributes field instead.)
style_bottom - String
(Deprecated: Use the custom_attributes field instead.)
style_general - String
(Deprecated: Use the custom_attributes field instead.)
swatch_image - String
The file name of a swatch image.
thumbnail - ProductImage
The relative path to the product's thumbnail image.
tier_price - Float
The price when tier pricing is in effect and the items purchased threshold has been reached. (Deprecated: Use price_tiers for product tier price information.)
tier_prices - [ProductTierPrices]
An array of ProductTierPrices objects. (Deprecated: Use price_tiers for product tier price information.)
type - UrlRewriteEntityTypeEnum
One of PRODUCT, CATEGORY, or CMS_PAGE.
type_id - String
One of simple, virtual, bundle, downloadable, grouped, or configurable. (Deprecated: Use __typename instead.)
uid - ID!
The unique ID for a ProductInterface object.
updated_at - String
Timestamp indicating when the product was updated. (Deprecated: The field should not be used on the storefront.)
upsell_products - [ProductInterface]
An array of up-sell products.
url_key - String
The part of the URL that identifies the product
url_path - String
(Deprecated: Use product's canonical_url or url rewrites instead)
url_rewrites - [UrlRewrite]
URL rewrites list
url_suffix - String
The part of the product URL that is appended after the url key
websites - [Website]
An array of websites in which the product is available. (Deprecated: The field should not be used on the storefront.)
weight - Float
The weight of the item, in units defined by the store.

Example

{
  "activity": "xyz789",
  "attribute_set_id": 987,
  "canonical_url": "abc123",
  "categories": [CategoryInterface],
  "category_gear": "xyz789",
  "climate": "xyz789",
  "collar": "abc123",
  "color": 987,
  "country_of_manufacture": "xyz789",
  "created_at": "abc123",
  "crosssell_products": [ProductInterface],
  "description": ComplexTextValue,
  "dynamic_price": false,
  "dynamic_sku": false,
  "dynamic_weight": true,
  "eco_collection": 123,
  "erin_recommends": 123,
  "features_bags": "abc123",
  "format": 987,
  "gender": "abc123",
  "gift_message_available": "xyz789",
  "id": 987,
  "image": ProductImage,
  "is_returnable": "abc123",
  "items": [BundleItem],
  "manufacturer": 123,
  "material": "abc123",
  "media_gallery": [MediaGalleryInterface],
  "media_gallery_entries": [MediaGalleryEntry],
  "meta_description": "xyz789",
  "meta_keyword": "xyz789",
  "meta_title": "xyz789",
  "name": "abc123",
  "new": 987,
  "new_from_date": "abc123",
  "new_to_date": "abc123",
  "only_x_left_in_stock": 987.65,
  "options": [CustomizableOptionInterface],
  "options_container": "abc123",
  "pattern": "xyz789",
  "performance_fabric": 987,
  "price": ProductPrices,
  "price_range": PriceRange,
  "price_tiers": [TierPrice],
  "price_view": "PRICE_RANGE",
  "product_links": [ProductLinksInterface],
  "purpose": 987,
  "rating_summary": 123.45,
  "redirect_code": 987,
  "related_products": [ProductInterface],
  "relative_url": "abc123",
  "review_count": 123,
  "reviews": ProductReviews,
  "sale": 123,
  "ship_bundle_items": "TOGETHER",
  "short_description": ComplexTextValue,
  "size": 123,
  "sku": "abc123",
  "sleeve": "abc123",
  "small_image": ProductImage,
  "special_from_date": "xyz789",
  "special_price": 123.45,
  "special_to_date": "abc123",
  "staged": true,
  "stock_status": "IN_STOCK",
  "strap_bags": "abc123",
  "style_bags": "xyz789",
  "style_bottom": "xyz789",
  "style_general": "xyz789",
  "swatch_image": "abc123",
  "thumbnail": ProductImage,
  "tier_price": 987.65,
  "tier_prices": [ProductTierPrices],
  "type": "CMS_PAGE",
  "type_id": "abc123",
  "uid": "4",
  "updated_at": "abc123",
  "upsell_products": [ProductInterface],
  "url_key": "xyz789",
  "url_path": "xyz789",
  "url_rewrites": [UrlRewrite],
  "url_suffix": "xyz789",
  "websites": [Website],
  "weight": 987.65
}

BundleProductCartItemInput

Defines a single bundle product.

Input Fields

Input Field
Description
bundle_options - [BundleOptionInput]!
A mandatory array of options for the bundle product, including each chosen option and specified quantity.
customizable_options - [CustomizableOptionInput]
The ID and value of the option.
data - CartItemInput!
The quantity and SKU of the bundle product.

Example

{
  "bundle_options": [BundleOptionInput],
  "customizable_options": [CustomizableOptionInput],
  "data": CartItemInput
}

BundleRequisitionListItem

Contains details about bundle products added to a requisition list.

Fields

Field Name
Description
bundle_options - [SelectedBundleOption]!
An array of selected options for a bundle product.
customizable_options - [SelectedCustomizableOption]!
Selected custom options for an item in the requisition list.
product - ProductInterface!
Details about a requisition list item.
quantity - Float!
The quantity of the product added to the requisition list.
uid - ID!
The unique ID of an item in a requisition list.

Example

{
  "bundle_options": [SelectedBundleOption],
  "customizable_options": [SelectedCustomizableOption],
  "product": ProductInterface,
  "quantity": 987.65,
  "uid": "4"
}

BundleShipmentItem

Defines bundle product options for ShipmentItemInterface.

Fields

Field Name
Description
bundle_options - [ItemSelectedBundleOption]
A list of bundle options that are assigned to a shipped product.
id - ID!
The unique ID for a ShipmentItemInterface object.
order_item - OrderItemInterface
The order item associated with the shipment item.
product_name - String
The name of the base product.
product_sale_price - Money!
The sale price for the base product.
product_sku - String!
The SKU of the base product.
quantity_shipped - Float!
The number of shipped items.

Example

{
  "bundle_options": [ItemSelectedBundleOption],
  "id": 4,
  "order_item": OrderItemInterface,
  "product_name": "xyz789",
  "product_sale_price": Money,
  "product_sku": "xyz789",
  "quantity_shipped": 123.45
}

BundleWishlistItem

Defines bundle product options for WishlistItemInterface.

Fields

Field Name
Description
added_at - String!
The date and time the item was added to the wish list.
bundle_options - [SelectedBundleOption]
An array containing information about the selected bundle items.
customizable_options - [SelectedCustomizableOption]!
Custom options selected for the wish list item.
description - String
The description of the item.
id - ID!
The unique ID for a WishlistItemInterface object.
product - ProductInterface
Product details of the wish list item.
quantity - Float!
The quantity of this wish list item.

Example

{
  "added_at": "abc123",
  "bundle_options": [SelectedBundleOption],
  "customizable_options": [SelectedCustomizableOption],
  "description": "abc123",
  "id": 4,
  "product": ProductInterface,
  "quantity": 123.45
}