Schema

O schema geral da API é disponibilizado através do Playground. Nele é possível verificar os campos disponíveis, seus tipos e descrições.

Schema Types

Table of Contents

Query (QueryRoot)

FieldArgumentTypeDescription
autocompleteAutocompleteGet query completion suggestion.
limitInt
partnerAccessTokenStringThe partner access token.
queryString
bannersBannersConnectionList of banners.
afterStringReturns the elements in the list that come after the specified cursor.
bannerIds[Long!]Filter the list by specific banner ids.
beforeStringReturns the elements in the list that come before the specified cursor.
firstIntReturns the first n elements from the list.
lastIntReturns the last n elements from the list.
partnerAccessTokenString
sortDirectionSortDirection!
sortKeyBannerSortKeys!
brandsBrandsConnectionList of brands
afterStringReturns the elements in the list that come after the specified cursor.
beforeStringReturns the elements in the list that come before the specified cursor.
brandInputBrandFilterInputBrand input
firstIntReturns the first n elements from the list.
lastIntReturns the last n elements from the list.
sortDirectionSortDirection!
sortKeyBrandSortKeys!
categoriesCategoriesConnectionList of categories.
afterStringReturns the elements in the list that come after the specified cursor.
beforeStringReturns the elements in the list that come before the specified cursor.
categoryIds[Long!]Filter the list by specific category ids.
firstIntReturns the first n elements from the list.
lastIntReturns the last n elements from the list.
sortDirectionSortDirection!
sortKeyCategorySortKeys!
checkoutCheckoutGet info from the checkout cart corresponding to the given ID.
checkoutIdString!The cart ID used for checkout operations.
contentsContentsConnectionList of contents.
afterStringReturns the elements in the list that come after the specified cursor.
beforeStringReturns the elements in the list that come before the specified cursor.
contentIds[Long!]Filter the list by specific content ids.
firstIntReturns the first n elements from the list.
lastIntReturns the last n elements from the list.
sortDirectionSortDirection!
sortKeyContentSortKeys!
customerCustomerGet informations about a customer from the store.
customerAccessTokenStringThe customer access token.
hotsiteSingleHotsiteRetrieve a single hotsite. A hotsite consists of products, banners and contents.
hotsiteIdLong
urlString
hotsitesHotsitesConnectionList of the shop's hotsites. A hotsite consists of products, banners and contents.
afterStringReturns the elements in the list that come after the specified cursor.
beforeStringReturns the elements in the list that come before the specified cursor.
firstIntReturns the first n elements from the list.
hotsiteIds[Long!]Filter the list by specific hotsite ids.
lastIntReturns the last n elements from the list.
partnerAccessTokenString
sortDirectionSortDirection!
sortKeyHotsiteSortKeys!
menuGroups[MenuGroup]List of menu groups.
partnerAccessTokenString
positionString
urlString!
nodeNode
idID!
nodes[Node]
ids[ID!]!
partnersPartnersConnectionList of partners.
afterStringReturns the elements in the list that come after the specified cursor.
beforeStringReturns the elements in the list that come before the specified cursor.
firstIntReturns the first n elements from the list.
lastIntReturns the last n elements from the list.
names[String]Filter the list by specific names.
priceTableIds[Int!]Filter the list by specific price table ids.
sortDirectionSortDirection!
sortKeyPartnerSortKeys!
productSingleProductRetrieve a product by the given id.
partnerAccessTokenStringThe partner access token.
productIdLong!The product ID.
productOptions ÔÜá´©ÅProductOptionOptions available for the given product.

ÔÜá´©Å DEPRECATED

Use the product query.
productIdLong!
productRecommendations[Product]Retrieve a list of recommended products by product id.
algorithmProductRecommendationAlgorithm!Algorithm type.
partnerAccessTokenStringThe partner access token.
productIdLong!The product identifier.
quantityInt!The number of product recommendations.
productsProductsConnectionRetrieve a list of products by specific filters.
afterStringReturns the elements in the list that come after the specified cursor.
beforeStringReturns the elements in the list that come before the specified cursor.
filtersProductExplicitFiltersInput!The product filters to apply.
firstIntReturns the first n elements from the list.
lastIntReturns the last n elements from the list.
partnerAccessTokenStringThe partner access token.
sortDirectionSortDirection!
sortKeyProductSortKeys!
scripts[Script]Retrieve a list of scripts.
nameStringThe script name.
pageType[ScriptPageType!]The script page type list.
positionScriptPositionThe script position.
urlStringUrl for available scripts.
searchSearchSearch products with cursor pagination.
operationOperation!The operation to perform between quuery terms.
partnerAccessTokenStringThe partner access token.
queryStringThe search query.
shippingQuotes[ShippingQuote]Get the shipping quotes by providing CEP and checkout or product identifier.
cepCEPCEP to get the shipping quotes.
checkoutIdUuidCheckout identifier to get the shipping quotes.
productVariantIdLongProduct identifier to get the shipping quotes.
shopShopStore informations
shopSettings[ShopSetting]Store settings
settingNames[String]Setting names
uriUriGet the URI kind.
urlString!

Mutation

FieldArgumentTypeDescription
checkoutAddProductCheckoutAdd products to an existing checkout
inputCheckoutProductInput!Params to add products to an existing checkout
checkoutRemoveProductCheckoutRemove products from an existing checkout
inputCheckoutProductInput!Params to remove products from an existing checkout
createCheckoutCheckoutCreate a new checkout
products[CheckoutProductItemInput]
createNewsletterRegisterNewsletterNodeRegister an email in the newsletter.
inputNewsletterInput!
createProductReviewReviewAdds a review to a product variant.
inputReviewCreateInput!
customerAccessTokenCreateCustomerAccessTokenCreates a new customer access token with an expiration time.
inputCustomerAccessTokenInput!
customerAccessTokenRenewCustomerAccessTokenRenews the expiration time of a customer access token. The token must not be expired.
customerAccessTokenString!
updateAddressCustomerAddressNodeChange an existing address
addressCustomerAddressInput!
customerAccessTokenString!
idIDThe customer address unique identifier.
wishlistAddProduct[Product]Adds a product to the customer's wishlist.
customerAccessTokenString!A customer's access token
productIdLong!ID of the product to be added to the customer's wishlist
wishlistRemoveProduct[Product]Removes a product from the customer's wishlist.
customerAccessTokenString!A customer's access token
productIdLong!ID of the product to be removed from the customer's wishlist

