Types
KeyValue
Contains a key-value pair.
Fields
name - Stringvalue - StringExample
{
"name": "abc123",
"value": "xyz789"
}
LayerFilter
Contains information for rendering layered navigation.
Fields
filter_items - [LayerFilterItemInterface]Aggregation.options instead.)filter_items_count - IntAggregation.count instead.)name - StringAggregation.label instead.)request_var - StringAggregation.attribute_code instead.)Example
{
"filter_items": [LayerFilterItemInterface],
"filter_items_count": 123,
"name": "abc123",
"request_var": "abc123"
}
LayerFilterItem
Fields
items_count - IntAggregationOption.count instead.)label - StringAggregationOption.label instead.)value_string - StringAggregationOption.value instead.)Example
{
"items_count": 123,
"label": "xyz789",
"value_string": "abc123"
}
LayerFilterItemInterface
Fields
items_count - IntAggregationOption.count instead.)label - StringAggregationOption.label instead.)value_string - StringAggregationOption.value instead.)Possible Types
Example
{
"items_count": 987,
"label": "xyz789",
"value_string": "xyz789"
}
LineItemNoteInput
Sets quote item note.
Input Fields
note - Stringquote_item_uid - ID!CartLineItem object.quote_uid - ID!NegotiableQuote object.Example
{
"note": "xyz789",
"quote_item_uid": 4,
"quote_uid": 4
}
MediaGalleryEntry
Defines characteristics about images and videos associated with a specific product.
Fields
content - ProductMediaGalleryEntriesContentdisabled - Booleanfile - Stringid - Intuid instead.)label - Stringmedia_type - Stringimage or video.position - Inttypes - [String]uid - ID!MediaGalleryEntry object.video_content - ProductMediaGalleryEntriesVideoContentExample
{
"content": ProductMediaGalleryEntriesContent,
"disabled": false,
"file": "abc123",
"id": 987,
"label": "xyz789",
"media_type": "abc123",
"position": 987,
"types": ["xyz789"],
"uid": "4",
"video_content": ProductMediaGalleryEntriesVideoContent
}
MediaGalleryInterface
Contains basic information about a product image or video.
Fields
disabled - Booleanlabel - Stringposition - Inturl - StringPossible Types
Example
{
"disabled": false,
"label": "abc123",
"position": 987,
"url": "abc123"
}
MessageStyleLogo
Fields
type - StringExample
{"type": "xyz789"}
MessageStyles
Fields
Example
{
"layout": "xyz789",
"logo": MessageStyleLogo
}
Money
Defines a monetary value, including a numeric value and a currency code.
Fields
currency - CurrencyEnumvalue - FloatExample
{"currency": "AFN", "value": 987.65}
MoveCartItemsToGiftRegistryOutput
Contains the customer's gift registry and any errors encountered.
Fields
gift_registry - GiftRegistrystatus - Boolean!user_errors - [GiftRegistryItemsUserError]!Example
{
"gift_registry": GiftRegistry,
"status": true,
"user_errors": [GiftRegistryItemsUserError]
}
MoveItemsBetweenRequisitionListsInput
An input object that defines the items in a requisition list to be moved.
Input Fields
requisitionListItemUids - [ID]!Example
{"requisitionListItemUids": [4]}
MoveItemsBetweenRequisitionListsOutput
Output of the request to move items to another requisition list.
Fields
destination_requisition_list - RequisitionListsource_requisition_list - RequisitionListExample
{
"destination_requisition_list": RequisitionList,
"source_requisition_list": RequisitionList
}
MoveLineItemToRequisitionListInput
Move Line Item to Requisition List.
Input Fields
quote_item_uid - ID!CartLineItem object.quote_uid - ID!NegotiableQuote object.requisition_list_uid - ID!Example
{
"quote_item_uid": 4,
"quote_uid": "4",
"requisition_list_uid": 4
}
MoveLineItemToRequisitionListOutput
Contains the updated negotiable quote.
Fields
quote - NegotiableQuoteExample
{"quote": NegotiableQuote}
MoveProductsBetweenWishlistsOutput
Contains the source and target wish lists after moving products.
Fields
destination_wishlist - Wishlist!source_wishlist - Wishlist!user_errors - [WishListUserInputError]!Example
{
"destination_wishlist": Wishlist,
"source_wishlist": Wishlist,
"user_errors": [WishListUserInputError]
}
NegotiableQuote
Contains details about a negotiable quote.
Fields
available_payment_methods - [AvailablePaymentMethod]billing_address - NegotiableQuoteBillingAddressbuyer - NegotiableQuoteUser!comments - [NegotiableQuoteComment]created_at - Stringemail - Stringhistory - [NegotiableQuoteHistoryEntry]is_virtual - Boolean!items - [CartItemInterface]name - String!prices - CartPricesselected_payment_method - SelectedPaymentMethodshipping_addresses - [NegotiableQuoteShippingAddress]!status - NegotiableQuoteStatus!total_quantity - Float!uid - ID!NegotiableQuote object.updated_at - StringExample
{
"available_payment_methods": [AvailablePaymentMethod],
"billing_address": NegotiableQuoteBillingAddress,
"buyer": NegotiableQuoteUser,
"comments": [NegotiableQuoteComment],
"created_at": "abc123",
"email": "xyz789",
"history": [NegotiableQuoteHistoryEntry],
"is_virtual": false,
"items": [CartItemInterface],
"name": "abc123",
"prices": CartPrices,
"selected_payment_method": SelectedPaymentMethod,
"shipping_addresses": [NegotiableQuoteShippingAddress],
"status": "SUBMITTED",
"total_quantity": 987.65,
"uid": "4",
"updated_at": "abc123"
}
NegotiableQuoteAddressCountry
Defines the company's country.
Fields
code - String!label - String!Example
{
"code": "abc123",
"label": "xyz789"
}
NegotiableQuoteAddressInput
Defines the billing or shipping address to be applied to the cart.
Input Fields
city - String!company - Stringcountry_code - String!firstname - String!lastname - String!postcode - Stringregion - Stringregion_id - Intsave_in_address_book - Booleanstreet - [String]!telephone - StringExample
{
"city": "xyz789",
"company": "xyz789",
"country_code": "xyz789",
"firstname": "xyz789",
"lastname": "abc123",
"postcode": "abc123",
"region": "xyz789",
"region_id": 987,
"save_in_address_book": true,
"street": ["abc123"],
"telephone": "xyz789"
}
NegotiableQuoteAddressInterface
Fields
city - String!company - Stringcountry - NegotiableQuoteAddressCountry!firstname - String!lastname - String!postcode - Stringregion - NegotiableQuoteAddressRegionstreet - [String]!telephone - StringPossible Types
Example
{
"city": "xyz789",
"company": "abc123",
"country": NegotiableQuoteAddressCountry,
"firstname": "xyz789",
"lastname": "xyz789",
"postcode": "abc123",
"region": NegotiableQuoteAddressRegion,
"street": ["xyz789"],
"telephone": "xyz789"
}
NegotiableQuoteAddressRegion
Defines the company's state or province.
Fields
code - Stringlabel - Stringregion_id - IntExample
{
"code": "xyz789",
"label": "abc123",
"region_id": 123
}
NegotiableQuoteBillingAddress
Fields
city - String!company - Stringcountry - NegotiableQuoteAddressCountry!firstname - String!lastname - String!postcode - Stringregion - NegotiableQuoteAddressRegionstreet - [String]!telephone - StringExample
{
"city": "xyz789",
"company": "xyz789",
"country": NegotiableQuoteAddressCountry,
"firstname": "abc123",
"lastname": "xyz789",
"postcode": "xyz789",
"region": NegotiableQuoteAddressRegion,
"street": ["abc123"],
"telephone": "xyz789"
}
NegotiableQuoteBillingAddressInput
Defines the billing address.
Input Fields
address - NegotiableQuoteAddressInputcustomer_address_uid - IDCustomerAddress object.same_as_shipping - Booleanuse_for_shipping - BooleanExample
{
"address": NegotiableQuoteAddressInput,
"customer_address_uid": "4",
"same_as_shipping": true,
"use_for_shipping": true
}
NegotiableQuoteComment
Contains a single plain text comment from either the buyer or seller.
Fields
author - NegotiableQuoteUser!created_at - String!creator_type - NegotiableQuoteCommentCreatorType!text - String!uid - ID!NegotiableQuoteComment object.Example
{
"author": NegotiableQuoteUser,
"created_at": "xyz789",
"creator_type": "BUYER",
"text": "abc123",
"uid": 4
}
NegotiableQuoteCommentCreatorType
Values
BUYERSELLERExample
""BUYER""
NegotiableQuoteCommentInput
Contains the commend provided by the buyer.
Input Fields
comment - String!Example
{"comment": "xyz789"}
NegotiableQuoteCustomLogChange
Contains custom log entries added by third-party extensions.
Fields
new_value - String!old_value - Stringtitle - String!Example
{
"new_value": "abc123",
"old_value": "abc123",
"title": "abc123"
}
NegotiableQuoteFilterInput
Defines a filter to limit the negotiable quotes to return.
Input Fields
ids - FilterEqualTypeInputname - FilterMatchTypeInputExample
{
"ids": FilterEqualTypeInput,
"name": FilterMatchTypeInput
}
NegotiableQuoteHistoryChanges
Contains a list of changes to a negotiable quote.
Fields
comment_added - NegotiableQuoteHistoryCommentChangecustom_changes - NegotiableQuoteCustomLogChangeexpiration - NegotiableQuoteHistoryExpirationChangeproducts_removed - NegotiableQuoteHistoryProductsRemovedChangestatuses - NegotiableQuoteHistoryStatusesChangeExample
{
"comment_added": NegotiableQuoteHistoryCommentChange,
"custom_changes": NegotiableQuoteCustomLogChange,
"expiration": NegotiableQuoteHistoryExpirationChange,
"products_removed": NegotiableQuoteHistoryProductsRemovedChange,
"statuses": NegotiableQuoteHistoryStatusesChange,
"total": NegotiableQuoteHistoryTotalChange
}
NegotiableQuoteHistoryCommentChange
Contains a comment submitted by a seller or buyer.
Fields
comment - String!Example
{"comment": "abc123"}
NegotiableQuoteHistoryEntry
Contains details about a change for a negotiable quote.
Fields
author - NegotiableQuoteUser!change_type - NegotiableQuoteHistoryEntryChangeType!changes - NegotiableQuoteHistoryChangescreated_at - Stringuid - ID!NegotiableQuoteHistoryEntry object.Example
{
"author": NegotiableQuoteUser,
"change_type": "CREATED",
"changes": NegotiableQuoteHistoryChanges,
"created_at": "abc123",
"uid": 4
}
NegotiableQuoteHistoryEntryChangeType
Values
CREATEDUPDATEDCLOSEDUPDATED_BY_SYSTEMExample
""CREATED""
NegotiableQuoteHistoryExpirationChange
Contains a new expiration date and the previous date.
Fields
new_expiration - Stringold_expiration - StringExample
{
"new_expiration": "xyz789",
"old_expiration": "abc123"
}
NegotiableQuoteHistoryProductsRemovedChange
Contains lists of products that have been removed from the catalog and negotiable quote.
Fields
products_removed_from_catalog - [ID]products_removed_from_quote - [ProductInterface]Example
{
"products_removed_from_catalog": ["4"],
"products_removed_from_quote": [ProductInterface]
}
NegotiableQuoteHistoryStatusChange
Lists a new status change applied to a negotiable quote and the previous status.
Fields
new_status - NegotiableQuoteStatus!old_status - NegotiableQuoteStatusExample
{"new_status": "SUBMITTED", "old_status": "SUBMITTED"}
NegotiableQuoteHistoryStatusesChange
Contains a list of status changes that occurred for the negotiable quote.
Fields
changes - [NegotiableQuoteHistoryStatusChange]!Example
{"changes": [NegotiableQuoteHistoryStatusChange]}
NegotiableQuoteHistoryTotalChange
Contains a new price and the previous price.
Fields
new_price - Moneyold_price - MoneyExample
{
"new_price": Money,
"old_price": Money
}
NegotiableQuoteInvalidStateError
An error indicating that an operation was attempted on a negotiable quote in an invalid state.
Fields
message - String!Example
{"message": "abc123"}
NegotiableQuoteItemQuantityInput
Specifies the updated quantity of an item.
Input Fields
quantity - Float!quote_item_uid - ID!CartItemInterface object.Example
{"quantity": 987.65, "quote_item_uid": "4"}
NegotiableQuotePaymentMethodInput
Defines the payment method to be applied to the negotiable quote.
Input Fields
code - String!purchase_order_number - StringExample
{
"code": "xyz789",
"purchase_order_number": "abc123"
}
NegotiableQuoteShippingAddress
Fields
available_shipping_methods - [AvailableShippingMethod]city - String!company - Stringcountry - NegotiableQuoteAddressCountry!firstname - String!lastname - String!postcode - Stringregion - NegotiableQuoteAddressRegionselected_shipping_method - SelectedShippingMethodstreet - [String]!telephone - StringExample
{
"available_shipping_methods": [AvailableShippingMethod],
"city": "abc123",
"company": "xyz789",
"country": NegotiableQuoteAddressCountry,
"firstname": "abc123",
"lastname": "xyz789",
"postcode": "abc123",
"region": NegotiableQuoteAddressRegion,
"selected_shipping_method": SelectedShippingMethod,
"street": ["xyz789"],
"telephone": "abc123"
}
NegotiableQuoteShippingAddressInput
Defines shipping addresses for the negotiable quote.
Input Fields
address - NegotiableQuoteAddressInputcustomer_address_uid - IDcustomer_notes - StringExample
{
"address": NegotiableQuoteAddressInput,
"customer_address_uid": "4",
"customer_notes": "xyz789"
}
NegotiableQuoteSortInput
Defines the field to use to sort a list of negotiable quotes.
Input Fields
sort_direction - SortEnum!sort_field - NegotiableQuoteSortableField!Example
{"sort_direction": "ASC", "sort_field": "QUOTE_NAME"}
NegotiableQuoteSortableField
Values
QUOTE_NAMECREATED_ATUPDATED_ATExample
""QUOTE_NAME""
NegotiableQuoteStatus
Values
SUBMITTEDPENDINGUPDATEDOPENORDEREDCLOSEDDECLINEDEXPIREDDRAFTExample
""SUBMITTED""
NegotiableQuoteTemplate
Contains details about a negotiable quote template.
Fields
buyer - NegotiableQuoteUser!comments - [NegotiableQuoteComment]expiration_date - String!history - [NegotiableQuoteHistoryEntry]is_min_max_qty_used - Boolean!is_virtual - Boolean!items - [CartItemInterface]max_order_commitment - Int!min_order_commitment - Int!name - String!notifications - [QuoteTemplateNotificationMessage]prices - CartPricesshipping_addresses - [NegotiableQuoteShippingAddress]!status - String!template_id - ID!NegotiableQuoteTemplate object.total_quantity - Float!Example
{
"buyer": NegotiableQuoteUser,
"comments": [NegotiableQuoteComment],
"expiration_date": "abc123",
"history": [NegotiableQuoteHistoryEntry],
"is_min_max_qty_used": false,
"is_virtual": false,
"items": [CartItemInterface],
"max_order_commitment": 123,
"min_order_commitment": 987,
"name": "xyz789",
"notifications": [QuoteTemplateNotificationMessage],
"prices": CartPrices,
"shipping_addresses": [NegotiableQuoteShippingAddress],
"status": "abc123",
"template_id": 4,
"total_quantity": 123.45
}
NegotiableQuoteTemplateFilterInput
Defines a filter to limit the negotiable quotes to return.
Input Fields
state - FilterEqualTypeInputstatus - FilterEqualTypeInputExample
{
"state": FilterEqualTypeInput,
"status": FilterEqualTypeInput
}
NegotiableQuoteTemplateGridItem
Contains data for a negotiable quote template in a grid.
Fields
activated_at - String!company_name - String!expiration_date - String!is_min_max_qty_used - Boolean!last_shared_at - String!max_order_commitment - Int!min_negotiated_grand_total - Float!min_order_commitment - Int!name - String!orders_placed - Int!sales_rep_name - String!state - String!status - String!submitted_by - String!template_id - ID!NegotiableQuoteTemplate object.Example
{
"activated_at": "xyz789",
"company_name": "abc123",
"expiration_date": "abc123",
"is_min_max_qty_used": false,
"last_shared_at": "xyz789",
"max_order_commitment": 123,
"min_negotiated_grand_total": 123.45,
"min_order_commitment": 987,
"name": "abc123",
"orders_placed": 123,
"sales_rep_name": "xyz789",
"state": "abc123",
"status": "abc123",
"submitted_by": "abc123",
"template_id": 4
}
NegotiableQuoteTemplateItemQuantityInput
Specifies the updated quantity of an item.
Input Fields
item_id - ID!CartItemInterface object.max_qty - Floatmin_qty - Floatquantity - Float!Example
{
"item_id": "4",
"max_qty": 987.65,
"min_qty": 987.65,
"quantity": 987.65
}
NegotiableQuoteTemplateShippingAddressInput
Defines shipping addresses for the negotiable quote template.
Input Fields
address - NegotiableQuoteAddressInputcustomer_address_uid - IDcustomer_notes - StringExample
{
"address": NegotiableQuoteAddressInput,
"customer_address_uid": "4",
"customer_notes": "abc123"
}
NegotiableQuoteTemplateSortInput
Defines the field to use to sort a list of negotiable quotes.
Input Fields
sort_direction - SortEnum!sort_field - NegotiableQuoteTemplateSortableField!Example
{"sort_direction": "ASC", "sort_field": "TEMPLATE_ID"}
NegotiableQuoteTemplateSortableField
Values
TEMPLATE_IDLAST_SHARED_ATExample
""TEMPLATE_ID""
NegotiableQuoteTemplatesOutput
Contains a list of negotiable templates that match the specified filter.
Fields
page_info - SearchResultPageInfo!sort_fields - SortFieldstotal_count - Int!Example
{
"items": [NegotiableQuoteTemplateGridItem],
"page_info": SearchResultPageInfo,
"sort_fields": SortFields,
"total_count": 987
}
NegotiableQuoteUidNonFatalResultInterface
Fields
quote_uid - ID!NegotiableQuote object.Possible Types
Example
{"quote_uid": "4"}
NegotiableQuoteUidOperationSuccess
Contains details about a successful operation on a negotiable quote.
Fields
quote_uid - ID!NegotiableQuote object.Example
{"quote_uid": 4}
NegotiableQuoteUser
A limited view of a Buyer or Seller in the negotiable quote process.
Fields
firstname - String!lastname - String!Example
{
"firstname": "xyz789",
"lastname": "xyz789"
}
NegotiableQuotesOutput
Contains a list of negotiable that match the specified filter.
Fields
items - [NegotiableQuote]!page_info - SearchResultPageInfo!sort_fields - SortFieldstotal_count - Int!Example
{
"items": [NegotiableQuote],
"page_info": SearchResultPageInfo,
"sort_fields": SortFields,
"total_count": 987
}
NoSuchEntityUidError
Contains an error message when an invalid UID was specified.
Fields
message - String!uid - ID!Example
{"message": "abc123", "uid": 4}
OpenNegotiableQuoteTemplateInput
Specifies the quote template id to open quote template.
Input Fields
template_id - ID!NegotiableQuoteTemplate object.Example
{"template_id": 4}
Order
Contains the order ID.
Fields
order_id - Stringorder_number instead.)order_number - String!Order object.Example
{
"order_id": "xyz789",
"order_number": "abc123"
}
OrderAddress
Contains detailed information about an order's billing and shipping addresses.
Fields
city - String!company - Stringcountry_code - CountryCodeEnumfax - Stringfirstname - String!lastname - String!middlename - Stringpostcode - Stringprefix - Stringregion - Stringregion_id - IDRegion object of a pre-defined region.street - [String]!suffix - Stringtelephone - Stringvat_id - StringExample
{
"city": "xyz789",
"company": "xyz789",
"country_code": "AF",
"fax": "abc123",
"firstname": "abc123",
"lastname": "abc123",
"middlename": "xyz789",
"postcode": "abc123",
"prefix": "xyz789",
"region": "xyz789",
"region_id": "4",
"street": ["xyz789"],
"suffix": "abc123",
"telephone": "xyz789",
"vat_id": "abc123"
}
OrderInformationInput
Input to retrieve an order based on details.
Input Fields
email - String!number - String!postcode - String!Example
{
"email": "abc123",
"number": "abc123",
"postcode": "abc123"
}
OrderItem
Fields
discounts - [Discount]eligible_for_return - Booleanentered_options - [OrderItemOption]gift_message - GiftMessagegift_wrapping - GiftWrappingid - ID!OrderItemInterface object.product - ProductInterfaceproduct_name - Stringproduct_sale_price - Money!product_sku - String!product_type - Stringproduct_url_key - Stringquantity_canceled - Floatquantity_invoiced - Floatquantity_ordered - Floatquantity_refunded - Floatquantity_returned - Floatquantity_shipped - Floatselected_options - [OrderItemOption]status - StringExample
{
"discounts": [Discount],
"eligible_for_return": false,
"entered_options": [OrderItemOption],
"gift_message": GiftMessage,
"gift_wrapping": GiftWrapping,
"id": "4",
"product": ProductInterface,
"product_name": "abc123",
"product_sale_price": Money,
"product_sku": "abc123",
"product_type": "xyz789",
"product_url_key": "abc123",
"quantity_canceled": 987.65,
"quantity_invoiced": 123.45,
"quantity_ordered": 123.45,
"quantity_refunded": 987.65,
"quantity_returned": 123.45,
"quantity_shipped": 123.45,
"selected_options": [OrderItemOption],
"status": "abc123"
}
OrderItemInterface
Order item details.
Fields
discounts - [Discount]eligible_for_return - Booleanentered_options - [OrderItemOption]gift_message - GiftMessagegift_wrapping - GiftWrappingid - ID!OrderItemInterface object.product - ProductInterfaceproduct_name - Stringproduct_sale_price - Money!product_sku - String!product_type - Stringproduct_url_key - Stringquantity_canceled - Floatquantity_invoiced - Floatquantity_ordered - Floatquantity_refunded - Floatquantity_returned - Floatquantity_shipped - Floatselected_options - [OrderItemOption]status - StringPossible Types
Example
{
"discounts": [Discount],
"eligible_for_return": false,
"entered_options": [OrderItemOption],
"gift_message": GiftMessage,
"gift_wrapping": GiftWrapping,
"id": "4",
"product": ProductInterface,
"product_name": "abc123",
"product_sale_price": Money,
"product_sku": "xyz789",
"product_type": "abc123",
"product_url_key": "xyz789",
"quantity_canceled": 987.65,
"quantity_invoiced": 123.45,
"quantity_ordered": 123.45,
"quantity_refunded": 987.65,
"quantity_returned": 987.65,
"quantity_shipped": 987.65,
"selected_options": [OrderItemOption],
"status": "xyz789"
}
OrderItemOption
Represents order item options like selected or entered.
Fields
label - String!value - String!Example
{
"label": "abc123",
"value": "xyz789"
}
OrderPaymentMethod
Contains details about the payment method used to pay for the order.
Fields
additional_data - [KeyValue]name - String!type - String!Example
{
"additional_data": [KeyValue],
"name": "abc123",
"type": "xyz789"
}
OrderShipment
Contains order shipment details.
Fields
comments - [SalesCommentItem]id - ID!OrderShipment object.items - [ShipmentItemInterface]number - String!tracking - [ShipmentTracking]Example
{
"comments": [SalesCommentItem],
"id": 4,
"items": [ShipmentItemInterface],
"number": "abc123",
"tracking": [ShipmentTracking]
}
OrderTokenInput
Input to retrieve an order based on token.
Input Fields
token - String!Example
{"token": "abc123"}
OrderTotal
Contains details about the sales total amounts used to calculate the final price.
Fields
base_grand_total - Money!discounts - [Discount]grand_total - Money!shipping_handling - ShippingHandlingsubtotal - Money!taxes - [TaxItem]total_giftcard - Moneytotal_shipping - Money!total_tax - Money!Example
{
"base_grand_total": Money,
"discounts": [Discount],
"grand_total": Money,
"shipping_handling": ShippingHandling,
"subtotal": Money,
"taxes": [TaxItem],
"total_giftcard": Money,
"total_shipping": Money,
"total_tax": Money
}
PayflowExpressInput
Contains required input for Payflow Express Checkout payments.
Input Fields
payer_id - String!token - String!Example
{
"payer_id": "abc123",
"token": "xyz789"
}
PayflowLinkInput
A set of relative URLs that PayPal uses in response to various actions during the authorization process. Adobe Commerce prepends the base URL to this value to create a full URL. For example, if the full URL is https://www.example.com/path/to/page.html, the relative URL is path/to/page.html. Use this input for Payflow Link and Payments Advanced payment methods.
Input Fields
cancel_url - String!error_url - String!return_url - String!Example
{
"cancel_url": "xyz789",
"error_url": "xyz789",
"return_url": "abc123"
}
PayflowLinkMode
Indicates the mode for payment. Applies to the Payflow Link and Payments Advanced payment methods.
Values
TESTLIVEExample
""TEST""
PayflowLinkToken
Contains information used to generate PayPal iframe for transaction. Applies to Payflow Link and Payments Advanced payment methods.
Fields
mode - PayflowLinkModepaypal_url - Stringsecure_token - Stringsecure_token_id - StringExample
{
"mode": "TEST",
"paypal_url": "abc123",
"secure_token": "abc123",
"secure_token_id": "xyz789"
}
PayflowLinkTokenInput
Contains information required to fetch payment token information for the Payflow Link and Payments Advanced payment methods.
Input Fields
cart_id - String!Example
{"cart_id": "xyz789"}
PayflowProInput
Contains input for the Payflow Pro and Payments Pro payment methods.
Input Fields
cc_details - CreditCardDetailsInput!is_active_payment_token_enabler - BooleanExample
{
"cc_details": CreditCardDetailsInput,
"is_active_payment_token_enabler": true
}
PayflowProResponseInput
Input required to complete payment. Applies to Payflow Pro and Payments Pro payment methods.
Input Fields
cart_id - String!paypal_payload - String!Example
{
"cart_id": "abc123",
"paypal_payload": "abc123"
}
PayflowProResponseOutput
Fields
cart - Cart!Example
{"cart": Cart}
PayflowProTokenInput
Contains input required to fetch payment token information for the Payflow Pro and Payments Pro payment methods.
Input Fields
cart_id - String!urls - PayflowProUrlInput!Example
{
"cart_id": "abc123",
"urls": PayflowProUrlInput
}
PayflowProUrlInput
Contains a set of relative URLs that PayPal uses in response to various actions during the authorization process. Magento prepends the base URL to this value to create a full URL. For example, if the full URL is https://www.example.com/path/to/page.html, the relative URL is path/to/page.html. Use this input for the Payflow Pro and Payment Pro payment methods.
Input Fields
cancel_url - String!error_url - String!return_url - String!Example
{
"cancel_url": "abc123",
"error_url": "abc123",
"return_url": "xyz789"
}
PaymentConfigItem
Contains payment fields that are common to all types of payment methods.
Fields
code - Stringis_visible - Booleanpayment_intent - Stringsdk_params - [SDKParams]sort_order - Stringtitle - StringPossible Types
Example
{
"code": "xyz789",
"is_visible": true,
"payment_intent": "abc123",
"sdk_params": [SDKParams],
"sort_order": "abc123",
"title": "abc123"
}
PaymentConfigOutput
Retrieves the payment configuration for a given location
Fields
apple_pay - ApplePayConfiggoogle_pay - GooglePayConfighosted_fields - HostedFieldsConfigsmart_buttons - SmartButtonsConfigExample
{
"apple_pay": ApplePayConfig,
"google_pay": GooglePayConfig,
"hosted_fields": HostedFieldsConfig,
"smart_buttons": SmartButtonsConfig
}
PaymentLocation
Defines the origin location for that payment request
Values
PRODUCT_DETAILMINICARTCARTCHECKOUTADMINExample
""PRODUCT_DETAIL""
PaymentMethodInput
Defines the payment method.
Input Fields
braintree - BraintreeInputbraintree_ach_direct_debit - BraintreeInputbraintree_ach_direct_debit_vault - BraintreeVaultInputbraintree_applepay_vault - BraintreeVaultInputbraintree_cc_vault - BraintreeCcVaultInputbraintree_googlepay_vault - BraintreeVaultInputbraintree_paypal - BraintreeInputbraintree_paypal_vault - BraintreeVaultInputcode - String!hosted_pro - HostedProInputpayflow_express - PayflowExpressInputpayflow_link - PayflowLinkInputpayflowpro - PayflowProInputpayflowpro_cc_vault - VaultTokenInputpayment_services_paypal_apple_pay - ApplePayMethodInputpayment_services_paypal_google_pay - GooglePayMethodInputpayment_services_paypal_hosted_fields - HostedFieldsInputpayment_services_paypal_smart_buttons - SmartButtonMethodInputpayment_services_paypal_vault - VaultMethodInputpaypal_express - PaypalExpressInputpurchase_order_number - StringExample
{
"braintree": BraintreeInput,
"braintree_ach_direct_debit": BraintreeInput,
"braintree_ach_direct_debit_vault": BraintreeVaultInput,
"braintree_applepay_vault": BraintreeVaultInput,
"braintree_cc_vault": BraintreeCcVaultInput,
"braintree_googlepay_vault": BraintreeVaultInput,
"braintree_paypal": BraintreeInput,
"braintree_paypal_vault": BraintreeVaultInput,
"code": "abc123",
"hosted_pro": HostedProInput,
"payflow_express": PayflowExpressInput,
"payflow_link": PayflowLinkInput,
"payflowpro": PayflowProInput,
"payflowpro_cc_vault": VaultTokenInput,
"payment_services_paypal_apple_pay": ApplePayMethodInput,
"payment_services_paypal_google_pay": GooglePayMethodInput,
"payment_services_paypal_hosted_fields": HostedFieldsInput,
"payment_services_paypal_smart_buttons": SmartButtonMethodInput,
"payment_services_paypal_vault": VaultMethodInput,
"paypal_express": PaypalExpressInput,
"purchase_order_number": "xyz789"
}
PaymentOrderOutput
Contains the payment order details
Fields
id - Stringmp_order_id - Stringpayment_source_details - PaymentSourceDetailsstatus - StringExample
{
"id": "abc123",
"mp_order_id": "xyz789",
"payment_source_details": PaymentSourceDetails,
"status": "abc123"
}
PaymentSDKParamsItem
Fields
code - Stringparams - [SDKParams]Example
{
"code": "xyz789",
"params": [SDKParams]
}
PaymentSourceDetails
Fields
card - CardExample
{"card": Card}
PaymentToken
The stored payment method available to the customer.
Fields
details - Stringpayment_method_code - String!public_hash - String!type - PaymentTokenTypeEnum!Example
{
"details": "xyz789",
"payment_method_code": "abc123",
"public_hash": "xyz789",
"type": "card"
}
PaymentTokenTypeEnum
The list of available payment token types.
Values
cardaccountExample
""card""
PaypalExpressInput
Contains required input for Express Checkout and Payments Standard payments.
Input Fields
payer_id - String!token - String!createPaypalExpressToken mutation.Example
{
"payer_id": "abc123",
"token": "abc123"
}
PaypalExpressTokenInput
Defines the attributes required to receive a payment token for Express Checkout and Payments Standard payment methods.
Input Fields
cart_id - String!code - String!express_button - Booleanurls - PaypalExpressUrlsInput!use_paypal_credit - BooleanExample
{
"cart_id": "xyz789",
"code": "xyz789",
"express_button": false,
"urls": PaypalExpressUrlsInput,
"use_paypal_credit": false
}
PaypalExpressTokenOutput
Contains the token returned by PayPal and a set of URLs that allow the buyer to authorize payment and adjust checkout details. Applies to Express Checkout and Payments Standard payment methods.
Fields
paypal_urls - PaypalExpressUrlListtoken - StringExample
{
"paypal_urls": PaypalExpressUrlList,
"token": "xyz789"
}
PaypalExpressUrlList
Contains a set of URLs that allow the buyer to authorize payment and adjust checkout details for Express Checkout and Payments Standard transactions.
Fields
edit - Stringstart - StringExample
{
"edit": "abc123",
"start": "abc123"
}
PaypalExpressUrlsInput
Contains a set of relative URLs that PayPal uses in response to various actions during the authorization process. Magento prepends the base URL to this value to create a full URL. For example, if the full URL is https://www.example.com/path/to/page.html, the relative URL is path/to/page.html. Use this input for Express Checkout and Payments Standard payment methods.
Input Fields
cancel_url - String!pending_url - Stringreturn_url - String!success_url - StringExample
{
"cancel_url": "abc123",
"pending_url": "xyz789",
"return_url": "xyz789",
"success_url": "xyz789"
}
PhysicalProductInterface
Contains attributes specific to tangible products.
Fields
weight - FloatPossible Types
Example
{"weight": 987.65}
PickupLocation
Defines Pickup Location information.
Fields
city - Stringcontact_name - Stringcountry_id - Stringdescription - Stringemail - Stringfax - Stringlatitude - Floatlongitude - Floatname - Stringphone - Stringpickup_location_code - Stringpostcode - Stringregion - Stringregion_id - Intstreet - StringExample
{
"city": "xyz789",
"contact_name": "xyz789",
"country_id": "abc123",
"description": "abc123",
"email": "abc123",
"fax": "xyz789",
"latitude": 123.45,
"longitude": 987.65,
"name": "abc123",
"phone": "abc123",
"pickup_location_code": "xyz789",
"postcode": "xyz789",
"region": "xyz789",
"region_id": 123,
"street": "xyz789"
}
PickupLocationFilterInput
PickupLocationFilterInput defines the list of attributes and filters for the search.
Input Fields
city - FilterTypeInputcountry_id - FilterTypeInputname - FilterTypeInputpickup_location_code - FilterTypeInputpostcode - FilterTypeInputregion - FilterTypeInputregion_id - FilterTypeInputstreet - FilterTypeInputExample
{
"city": FilterTypeInput,
"country_id": FilterTypeInput,
"name": FilterTypeInput,
"pickup_location_code": FilterTypeInput,
"postcode": FilterTypeInput,
"region": FilterTypeInput,
"region_id": FilterTypeInput,
"street": FilterTypeInput
}
PickupLocationSortInput
PickupLocationSortInput specifies attribute to use for sorting search results and indicates whether the results are sorted in ascending or descending order.
Input Fields
city - SortEnumcontact_name - SortEnumcountry_id - SortEnumdescription - SortEnumdistance - SortEnumemail - SortEnumfax - SortEnumlatitude - SortEnumlongitude - SortEnumname - SortEnumphone - SortEnumpickup_location_code - SortEnumpostcode - SortEnumregion - SortEnumregion_id - SortEnumstreet - SortEnumExample
{
"city": "ASC",
"contact_name": "ASC",
"country_id": "ASC",
"description": "ASC",
"distance": "ASC",
"email": "ASC",
"fax": "ASC",
"latitude": "ASC",
"longitude": "ASC",
"name": "ASC",
"phone": "ASC",
"pickup_location_code": "ASC",
"postcode": "ASC",
"region": "ASC",
"region_id": "ASC",
"street": "ASC"
}
PickupLocations
Top level object returned in a pickup locations search.
Fields
items - [PickupLocation]page_info - SearchResultPageInfototal_count - IntExample
{
"items": [PickupLocation],
"page_info": SearchResultPageInfo,
"total_count": 987
}
PlaceNegotiableQuoteOrderInput
Specifies the negotiable quote to convert to an order.
Input Fields
quote_uid - ID!NegotiableQuote object.Example
{"quote_uid": "4"}
PlaceNegotiableQuoteOrderOutput
An output object that returns the generated order.
Fields
order - Order!Example
{"order": Order}
PlaceOrderError
An error encountered while placing an order.
Fields
code - PlaceOrderErrorCodes!message - String!Example
{
"code": "CART_NOT_FOUND",
"message": "xyz789"
}
PlaceOrderErrorCodes
Values
CART_NOT_FOUNDCART_NOT_ACTIVEGUEST_EMAIL_MISSINGUNABLE_TO_PLACE_ORDERUNDEFINEDExample
""CART_NOT_FOUND""
PlaceOrderForPurchaseOrderInput
Specifies the purchase order to convert to an order.
Input Fields
purchase_order_uid - ID!Example
{"purchase_order_uid": "4"}
PlaceOrderForPurchaseOrderOutput
Contains the results of the request to place an order.
Fields
order - CustomerOrder!Example
{"order": CustomerOrder}
PlaceOrderInput
Specifies the quote to be converted to an order.
Input Fields
cart_id - String!Cart object.Example
{"cart_id": "abc123"}
PlaceOrderOutput
Contains the results of the request to place an order.
Fields
errors - [PlaceOrderError]!order - OrderorderV2 instead.)orderV2 - CustomerOrderExample
{
"errors": [PlaceOrderError],
"order": Order,
"orderV2": CustomerOrder
}
PlacePurchaseOrderInput
Specifies the quote to be converted to a purchase order.
Input Fields
cart_id - String!Cart object.Example
{"cart_id": "abc123"}
PlacePurchaseOrderOutput
Contains the results of the request to place a purchase order.
Fields
purchase_order - PurchaseOrder!Example
{"purchase_order": PurchaseOrder}
Price
Deprecated. Use ProductPrice instead. Defines the price of a product as well as any tax-related adjustments.
Fields
adjustments - [PriceAdjustment]ProductPrice instead.)amount - MoneyProductPrice instead.)Example
{
"adjustments": [PriceAdjustment],
"amount": Money
}
PriceAdjustment
Deprecated. Taxes will be included or excluded in the price. Defines the amount of money to apply as an adjustment, the type of adjustment to apply, and whether the item is included or excluded from the adjustment.
Fields
amount - Moneycode - PriceAdjustmentCodesEnumPriceAdjustment is deprecated.)description - PriceAdjustmentDescriptionEnumPriceAdjustment is deprecated.)Example
{
"amount": Money,
"code": "TAX",
"description": "INCLUDED"
}
PriceAdjustmentCodesEnum
PriceAdjustment.code is deprecated.
Values
TAXPriceAdjustmentCodesEnum is deprecated. Tax is included or excluded in the price. Tax is not shown separately in Catalog.)WEEEfixed_product_taxes.label instead.)WEEE_TAXfixed_product_taxes instead. Tax is included or excluded in price. The tax is not shown separtely in Catalog.)Example
""TAX""
PriceAdjustmentDescriptionEnum
PriceAdjustmentDescriptionEnum is deprecated. States whether a price adjustment is included or excluded.
Values
INCLUDEDEXCLUDEDExample
""INCLUDED""
PriceDetails
Can be used to retrieve the main price details in case of bundle product
Fields
discount_percentage - Floatmain_final_price - Floatmain_price - FloatExample
{
"discount_percentage": 987.65,
"main_final_price": 987.65,
"main_price": 987.65
}
PriceRange
Contains the price range for a product. If the product has a single price, the minimum and maximum price will be the same.
Fields
maximum_price - ProductPriceminimum_price - ProductPrice!Example
{
"maximum_price": ProductPrice,
"minimum_price": ProductPrice
}
PriceTypeEnum
Defines the price type.
Values
FIXEDPERCENTDYNAMICExample
""FIXED""
PriceViewEnum
Defines whether a bundle product's price is displayed as the lowest possible value or as a range.
Values
PRICE_RANGEAS_LOW_ASExample
""PRICE_RANGE""
ProductAttribute
Contains a product attribute code and value.
Fields
code - String!value - String!Example
{
"code": "xyz789",
"value": "abc123"
}
ProductAttributeFilterInput
Defines the filters to be used in the search. A filter contains at least one attribute, a comparison operator, and the value that is being searched for.
Input Fields
category_id - FilterEqualTypeInputcategory_uid to filter product by category ID.category_uid - FilterEqualTypeInputCategoryInterface object.category_url_path - FilterEqualTypeInputdescription - FilterMatchTypeInputname - FilterMatchTypeInputprice - FilterRangeTypeInputshort_description - FilterMatchTypeInputsku - FilterEqualTypeInputurl_key - FilterEqualTypeInputExample
{
"category_id": FilterEqualTypeInput,
"category_uid": FilterEqualTypeInput,
"category_url_path": FilterEqualTypeInput,
"description": FilterMatchTypeInput,
"name": FilterMatchTypeInput,
"price": FilterRangeTypeInput,
"short_description": FilterMatchTypeInput,
"sku": FilterEqualTypeInput,
"url_key": FilterEqualTypeInput
}
ProductAttributeSortInput
Specifies the attribute to use for sorting search results and indicates whether the results are sorted in ascending or descending order. It's possible to sort products using searchable attributes with enabled 'Use in Filter Options' option
Input Fields
name - SortEnumposition - SortEnumprice - SortEnumrelevance - SortEnumExample
{"name": "ASC", "position": "ASC", "price": "ASC", "relevance": "ASC"}
ProductCustomAttributes
Product custom attributes
Fields
errors - [AttributeMetadataError]!items - [AttributeValueInterface]!Example
{
"errors": [AttributeMetadataError],
"items": [AttributeValueInterface]
}
ProductDiscount
Contains the discount applied to a product price.
Fields
amount_off - Floatpercent_off - FloatExample
{"amount_off": 123.45, "percent_off": 987.65}
ProductFilterInput
ProductFilterInput is deprecated, use @ProductAttributeFilterInput instead. ProductFilterInput defines the filters to be used in the search. A filter contains at least one attribute, a comparison operator, and the value that is being searched for.
Input Fields
category_id - FilterTypeInputcountry_of_manufacture - FilterTypeInputcreated_at - FilterTypeInputcustom_layout - FilterTypeInputcustom_layout_update - FilterTypeInputdescription - FilterTypeInputgift_message_available - FilterTypeInputhas_options - FilterTypeInputimage - FilterTypeInputimage_label - FilterTypeInputis_returnable - FilterTypeInputmanufacturer - FilterTypeInputmax_price - FilterTypeInputmeta_description - FilterTypeInputmeta_keyword - FilterTypeInputmeta_title - FilterTypeInputmin_price - FilterTypeInputname - FilterTypeInputnews_from_date - FilterTypeInputnews_to_date - FilterTypeInputoptions_container - FilterTypeInputor - ProductFilterInputprice - FilterTypeInputrequired_options - FilterTypeInputshort_description - FilterTypeInputsku - FilterTypeInputsmall_image - FilterTypeInputsmall_image_label - FilterTypeInputspecial_from_date - FilterTypeInputspecial_price - FilterTypeInputspecial_to_date - FilterTypeInputswatch_image - FilterTypeInputthumbnail - FilterTypeInputthumbnail_label - FilterTypeInputtier_price - FilterTypeInputupdated_at - FilterTypeInputurl_key - FilterTypeInputurl_path - FilterTypeInputweight - FilterTypeInputExample
{
"category_id": FilterTypeInput,
"country_of_manufacture": FilterTypeInput,
"created_at": FilterTypeInput,
"custom_layout": FilterTypeInput,
"custom_layout_update": FilterTypeInput,
"description": FilterTypeInput,
"gift_message_available": FilterTypeInput,
"has_options": FilterTypeInput,
"image": FilterTypeInput,
"image_label": FilterTypeInput,
"is_returnable": FilterTypeInput,
"manufacturer": FilterTypeInput,
"max_price": FilterTypeInput,
"meta_description": FilterTypeInput,
"meta_keyword": FilterTypeInput,
"meta_title": FilterTypeInput,
"min_price": FilterTypeInput,
"name": FilterTypeInput,
"news_from_date": FilterTypeInput,
"news_to_date": FilterTypeInput,
"options_container": FilterTypeInput,
"or": ProductFilterInput,
"price": FilterTypeInput,
"required_options": FilterTypeInput,
"short_description": FilterTypeInput,
"sku": FilterTypeInput,
"small_image": FilterTypeInput,
"small_image_label": FilterTypeInput,
"special_from_date": FilterTypeInput,
"special_price": FilterTypeInput,
"special_to_date": FilterTypeInput,
"swatch_image": FilterTypeInput,
"thumbnail": FilterTypeInput,
"thumbnail_label": FilterTypeInput,
"tier_price": FilterTypeInput,
"updated_at": FilterTypeInput,
"url_key": FilterTypeInput,
"url_path": FilterTypeInput,
"weight": FilterTypeInput
}
ProductImage
Contains product image information, including the image URL and label.
Fields
disabled - Booleanlabel - Stringposition - Inturl - StringExample
{
"disabled": false,
"label": "abc123",
"position": 123,
"url": "abc123"
}
ProductInfoInput
Product Information used for Pickup Locations search.
Input Fields
sku - String!Example
{"sku": "abc123"}
ProductInterface
Contains fields that are common to all types of products.
Fields
attribute_set_id - Intcanonical_url - Stringcategories - [CategoryInterface]color - Intcustom_attributes field instead.)country_of_manufacture - Stringcreated_at - Stringcrosssell_products - [ProductInterface]custom_attributesV2 - ProductCustomAttributesdescription - ComplexTextValuegift_message_available - Stringid - Intuid field instead.)image - ProductImageis_returnable - Stringmanufacturer - Intcustom_attributes field instead.)media_gallery - [MediaGalleryInterface]media_gallery_entries - [MediaGalleryEntry]media_gallery instead.)meta_description - Stringmeta_keyword - Stringmeta_title - Stringname - Stringnew_from_date - Stringnew_to_date - Stringonly_x_left_in_stock - Floatoptions_container - Stringprice - ProductPricesprice_range for product price information.)price_range - PriceRange!price_tiers - [TierPrice]TierPrice objects.product_links - [ProductLinksInterface]ProductLinks objects.rating_summary - Float!related_products - [ProductInterface]review_count - Int!reviews - ProductReviews!short_description - ComplexTextValuesku - Stringsmall_image - ProductImagespecial_from_date - Stringspecial_price - Floatspecial_to_date - Stringstaged - Boolean!stock_status - ProductStockStatusswatch_image - Stringthumbnail - ProductImagetier_price - Floatprice_tiers for product tier price information.)tier_prices - [ProductTierPrices]price_tiers for product tier price information.)type_id - String__typename instead.)uid - ID!ProductInterface object.updated_at - Stringupsell_products - [ProductInterface]url_key - Stringurl_path - Stringcanonical_url or url rewrites instead)url_rewrites - [UrlRewrite]url_suffix - Stringwebsites - [Website]Possible Types
Example
{
"attribute_set_id": 987,
"canonical_url": "abc123",
"categories": [CategoryInterface],
"color": 987,
"country_of_manufacture": "xyz789",
"created_at": "xyz789",
"crosssell_products": [ProductInterface],
"custom_attributesV2": ProductCustomAttributes,
"description": ComplexTextValue,
"gift_message_available": "xyz789",
"id": 987,
"image": ProductImage,
"is_returnable": "xyz789",
"manufacturer": 123,
"media_gallery": [MediaGalleryInterface],
"media_gallery_entries": [MediaGalleryEntry],
"meta_description": "abc123",
"meta_keyword": "abc123",
"meta_title": "abc123",
"name": "xyz789",
"new_from_date": "xyz789",
"new_to_date": "abc123",
"only_x_left_in_stock": 987.65,
"options_container": "xyz789",
"price": ProductPrices,
"price_range": PriceRange,
"price_tiers": [TierPrice],
"product_links": [ProductLinksInterface],
"rating_summary": 123.45,
"related_products": [ProductInterface],
"review_count": 987,
"reviews": ProductReviews,
"short_description": ComplexTextValue,
"sku": "abc123",
"small_image": ProductImage,
"special_from_date": "abc123",
"special_price": 123.45,
"special_to_date": "xyz789",
"staged": false,
"stock_status": "IN_STOCK",
"swatch_image": "abc123",
"thumbnail": ProductImage,
"tier_price": 987.65,
"tier_prices": [ProductTierPrices],
"type_id": "xyz789",
"uid": "4",
"updated_at": "xyz789",
"upsell_products": [ProductInterface],
"url_key": "abc123",
"url_path": "abc123",
"url_rewrites": [UrlRewrite],
"url_suffix": "xyz789",
"websites": [Website]
}
ProductLinks
An implementation of ProductLinksInterface.
Fields
link_type - Stringlinked_product_sku - Stringlinked_product_type - Stringposition - Intsku - StringExample
{
"link_type": "xyz789",
"linked_product_sku": "abc123",
"linked_product_type": "abc123",
"position": 987,
"sku": "abc123"
}
ProductLinksInterface
Contains information about linked products, including the link type and product type of each item.
Fields
link_type - Stringlinked_product_sku - Stringlinked_product_type - Stringposition - Intsku - StringPossible Types
Example
{
"link_type": "xyz789",
"linked_product_sku": "xyz789",
"linked_product_type": "xyz789",
"position": 987,
"sku": "xyz789"
}
ProductMediaGalleryEntriesContent
Contains an image in base64 format and basic information about the image.
Fields
base64_encoded_data - Stringname - Stringtype - StringExample
{
"base64_encoded_data": "abc123",
"name": "abc123",
"type": "abc123"
}
ProductMediaGalleryEntriesVideoContent
Contains a link to a video file and basic information about the video.
Fields
media_type - Stringvideo_description - Stringvideo_metadata - Stringvideo_provider - Stringvideo_title - Stringvideo_url - StringExample
{
"media_type": "abc123",
"video_description": "xyz789",
"video_metadata": "abc123",
"video_provider": "abc123",
"video_title": "xyz789",
"video_url": "xyz789"
}
ProductPrice
Represents a product price.
Fields
discount - ProductDiscountfinal_price - Money!fixed_product_taxes - [FixedProductTax]regular_price - Money!Example
{
"discount": ProductDiscount,
"final_price": Money,
"fixed_product_taxes": [FixedProductTax],
"regular_price": Money
}
ProductPrices
Deprecated. Use PriceRange instead. Contains the regular price of an item, as well as its minimum and maximum prices. Only composite products, which include bundle, configurable, and grouped products, can contain a minimum and maximum price.
Fields
maximalPrice - Priceto value. (Deprecated: Use PriceRange.maximum_price instead.)minimalPrice - Pricefrom value. (Deprecated: Use PriceRange.minimum_price instead.)regularPrice - Priceregular_price from PriceRange.minimum_price or PriceRange.maximum_price instead.)Example
{
"maximalPrice": Price,
"minimalPrice": Price,
"regularPrice": Price
}
ProductReview
Contains details of a product review.
Fields
average_rating - Float!created_at - String!nickname - String!product - ProductInterface!ratings_breakdown - [ProductReviewRating]!summary - String!text - String!Example
{
"average_rating": 123.45,
"created_at": "xyz789",
"nickname": "xyz789",
"product": ProductInterface,
"ratings_breakdown": [ProductReviewRating],
"summary": "abc123",
"text": "xyz789"
}
ProductReviewRating
Contains data about a single aspect of a product review.
Fields
name - String!value - String!Example
{
"name": "abc123",
"value": "xyz789"
}
ProductReviewRatingInput
Contains the reviewer's rating for a single aspect of a review.
Input Fields
id - String!value_id - String!Example
{
"id": "abc123",
"value_id": "abc123"
}
ProductReviewRatingMetadata
Contains details about a single aspect of a product review.
Fields
id - String!name - String!values - [ProductReviewRatingValueMetadata]!Example
{
"id": "xyz789",
"name": "xyz789",
"values": [ProductReviewRatingValueMetadata]
}
ProductReviewRatingValueMetadata
Contains details about a single value in a product review.
Fields
value - String!value_id - String!Example
{
"value": "abc123",
"value_id": "xyz789"
}
ProductReviewRatingsMetadata
Contains an array of metadata about each aspect of a product review.
Fields
items - [ProductReviewRatingMetadata]!Example
{"items": [ProductReviewRatingMetadata]}
ProductReviews
Contains an array of product reviews.
Fields
items - [ProductReview]!page_info - SearchResultPageInfo!Example
{
"items": [ProductReview],
"page_info": SearchResultPageInfo
}
ProductStockStatus
This enumeration states whether a product stock status is in stock or out of stock
Values
IN_STOCKOUT_OF_STOCKExample
""IN_STOCK""
ProductTierPrices
Deprecated. Use TierPrice instead. Defines a tier price, which is a quantity discount offered to a specific customer group.
Fields
customer_group_id - Stringpercentage_value - FloatTierPrice.discount instead.)qty - FloatTierPrice.quantity instead.)value - FloatTierPrice.final_price instead.)website_id - FloatExample
{
"customer_group_id": "abc123",
"percentage_value": 987.65,
"qty": 123.45,
"value": 987.65,
"website_id": 123.45
}
ProductVideo
Contains information about a product video.
Fields
disabled - Booleanlabel - Stringposition - Inturl - Stringvideo_content - ProductMediaGalleryEntriesVideoContentProductMediaGalleryEntriesVideoContent object.Example
{
"disabled": false,
"label": "xyz789",
"position": 123,
"url": "xyz789",
"video_content": ProductMediaGalleryEntriesVideoContent
}
Products
Contains the results of a products query.
Fields
aggregations - [Aggregation]filters - [LayerFilter]aggregations instead.)items - [ProductInterface]page_info - SearchResultPageInfosort_fields - SortFieldssuggestions - [SearchSuggestion]total_count - IntExample
{
"aggregations": [Aggregation],
"filters": [LayerFilter],
"items": [ProductInterface],
"page_info": SearchResultPageInfo,
"sort_fields": SortFields,
"suggestions": [SearchSuggestion],
"total_count": 987
}
PurchaseOrder
Contains details about a purchase order.
Fields
approval_flow - [PurchaseOrderRuleApprovalFlow]!available_actions - [PurchaseOrderAction]!comments - [PurchaseOrderComment]!created_at - String!created_by - Customerhistory_log - [PurchaseOrderHistoryItem]!number - String!order - CustomerOrderquote - Cartstatus - PurchaseOrderStatus!uid - ID!updated_at - String!Example
{
"approval_flow": [PurchaseOrderRuleApprovalFlow],
"available_actions": ["REJECT"],
"comments": [PurchaseOrderComment],
"created_at": "abc123",
"created_by": Customer,
"history_log": [PurchaseOrderHistoryItem],
"number": "abc123",
"order": CustomerOrder,
"quote": Cart,
"status": "PENDING",
"uid": "4",
"updated_at": "abc123"
}
PurchaseOrderAction
Values
REJECTCANCELVALIDATEAPPROVEPLACE_ORDERExample
""REJECT""
PurchaseOrderActionError
Contains details about a failed action.
Fields
message - String!type - PurchaseOrderErrorType!Example
{"message": "xyz789", "type": "NOT_FOUND"}
PurchaseOrderApprovalFlowEvent
Contains details about a single event in the approval flow of the purchase order.
Fields
message - Stringname - Stringrole - Stringstatus - PurchaseOrderApprovalFlowItemStatusupdated_at - StringExample
{
"message": "xyz789",
"name": "xyz789",
"role": "abc123",
"status": "PENDING",
"updated_at": "xyz789"
}
PurchaseOrderApprovalFlowItemStatus
Values
PENDINGAPPROVEDREJECTEDExample
""PENDING""
PurchaseOrderApprovalRule
Contains details about a purchase order approval rule.
Fields
applies_to_roles - [CompanyRole]!approver_roles - [CompanyRole]!condition - PurchaseOrderApprovalRuleConditionInterfacecreated_at - String!created_by - String!description - Stringname - String!status - PurchaseOrderApprovalRuleStatus!uid - ID!updated_at - String!Example
{
"applies_to_roles": [CompanyRole],
"approver_roles": [CompanyRole],
"condition": PurchaseOrderApprovalRuleConditionInterface,
"created_at": "xyz789",
"created_by": "abc123",
"description": "abc123",
"name": "xyz789",
"status": "ENABLED",
"uid": 4,
"updated_at": "xyz789"
}
PurchaseOrderApprovalRuleConditionAmount
Contains approval rule condition details, including the amount to be evaluated.
Fields
amount - Money!attribute - PurchaseOrderApprovalRuleTypeoperator - PurchaseOrderApprovalRuleConditionOperatorExample
{
"amount": Money,
"attribute": "GRAND_TOTAL",
"operator": "MORE_THAN"
}
PurchaseOrderApprovalRuleConditionInterface
Purchase order rule condition details.
Fields
attribute - PurchaseOrderApprovalRuleTypeoperator - PurchaseOrderApprovalRuleConditionOperatorPossible Types
Example
{"attribute": "GRAND_TOTAL", "operator": "MORE_THAN"}
PurchaseOrderApprovalRuleConditionOperator
Values
MORE_THANLESS_THANMORE_THAN_OR_EQUAL_TOLESS_THAN_OR_EQUAL_TOExample
""MORE_THAN""
PurchaseOrderApprovalRuleConditionQuantity
Contains approval rule condition details, including the quantity to be evaluated.
Fields
attribute - PurchaseOrderApprovalRuleTypeoperator - PurchaseOrderApprovalRuleConditionOperatorquantity - IntExample
{"attribute": "GRAND_TOTAL", "operator": "MORE_THAN", "quantity": 987}
PurchaseOrderApprovalRuleInput
Defines a new purchase order approval rule.
Input Fields
applies_to - [ID]!approvers - [ID]!condition - CreatePurchaseOrderApprovalRuleConditionInput!description - Stringname - String!status - PurchaseOrderApprovalRuleStatus!Example
{
"applies_to": ["4"],
"approvers": ["4"],
"condition": CreatePurchaseOrderApprovalRuleConditionInput,
"description": "abc123",
"name": "xyz789",
"status": "ENABLED"
}
PurchaseOrderApprovalRuleMetadata
Contains metadata that can be used to render rule edit forms.
Fields
available_applies_to - [CompanyRole]!available_condition_currencies - [AvailableCurrency]!available_requires_approval_from - [CompanyRole]!Example
{
"available_applies_to": [CompanyRole],
"available_condition_currencies": [AvailableCurrency],
"available_requires_approval_from": [CompanyRole]
}
PurchaseOrderApprovalRuleStatus
Values
ENABLEDDISABLEDExample
""ENABLED""
PurchaseOrderApprovalRuleType
Values
GRAND_TOTALSHIPPING_INCL_TAXNUMBER_OF_SKUSExample
""GRAND_TOTAL""
PurchaseOrderApprovalRules
Contains the approval rules that the customer can see.
Fields
items - [PurchaseOrderApprovalRule]!page_info - SearchResultPageInfototal_count - IntExample
{
"items": [PurchaseOrderApprovalRule],
"page_info": SearchResultPageInfo,
"total_count": 123
}
PurchaseOrderComment
Contains details about a comment.
Fields
author - Customercreated_at - String!text - String!uid - ID!Example
{
"author": Customer,
"created_at": "xyz789",
"text": "xyz789",
"uid": "4"
}
PurchaseOrderErrorType
Values
NOT_FOUNDOPERATION_NOT_APPLICABLECOULD_NOT_SAVENOT_VALID_DATAUNDEFINEDExample
""NOT_FOUND""
PurchaseOrderHistoryItem
Contains details about a status change.
Fields
activity - String!created_at - String!message - String!uid - ID!Example
{
"activity": "abc123",
"created_at": "abc123",
"message": "xyz789",
"uid": "4"
}
PurchaseOrderRuleApprovalFlow
Contains details about approval roles applied to the purchase order and status changes.
Fields
events - [PurchaseOrderApprovalFlowEvent]!rule_name - String!Example
{
"events": [PurchaseOrderApprovalFlowEvent],
"rule_name": "abc123"
}
PurchaseOrderStatus
Values
PENDINGAPPROVAL_REQUIREDAPPROVEDORDER_IN_PROGRESSORDER_PLACEDORDER_FAILEDREJECTEDCANCELEDAPPROVED_PENDING_PAYMENTExample
""PENDING""
PurchaseOrders
Contains a list of purchase orders.
Fields
items - [PurchaseOrder]!page_info - SearchResultPageInfototal_count - IntExample
{
"items": [PurchaseOrder],
"page_info": SearchResultPageInfo,
"total_count": 987
}
PurchaseOrdersActionInput
Defines which purchase orders to act on.
Input Fields
purchase_order_uids - [ID]!Example
{"purchase_order_uids": ["4"]}
PurchaseOrdersActionOutput
Returns a list of updated purchase orders and any error messages.
Fields
errors - [PurchaseOrderActionError]!purchase_orders - [PurchaseOrder]!Example
{
"errors": [PurchaseOrderActionError],
"purchase_orders": [PurchaseOrder]
}
PurchaseOrdersFilterInput
Defines the criteria to use to filter the list of purchase orders.
Input Fields
company_purchase_orders - Booleancreated_date - FilterRangeTypeInputrequire_my_approval - Booleanstatus - PurchaseOrderStatusExample
{
"company_purchase_orders": false,
"created_date": FilterRangeTypeInput,
"require_my_approval": true,
"status": "PENDING"
}