Objects

Attribute

Attributes available for the variant products from the given productId.

FieldArgumentTypeDescription
attributeIdLong!The id of the attribute.
displayTypeStringThe display type of the attribute.
idIDThe node unique identifier.
nameStringThe name of the attribute.
typeStringThe type of the attribute.
values[AttributeValue]The values of the attribute.

AttributeMatrix

FieldArgumentTypeDescription
columnAttributeMatrixInfoInformation about the column attribute.
data[[AttributeMatrixProduct]]The matrix products data. List of rows.
rowAttributeMatrixInfoInformation about the row attribute.

AttributeMatrixInfo

FieldArgumentTypeDescription
displayTypeString
nameString
values[AttributeMatrixRowColumnInfoValue]

AttributeMatrixProduct

FieldArgumentTypeDescription
availableBoolean!
productVariantIdLong!
stockLong!

AttributeMatrixRowColumnInfoValue

FieldArgumentTypeDescription
printUrlString
valueString

AttributeSelection

Attributes available for the variant products from the given productId.

FieldArgumentTypeDescription
canBeMatrixBoolean!Check if the current product attributes can be rendered as a matrix.
matrixAttributeMatrixInformations about the attribute matrix.
selectedVariantProductVariantThe selected variant given the current input filters. Variant may be from brother product Id.
selections[AttributeSelectionOption]Attributes available for the variant products from the given productId.

AttributeSelectionOption

Attributes available for the variant products from the given productId.

FieldArgumentTypeDescription
attributeIdLong!The id of the attribute.
displayTypeStringThe display type of the attribute.
nameStringThe name of the attribute.
values[AttributeSelectionOptionValue]The values of the attribute.
varyByParentBoolean!If the attributes varies by parent.

AttributeSelectionOptionValue

FieldArgumentTypeDescription
aliasString
availableBoolean!
printUrlString
selectedBoolean!
valueStringThe value of the attribute.

AttributeValue

Attributes values with variants

FieldArgumentTypeDescription
productVariants[ProductVariant]Product variants that have the attribute.
valueStringThe value of the attribute.

Autocomplete

Get query completion suggestion.

FieldArgumentTypeDescription
products[Product]Suggested products based on the current query.
suggestions[String]List of possible query completions.

Banner

A banner is usually an image used to show sales, highlight products, announcements or to redirect to another page or hotsite on click.

FieldArgumentTypeDescription
altTextStringBanner's alternative text.
bannerIdLong!Banner unique identifier.
bannerNameStringBanner's name.
bannerUrlStringURL where the banner is stored.
creationDateDateTimeThe date the banner was created.
displayOnAllPagesBoolean!Field to check if the banner should be displayed on all pages.
displayOnCategoriesBoolean!Field to check if the banner should be displayed on category pages.
displayOnSearchesBoolean!Field to check if the banner should be displayed on search pages.
displayOnWebsiteBoolean!Field to check if the banner should be displayed on the website.
displayToPartnersBoolean!Field to check if the banner should be displayed to partners.
heightIntThe banner's height in px.
idIDThe node unique identifier.
openNewTabBoolean!Field to check if the banner URL should open in another tab on click.
orderInt!The displaying order of the banner.
positionStringThe displaying position of the banner.
searchTerms[String]A list of terms to display the banner on search.
titleStringThe banner's title.
urlOnClickStringURL to be redirected on click.
widthIntThe banner's width in px.

BannersConnection

A connection to a list of items.

FieldArgumentTypeDescription
edges[BannersEdge!]A list of edges.
nodes[Banner]A flattened list of the nodes.
pageInfoPageInfo!Information to aid in pagination.

BannersEdge

An edge in a connection.

FieldArgumentTypeDescription
cursorString!A cursor for use in pagination.
nodeBannerThe item at the end of the edge.

BestInstallment

FieldArgumentTypeDescription
discountBoolean!Wether the installment has discount.
displayNameStringThe custom display name of the best installment plan option.
feesBoolean!Wether the installment has fees.
nameStringThe name of the best installment plan option.
numberInt!The number of installments.
valueDecimal!The value of the installment.

Brand

Informations about brands and its products.

FieldArgumentTypeDescription
activeBoolean!If the brand is active at the platform.
aliasStringThe alias for the brand's hotsite.
brandIdLong!Brand unique identifier.
createdAtDateTime!The date the brand was created in the database.
idIDThe node unique identifier.
nameStringThe brand's name.
productsProductsConnectionA list of products from the brand.
afterStringReturns the elements in the list that come after the specified cursor.
beforeStringReturns the elements in the list that come before the specified cursor.
firstIntReturns the first n elements from the list.
lastIntReturns the last n elements from the list.
partnerAccessTokenString
sortDirectionSortDirection!
sortKeyProductSortKeys!
updatedAtDateTime!The last update date.
urlCarrosselStringA web address to be redirected.
urlLinkStringA web address linked to the brand.
urlLogoStringThe url of the brand's logo.

BrandsConnection

A connection to a list of items.

FieldArgumentTypeDescription
edges[BrandsEdge!]A list of edges.
nodes[Brand]A flattened list of the nodes.
pageInfoPageInfo!Information to aid in pagination.
totalCountInt!

BrandsEdge

An edge in a connection.

FieldArgumentTypeDescription
cursorString!A cursor for use in pagination.
nodeBrandThe item at the end of the edge.

Breadcrumb

Informations about breadcrumb.

FieldArgumentTypeDescription
linkStringBreadcrumb link.
textStringBreadcrumb text.

CategoriesConnection

A connection to a list of items.

FieldArgumentTypeDescription
edges[CategoriesEdge!]A list of edges.
nodes[Category]A flattened list of the nodes.
pageInfoPageInfo!Information to aid in pagination.

CategoriesEdge

An edge in a connection.

FieldArgumentTypeDescription
cursorString!A cursor for use in pagination.
nodeCategoryThe item at the end of the edge.

Category

Categories are used to arrange your products into different sections by similarity.

FieldArgumentTypeDescription
categoryIdLong!Category unique identifier.
children[Category]A list of child categories, if it exists.
descriptionStringA description to the category.
displayMenuBoolean!Field to check if the category is displayed in the store's menu.
hotsiteAliasStringThe hotsite alias.
hotsiteUrlStringThe URL path for the category.
idIDThe node unique identifier.
imageUrlStringThe url to access the image linked to the category.
imageUrlLinkStringThe web address to access the image linked to the category.
nameStringThe category's name.
parentCategoryThe parent category, if it exists.
parentCategoryIdLong!The parent category unique identifier.
positionInt!The position the category will be displayed.
productsProductsConnectionA list of products associated with the category.
afterStringReturns the elements in the list that come after the specified cursor.
beforeStringReturns the elements in the list that come before the specified cursor.
firstIntReturns the first n elements from the list.
lastIntReturns the last n elements from the list.
partnerAccessTokenString
sortDirectionSortDirection!
sortKeyProductSortKeys!
urlLinkStringA web address linked to the category.

Checkout

FieldArgumentTypeDescription
cepIntThe CEP.
checkoutIdUuid!The checkout unique identifier.
couponStringThe coupon for discounts.
idIDThe node unique identifier.
loginString
products[CheckoutProductNode]A list of products associated with the checkout.
shippingFeeDecimal!The shipping fee.
subtotalDecimal!The subtotal value.
totalDecimal!The total value.
updateDateDateTime!The last update date.
urlStringUrl for the current checkout id.

CheckoutProductAttributeNode

FieldArgumentTypeDescription
nameStringThe attribute name
typeInt!The attribute type
valueStringThe attribute value

CheckoutProductNode

FieldArgumentTypeDescription
ajustedPriceDecimal!The product adjusted price
brandStringThe product brand
categoryStringThe product category
giftBoolean!The product is a gift
googleCategory[String]The product Google category
imageUrlStringThe product URL image
informations[String]The product informations
installmentFeeBoolean!The product installment fee
installmentValueDecimal!The product installment value
listPriceDecimal!The product list price
nameStringThe product name
numberOfInstallmentsInt!The product number of installments
priceDecimal!The product price
productAttributes[CheckoutProductAttributeNode]The product attributes
productIdLong!The product unique identifier.
productVariantIdLong!The product variant unique identifier.
quantityInt!The product quantity
shippingDeadlineCheckoutShippingDeadlineNodeThe product shipping deadline
skuStringThe product SKU
urlStringThe product URL

CheckoutShippingDeadlineNode

FieldArgumentTypeDescription
deadlineInt!The shipping deadline
descriptionStringThe shipping description
secondDescriptionStringThe shipping second description
secondTitleStringThe shipping second title
titleStringThe shipping title

Content

Contents are used to show things to the user.

FieldArgumentTypeDescription
contentStringThe content in html to be displayed.
contentIdLong!Content unique identifier.
creationDateDateTimeThe date the content was created.
heightIntThe content's height in px.
idIDThe node unique identifier.
positionStringThe content's position.
searchTerms[String]A list of terms to display the content on search.
titleStringThe content's title.
widthIntThe content's width in px.

ContentsConnection

A connection to a list of items.

FieldArgumentTypeDescription
edges[ContentsEdge!]A list of edges.
nodes[Content]A flattened list of the nodes.
pageInfoPageInfo!Information to aid in pagination.

ContentsEdge

An edge in a connection.

FieldArgumentTypeDescription
cursorString!A cursor for use in pagination.
nodeContentThe item at the end of the edge.

Customer

A customer from the store.

FieldArgumentTypeDescription
birthDateDateTime!Customer's birth date.
businessPhoneNumberStringCustomer's business phone number.
cnpjStringTaxpayer identification number for businesses.
companyNameStringEntities legal name.
cpfStringBrazilian individual taxpayer registry identification.
creationDateDateTime!Creation Date.
customerIdLong!Customer's unique identifier.
customerNameStringCustomer's name.
customerTypeStringIndicates if it is a natural person or company profile.
deliveryAddressCustomerAddressNodeCustomer's delivery address.
emailStringCustomer's email address.
genderStringCustomer's gender.
idIDThe node unique identifier.
mobilePhoneNumberStringCustomer's mobile phone number.
ordersStatisticsCustomerOrdersStatisticsStatistics about the orders the customer made in a specific timeframe.
dateGteDateTimeFilter que customer orders by date greater than or equal the specified date.
dateLtDateTimeFilter que customer orders by date lesser than the specified date.
onlyPaidOrdersBoolean!Toggle to apply the statistics only on orders with paid status.
partnerIdLongThe partner id which the order was made with.
partners[CustomerPartnerNode]Get info about the associated partners.
phoneNumberStringCustomer's phone number.
residencialAddressCustomerAddressNodeCustomer's residencial address.
responsibleNameStringResponsible's name.
rgStringRegistration number Id.
stateRegistrationStringState registration number.
updateDateDateTime!Date of the last update.
wishlistwishlistCustomer wishlist.

CustomerAccessToken

FieldArgumentTypeDescription
tokenString
validUntilDateTime!

CustomerAddressNode

FieldArgumentTypeDescription
activeBoolean!If the address is active or not.
addressDetailsStringAddress details.
addressNumberStringAddress number.
cepStringzip code.
cityStringaddress city.
countryStringCountry.
emailStringThe email of the customer address.
idIDThe node unique identifier.
nameStringThe name of the customer address.
neighborhoodStringAddress neighborhood.
phoneStringThe phone of the customer address.
referencePointStringAddress reference point.
stateStringState.
streetStringAddress street.

CustomerOrdersStatistics

FieldArgumentTypeDescription
productsQuantityInt!The number of products the customer made from the number of orders.
quantityInt!The number of orders the customer made.

CustomerPartnerNode

FieldArgumentTypeDescription
aliasStringThe partner alias.
nameStringThe partner's name.
partnerAccessTokenStringThe partner's access token.

Customization

Some products can have customizations, such as writing your name on it or other predefined options.

FieldArgumentTypeDescription
costDecimal!Cost of customization.
customizationIdLong!Customization unique identifier.
groupNameStringCustomization group's name.
idIDThe node unique identifier.
nameStringThe customization's name.
orderInt!Priority order of customization.
typeStringType of customization.
values[String]Value of customization.

Hotsite

A hotsite is a group of products used to organize them or to make them easier to browse.

FieldArgumentTypeDescription
banners[Banner]A list of banners associated with the hotsite.
contents[Content]A list of contents associated with the hotsite.
endDateDateTimeThe hotsite will be displayed until this date.
expressionStringExpression used to associate products to the hotsite.
hotsiteIdLong!Hotsite unique identifier.
idIDThe node unique identifier.
nameStringThe hotsite's name.
pageSizeInt!Set the quantity of products displayed per page.
productsProductsConnectionA list of products associated with the hotsite.
afterStringReturns the elements in the list that come after the specified cursor.
beforeStringReturns the elements in the list that come before the specified cursor.
firstIntReturns the first n elements from the list.
lastIntReturns the last n elements from the list.
sortDirectionSortDirection!
sortKeyProductSortKeys!
sortingHotsiteSortingSorting information to be used by default on the hotsite.
startDateDateTimeThe hotsite will be displayed from this date.
subtypeHotsiteSubtypeThe subtype of the hotsite.
templateStringThe template used for the hotsite.
urlStringThe hotsite's URL.

HotsiteSorting

FieldArgumentTypeDescription
directionSortDirection
fieldProductSortKeys

HotsitesConnection

A connection to a list of items.

FieldArgumentTypeDescription
edges[HotsitesEdge!]A list of edges.
nodes[Hotsite]A flattened list of the nodes.
pageInfoPageInfo!Information to aid in pagination.

HotsitesEdge

An edge in a connection.

FieldArgumentTypeDescription
cursorString!A cursor for use in pagination.
nodeHotsiteThe item at the end of the edge.

Image

Informations about an image of a product.

FieldArgumentTypeDescription
fileNameStringThe name of the image file.
miniBoolean!Check if the image is used for the product main image.
orderInt!Numeric order the image should be displayed.
printBoolean!Check if the image is used for the product prints only.
urlStringThe url to retrieve the image

Information

Information registred to the product.

FieldArgumentTypeDescription
idLong!The information id.
titleStringThe information title.
typeStringThe information type.
valueStringThe information value.

Installment

FieldArgumentTypeDescription
discountBoolean!Wether the installment has discount.
feesBoolean!Wether the installment has fees.
numberInt!The number of installments.
valueDecimal!The value of the installment.

InstallmentPlan

FieldArgumentTypeDescription
displayNameStringThe custom display name of this installment plan.
installments[Installment]List of the installments.
nameStringThe name of this installment plan.

Menu

Informations about menu items.

FieldArgumentTypeDescription
cssClassStringMenu css class to apply.
idIDThe node unique identifier.
imageUrlStringMenu image url address.
levelInt!Menu hierarchy level.
linkStringMenu link address.
menuGroupIdInt!Menu group identifier.
menuIdInt!Menu identifier.
nameString!Menu name.
openNewTabBoolean!Menu hierarchy level.
orderInt!Menu position order.
parentMenuIdIntParent menu identifier.
textStringMenu extra text.

MenuGroup

Informations about menu groups.

FieldArgumentTypeDescription
idIDThe node unique identifier.
imageUrlStringMenu group image url.
menuGroupIdInt!Menu group identifier.
menus[Menu]List of menus associated with the current group
nameStringMenu group name.
partnerIdIntMenu group partner id.
positionStringMenu group position.

NewsletterNode

FieldArgumentTypeDescription
createDateDateTime!Newsletter creation date.
emailStringThe newsletter receiver email.
nameStringThe newsletter receiver name.
updateDateDateTimeNewsletter update date.

PageInfo

Information about pagination in a connection.

FieldArgumentTypeDescription
endCursorStringWhen paginating forwards, the cursor to continue.
hasNextPageBoolean!Indicates whether more edges exist following the set defined by the clients arguments.
hasPreviousPageBoolean!Indicates whether more edges exist prior the set defined by the clients arguments.
startCursorStringWhen paginating backwards, the cursor to continue.

Partner

Partners are used to assign specific products or price tables depending on its scope.

FieldArgumentTypeDescription
aliasStringThe partner alias.
endDateDateTime!The partner is valid until this date.
idIDThe node unique identifier.
logoUrlStringThe pertner logo's URL.
nameStringThe partner's name.
originStringThe partner's origin.
partnerAccessTokenStringThe partner's access token.
partnerIdLong!Partner unique identifier.
portfolioIdInt!Portfolio identifier assigned to this partner.
priceTableIdInt!Price table identifier assigned to this partner.
startDateDateTime!The partner is valid from this date.
typeStringThe type of scoped the partner is used.

PartnersConnection

A connection to a list of items.

FieldArgumentTypeDescription
edges[PartnersEdge!]A list of edges.
nodes[Partner]A flattened list of the nodes.
pageInfoPageInfo!Information to aid in pagination.

PartnersEdge

An edge in a connection.

FieldArgumentTypeDescription
cursorString!A cursor for use in pagination.
nodePartnerThe item at the end of the edge.

PriceRange

Range of prices for this product.

FieldArgumentTypeDescription
quantityInt!The quantity of products in this range.
rangeStringThe price range.

PriceTable

FieldArgumentTypeDescription
discountPercentageDecimal!The amount of discount in percentage.
idLong!The id of this price table.
listPriceDecimalThe listed regular price of this table.
priceDecimal!The current working price of this table.

Prices

The prices of the product.

FieldArgumentTypeDescription
bestInstallmentBestInstallmentThe best installment option available.
discountPercentageDecimal!The amount of discount in percentage.
discountedBoolean!Wether the current price is discounted.
installmentPlans[InstallmentPlan]List of the possibles installment plans.
listPriceDecimalThe listed regular price of the product.
multiplicationFactorFloat!The multiplication factor used for items that are sold by quantity.
priceDecimal!The current working price.
priceTables[PriceTable]List of the product different price tables.Only returned when using the partnerAccessToken or public price tables.

Product

A product represents an item for sale in the store.

FieldArgumentTypeDescription
addToCartFromSpotBooleanCheck if the product can be added to cart directly from spot.
aliasStringThe product url alias.
attributes[ProductAttribute]List of the product attributes.
availableBooleanField to check if the product is available in stock.
averageRatingIntThe product average rating. From 0 to 5.
conditionStringThe product condition.
createdAtDateTimeThe product creation date.
deadlineIntThe product delivery deadline.
displayBooleanCheck if the product should be displayed.
displayOnlyPartnerBooleanCheck if the product should be displayed only for partners.
displaySearchBooleanCheck if the product should be displayed on search.
eanStringThe product's unique EAN.
freeShippingBooleanCheck if the product offers free shipping.
idIDThe node unique identifier.
images[Image]List of the product images.
heightIntThe height of the image the url will return.
widthIntThe width of the image the url will return.
informations[Information]List of the product insformations.
mainVariantBooleanCheck if its the main variant.
minimumOrderQuantityIntThe product minimum quantity for an order.
newReleaseBooleanCheck if the product is a new release.
numberOfVotesIntThe number of votes that the average rating consists of.
parentIdLongParent product unique identifier.
pricesPricesThe product prices.
productBrandProductBrandSummarized informations about the brand of the product.
productCategories[ProductCategory]Summarized informations about the categories of the product.
productIdLongProduct unique identifier.
productNameStringThe product name.
productSubscriptionProductSubscriptionSummarized informations about the subscription of the product.
productVariantIdLongVariant unique identifier.
promotions[Promotion]List of promotions this product belongs to.
similarProducts[SimilarProduct]List of similar products.
skuStringThe product's unique SKU.
spotAttributes[String]The values of the spot attribute.
spotInformationStringThe product spot information.
spotlightBooleanCheck if the product is on spotlight.
stockLongThe available stock at the default distribution center.
stocks[Stock]List of the product stocks on different distribution centers.
subscriptionGroups[SubscriptionGroup]List of subscription groups this product belongs to.
telesalesBooleanCheck if the product is a telesale.
updatedAtDateTimeThe product last update date.
variantNameStringThe variant name.

ProductAggregations

FieldArgumentTypeDescription
filters[SearchFilter]List of product filters which can be used to filter subsequent queries.
maximumPriceDecimal!Minimum price of the products.
minimumPriceDecimal!Maximum price of the products.
priceRanges[PriceRange]List of price ranges for the selected products.

ProductAttribute

The attributes of the product.

FieldArgumentTypeDescription
attributeIdLong!The id of the attribute.
displayTypeStringThe display type of the attribute.
idIDThe node unique identifier.
nameStringThe name of the attribute.
typeStringThe type of the attribute.
valueStringThe value of the attribute.

ProductBrand

FieldArgumentTypeDescription
aliasStringThe hotsite url alias fot this brand.
idLong!The brand id.
logoUrlStringThe url that contains the brand logo image.
nameStringThe name of the brand.

ProductCategory

Information about the category of a product.

FieldArgumentTypeDescription
activeBoolean!Wether the category is currently active.
googleCategoriesStringThe categories in google format.
hierarchyStringThe category hierarchy.
idInt!The id of the category.
mainBoolean!Wether this category is the main category for this product.
nameStringThe category name.
urlStringThe category hotsite url alias.

ProductCollectionSegment

FieldArgumentTypeDescription
items[Product]
pageInt!
pageSizeInt!
totalCountInt!

ProductOption

Options available for the given product.

FieldArgumentTypeDescription
attributes[Attribute]A list of attributes available for the given product and its variants.
filter[AttributeFilterInput]
customizations[Customization]A list of customizations available for the given products.
idIDThe node unique identifier.

ProductSubscription

FieldArgumentTypeDescription
discountDecimal!The amount of discount if this product is sold as a subscription.
priceDecimalThe price of the product when sold as a subscription.
subscriptionOnlyBoolean!Wether this product is sold only as a subscrition.

ProductVariant

Product variants that have the attribute.

FieldArgumentTypeDescription
aliasStringThe product alias.
availableBooleanField to check if the product is available in stock.
idIDThe node unique identifier.
images[Image]The product's images.
heightIntThe height of the image the url will return.
widthIntThe width of the image the url will return.
pricesPricesThe product prices.
productIdLongProduct unique identifier.
productVariantIdLongVariant unique identifier.
stockLongThe available stock at the default distribution center.

ProductsConnection

A connection to a list of items.

FieldArgumentTypeDescription
edges[ProductsEdge!]A list of edges.
nodes[Product]A flattened list of the nodes.
pageInfoPageInfo!Information to aid in pagination.
totalCountInt!

ProductsEdge

An edge in a connection.

FieldArgumentTypeDescription
cursorString!A cursor for use in pagination.
nodeProductThe item at the end of the edge.

Promotion

Information about promotions of a product.

FieldArgumentTypeDescription
contentStringThe promotion html content.
idLong!The promotion id.
stampStringThe stamp of the promotion.
titleStringThe promotion title.

Review

A product review written by a customer.

FieldArgumentTypeDescription
customerStringThe reviewer name.
emailStringThe reviewer e-mail.
ratingInt!The review rating.
reviewStringThe review content.
reviewDateDateTime!The review date.

SEO

Entity SEO information.

FieldArgumentTypeDescription
contentStringContent of SEO.
httpEquivStringEquivalent SEO type for HTTP.
nameStringName of SEO.
schemeStringScheme for SEO.
typeStringType of SEO.

Script

Returns the scripts registered in the script manager.

FieldArgumentTypeDescription
contentStringThe script content.
nameStringThe script name.
pageTypeScriptPageType!The script page type.
positionScriptPosition!The script position.
priorityInt!The script priority.

Search

Search for relevant products to the searched term.

FieldArgumentTypeDescription
aggregationsProductAggregationsAggregations from the products.
banners[Banner]A list of banners displayed in search pages.
breadcrumbs[Breadcrumb]List of search breadcrumbs.
contents[Content]A list of contents displayed in search pages.
forbiddenTermforbiddenTermInformation about forbidden term.
productsProductsConnectionA cursor based paginated list of products from the search.
afterStringReturns the elements in the list that come after the specified cursor.
beforeStringReturns the elements in the list that come before the specified cursor.
filters[ProductFilterInput]List of filters. Check filters result for available inputs.
firstIntReturns the first n elements from the list.
lastIntReturns the last n elements from the list.
maximumPriceDecimalMaximum price filter.
minimumPriceDecimalMinimum price filter.
onlyMainVariantBoolean!Toggle the return of only main variants.
sortDirectionSortDirection!
sortKeyProductSearchSortKeys!
productsByOffsetProductCollectionSegmentAn offset based paginated list of products from the search.
filters[ProductFilterInput]List of filters. Check filters result for available inputs.
limitInt!The number of products to return.
maximumPriceDecimalMaximum price filter.
minimumPriceDecimalMinimum price filter.
offsetInt!The offset used to paginate.
onlyMainVariantBoolean!Toggle the return of only main variants.
sortDirectionSortDirection!
sortKeyProductSearchSortKeys!
redirectUrlStringRedirection url in case a term in the search triggers a redirect.
searchTimeStringTime taken to perform the search.

SearchFilter

Aggregated filters of a list of products.

FieldArgumentTypeDescription
fieldStringThe name of the field.
originStringThe origin of the field.
values[SearchFilterItem]List of the values of the field.

SearchFilterItem

Details of a filter value.

FieldArgumentTypeDescription
nameStringThe name of the value.
quantityInt!The quantity of product with this value.

ShippingProduct

The product informations related to the shipping.

FieldArgumentTypeDescription
productVariantIdInt!The product unique identifier.
valueFloat!The shipping value related to the product.

ShippingQuote

A shipping quote.

FieldArgumentTypeDescription
deadlineInt!The shipping deadline.
idIDThe node unique identifier.
nameStringThe shipping name.
products[ShippingProduct]The products related to the shipping.
shippingQuoteIdUuid!The shipping quote unique identifier.
typeStringThe shipping type.
valueFloat!The shipping value.

Shop

Informations about the store.

FieldArgumentTypeDescription
checkoutUrlStringCheckout URL
mainUrlStringStore main URL
mobileCheckoutUrlStringMobile checkout URL
mobileUrlStringMobile URL
nameStringStore name

ShopSetting

Store setting.

FieldArgumentTypeDescription
nameStringSetting name
valueStringSetting value

SimilarProduct

Information about a similar product.

FieldArgumentTypeDescription
aliasStringThe url alias of this similar product.
imageStringThe file name of the similar product image.
nameStringThe name of the similar product.

SingleHotsite

A hotsite is a group of products used to organize them or to make them easier to browse.

FieldArgumentTypeDescription
aggregationsProductAggregationsAggregations from the products.
banners[Banner]A list of banners associated with the hotsite.
breadcrumbs[Breadcrumb]A list of breadcrumbs for the hotsite.
contents[Content]A list of contents associated with the hotsite.
endDateDateTimeThe hotsite will be displayed until this date.
expressionStringExpression used to associate products to the hotsite.
hotsiteIdLong!Hotsite unique identifier.
idIDThe node unique identifier.
nameStringThe hotsite's name.
pageSizeInt!Set the quantity of products displayed per page.
productsProductsConnectionA list of products associated with the hotsite. Cursor pagination.
afterStringReturns the elements in the list that come after the specified cursor.
beforeStringReturns the elements in the list that come before the specified cursor.
filters[ProductFilterInput]List of filters. Check filters result for available inputs.
firstIntReturns the first n elements from the list.
lastIntReturns the last n elements from the list.
maximumPriceDecimalMaximum price filter.
minimumPriceDecimalMinimum price filter.
onlyMainVariantBoolean!Toggle the return of only main variants.
partnerAccessTokenStringThe partner access token.
sortDirectionSortDirection
sortKeyProductSortKeys
productsByOffsetProductCollectionSegmentA list of products associated with the hotsite. Offset pagination.
filters[ProductFilterInput]List of filters. Check filters result for available inputs.
limitInt!The number of products to return.
maximumPriceDecimalMaximum price filter.
minimumPriceDecimalMinimum price filter.
offsetInt!The offset used to paginate.
onlyMainVariantBoolean!Toggle the return of only main variants.
partnerAccessTokenStringThe partner access token.
sortDirectionSortDirection
sortKeyProductSortKeys
seo[SEO]A list of SEO contents associated with the hotsite.
sortingHotsiteSortingSorting information to be used by default on the hotsite.
startDateDateTimeThe hotsite will be displayed from this date.
subtypeHotsiteSubtypeThe subtype of the hotsite.
templateStringThe template used for the hotsite.
urlStringThe hotsite's URL.

SingleProduct

A product represents an item for sale in the store.

FieldArgumentTypeDescription
addToCartFromSpotBooleanCheck if the product can be added to cart directly from spot.
aliasStringThe product url alias.
attributeSelectionsAttributeSelectionInformation about the possible selection attributes.
selected[AttributeFilterInput]
attributes[ProductAttribute]List of the product attributes.
availableBooleanField to check if the product is available in stock.
averageRatingIntThe product average rating. From 0 to 5.
breadcrumbs[Breadcrumb]List of product breadcrumbs.
buyTogether[SingleProduct]Buy together products.
conditionStringThe product condition.
createdAtDateTimeThe product creation date.
customizations[Customization]A list of customizations available for the given products.
deadlineIntThe product delivery deadline.
displayBooleanCheck if the product should be displayed.
displayOnlyPartnerBooleanCheck if the product should be displayed only for partners.
displaySearchBooleanCheck if the product should be displayed on search.
eanStringThe product's unique EAN.
freeShippingBooleanCheck if the product offers free shipping.
idIDThe node unique identifier.
images[Image]List of the product images.
heightIntThe height of the image the url will return.
widthIntThe width of the image the url will return.
informations[Information]List of the product insformations.
mainVariantBooleanCheck if its the main variant.
minimumOrderQuantityIntThe product minimum quantity for an order.
newReleaseBooleanCheck if the product is a new release.
numberOfVotesIntThe number of votes that the average rating consists of.
parentIdLongParent product unique identifier.
pricesPricesThe product prices.
productBrandProductBrandSummarized informations about the brand of the product.
productCategories[ProductCategory]Summarized informations about the categories of the product.
productIdLongProduct unique identifier.
productNameStringThe product name.
productSubscriptionProductSubscriptionSummarized informations about the subscription of the product.
productVariantIdLongVariant unique identifier.
promotions[Promotion]List of promotions this product belongs to.
reviews[Review]List of customer reviews for this product.
seo[SEO]Product SEO informations.
similarProducts[SimilarProduct]List of similar products.
skuStringThe product's unique SKU.
spotAttributes[String]The values of the spot attribute.
spotInformationStringThe product spot information.
spotlightBooleanCheck if the product is on spotlight.
stockLongThe available stock at the default distribution center.
stocks[Stock]List of the product stocks on different distribution centers.
subscriptionGroups[SubscriptionGroup]List of subscription groups this product belongs to.
telesalesBooleanCheck if the product is a telesale.
updatedAtDateTimeThe product last update date.
variantNameStringThe variant name.

Stock

Information about a product stock in a particular distribution center.

FieldArgumentTypeDescription
idLong!The id of the distribution center.
itemsLong!The number of physical items in stock at this DC.
nameStringThe name of the distribution center.

SubscriptionGroup

FieldArgumentTypeDescription
recurringTypes[SubscriptionRecurringType]The recurring types for this subscription group.
statusStringThe status name of the group.
statusIdInt!The status id of the group.
subscriptionGroupIdLong!The subscription group id.
subscriptionOnlyBoolean!Wether the product is only avaible for subscription.

SubscriptionRecurringType

FieldArgumentTypeDescription
daysInt!The number of days of the recurring type.
nameStringThe recurring type display name.
recurringTypeIdLong!The recurring type id.

Uri

Node of URI Kind.

FieldArgumentTypeDescription
hotsiteSubtypeHotsiteSubtypeThe origin of the hotsite.
kindUriKind!Path kind.
partnerSubtypePartnerSubtypeThe partner subtype.
productAliasStringProduct alias.
productCategoriesIds[Int!]Product categories IDs.
redirectCodeStringRedirect status code.
redirectUrlStringUrl to redirect.

forbiddenTerm

Informations about a forbidden search term.

FieldArgumentTypeDescription
suggestedStringThe suggested search term instead.
textStringThe text to display about the term.

wishlist

FieldArgumentTypeDescription
products[Product]Wishlist products.

Inputs

AttributeFilterInput

FieldTypeDescription
attributeIdLong!
valueString!

AttributeInput

Input to specify which attributes to match.

FieldTypeDescription
id[Long!]The attribute Ids to match.
name[String]The attribute name to match.
type[String]The attribute type to match.
value[String]The attribute value to match

BrandFilterInput

Filter brand results based on giving attributes.

FieldTypeDescription
brandIds[Long!]Its unique identifier (you may provide a list of IDs if needed).
names[String]The set of brand names which the result item name must be included in.

CheckoutCustomizationInput

FieldTypeDescription
customizationIdLong!
valueString

CheckoutProductInput

FieldTypeDescription
idUuid!
products[CheckoutProductItemInput]!

CheckoutProductItemInput

FieldTypeDescription
customization[CheckoutCustomizationInput]
productVariantIdLong!
quantityInt!
subscriptionCheckoutSubscriptionInput

CheckoutSubscriptionInput

FieldTypeDescription
recurringTypeIdInt!
subscriptionGroupIdLong!

CustomerAccessTokenInput

The input to authenticate a user.

FieldTypeDescription
emailString!
passwordString!

CustomerAddressInput

FieldTypeDescription
addressDetailsString
addressNumberString
cepCEP
cityString
countryCountryCode
emailEmailAddress
nameString
neighborhoodString
phoneString
referencePointString
stateString
streetString

NewsletterInput

FieldTypeDescription
emailString!
nameString!
recaptchaTokenString!

PricesInput

Input to specify the range of prices to return.

FieldTypeDescription
discountedBooleanReturn only products where the listed price is more than the price.
price_gteDecimalThe product price must be greater than or equal to.
price_lteDecimalThe product price must be lesser than or equal to.

ProductExplicitFiltersInput

Filter product results based on giving attributes.

FieldTypeDescription
attributesAttributeInputThe set of attributes do filter.
availableBooleanChoose if you want to retrieve only the available products in stock.
brandId[Long!]The set of brand IDs which the result item brand ID must be included in.
categoryId[Long!]The set of category IDs which the result item category ID must be included in.
ean[String]The set of EANs which the result item EAN must be included.
hasImagesBooleanRetrieve the product variant only if it contains images.
mainVariantBooleanRetrieve the product variant only if it is the main product variant.
pricesPricesInputThe set of prices to filter.
productId[Long!]The product unique identifier (you may provide a list of IDs if needed).
productVariantId[Long!]The product variant unique identifier (you may provide a list of IDs if needed).
sku[String]The set of SKUs which the result item SKU must be included.
stock_gteLongShow products with a quantity of available products in stock greater than or equal to the given number.
stock_lteLongShow products with a quantity of available products in stock less than or equal to the given number.
updatedAt_gteStringRetrieve products which the last update date is greater than or equal to the given date.
updatedAt_lteStringRetrieve products which the last update date is less than or equal to the given date.

ProductFilterInput

Custom attribute defined on store's admin may also be used as a filter.

FieldTypeDescription
fieldString!The attribute name.
values[String]!The set of values which the result filter item value must be included in.

ReviewCreateInput

Review input parameters.

FieldTypeDescription
emailString!The reviewer's email.
nameString!The reviewer's name.
productVariantIdLong!The product variant id to add the review to.
ratingInt!The review rating.
recaptchaTokenString!The google recatpcha token.
reviewString!The review content.

Enums

ApplyPolicy

ValueDescription
BEFORE_RESOLVER
AFTER_RESOLVER

BannerSortKeys

Define the banner attribute which the result set will be sorted on.

ValueDescription
IDThe banner's unique identifier.
CREATION_DATEThe banner's creation date.

BrandSortKeys

Define the brand attribute which the result set will be sorted on.

ValueDescription
IDThe brand unique identifier.
NAMEThe brand name.

CategorySortKeys

Define the category attribute which the result set will be sorted on.

ValueDescription
IDThe category unique identifier.
NAMEThe category name.

ContentSortKeys

Define the content attribute which the result set will be sorted on.

ValueDescription
IDThe content's unique identifier.
CreationDateThe content's creation date.

HotsiteSortKeys

Define the hotsite attribute which the result set will be sorted on.

ValueDescription
IDThe hotsite id.
NAMEThe hotsite name.
URLThe hotsite url.

HotsiteSubtype

ValueDescription
CATEGORYHotsite created from a category.
BRANDHotsite created from a brand.
PORTFOLIOHotsite created from a portfolio.
BUY_LISTHotsite created from a buy list (lista de compra).

Operation

Types of operations to perform between query terms.

ValueDescription
ANDPerforms AND operation between query terms.
ORPerforms OR operation between query terms.

PartnerSortKeys

Define the partner attribute which the result set will be sorted on.

ValueDescription
IDThe partner unique identifier.
NAMEThe partner name.

PartnerSubtype

ValueDescription
OPENPartner 'open' subtype.
CLOSEDPartner 'closed' subtype.
CLIENTPartner 'client' subtype.

ProductRecommendationAlgorithm

ValueDescription
DEFAULT

ProductSearchSortKeys

Define the product attribute which the result set will be sorted on.

ValueDescription
RELEVANCEThe relevance that the search engine gave to the possible result item based on own criteria.
NAMEThe product name.
SALESThe sales number on a period of time.
PRICEThe product variant price.
DISCOUNTThe applied discount to the product variant price.
RANDOMSort in a random way.
RELEASE_DATEThe date the product was released.
STOCKThe quantity in stock of the product variant.

ProductSortKeys

Define the product attribute which the result set will be sorted on.

ValueDescription
NAMEThe product name.
SALESThe sales number on a period of time.
PRICEThe product variant price.
DISCOUNTThe applied discount to the product variant price.
RANDOMSort in a random way.
RELEASE_DATEThe date the product was released.
STOCKThe quantity in stock of the product variant.

ScriptPageType

ValueDescription
ALL
HOME
SEARCH
CATEGORY
BRAND
PRODUCT

ScriptPosition

ValueDescription
HEADER_START
HEADER_END
BODY_START
BODY_END
FOOTER_START
FOOTER_END

SortDirection

Define the sort orientation of the result set.

ValueDescription
ASCThe results will be sorted in an ascending order.
DESCThe results will be sorted in an descending order.

UriKind

ValueDescription
PRODUCT
HOTSITE
REDIRECT
NOT_FOUND
PARTNER

Scalars

Boolean

The Boolean scalar type represents true or false.

CEP

Represents a CEP

CountryCode

String representing a country code

DateTime

The DateTime scalar represents an ISO-8601 compliant date time type.

Decimal

The built-in Decimal scalar type.

EmailAddress

The EmailAddress scalar type constitutes a valid email address, represented as a UTF-8 character sequence. The scalar follows the specification defined by the HTML Spec https://html.spec.whatwg.org/multipage/input.html#valid-e-mail-address.

Float

The Float scalar type represents signed double-precision fractional values as specified by IEEE 754.

ID

The ID scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4") or integer (such as 4) input value will be accepted as an ID.

Int

The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.

Long

The Long scalar type represents non-fractional signed whole 64-bit numeric values. Long can represent values between -(2^63) and 2^63 - 1.

String

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.

Uuid

Interfaces

Node

FieldArgumentTypeDescription
idID