@faststore/core 3.99.1 → 4.0.0-dev.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (543) hide show
  1. package/.turbo/turbo-generate.log +29 -0
  2. package/.turbo/turbo-test.log +47 -16
  3. package/@generated/cached-operations.json +24 -0
  4. package/@generated/gql.ts +134 -210
  5. package/@generated/graphql.ts +1628 -3037
  6. package/@generated/index.ts +1 -1
  7. package/@generated/persisted-documents.json +1 -1
  8. package/@generated/schema.graphql +1854 -1743
  9. package/CHANGELOG.md +28 -4
  10. package/README.md +2 -1
  11. package/api/index.ts +6 -7
  12. package/cms/faststore/base.jsonc +1 -1
  13. package/cms/faststore/components/cms_component__alert.jsonc +5 -1
  14. package/cms/faststore/components/cms_component__bannernewsletter.jsonc +5 -1
  15. package/cms/faststore/components/cms_component__bannertext.jsonc +5 -1
  16. package/cms/faststore/components/cms_component__breadcrumb.jsonc +16 -4
  17. package/cms/faststore/components/cms_component__cartsidebar.jsonc +21 -1
  18. package/cms/faststore/components/cms_component__children.jsonc +5 -1
  19. package/cms/faststore/components/cms_component__crosssellingshelf.jsonc +5 -1
  20. package/cms/faststore/components/cms_component__emptystate.jsonc +8 -3
  21. package/cms/faststore/components/cms_component__footer.jsonc +9 -3
  22. package/cms/faststore/components/cms_component__hero.jsonc +5 -1
  23. package/cms/faststore/components/cms_component__incentives.jsonc +5 -1
  24. package/cms/faststore/components/cms_component__navbar.jsonc +139 -1
  25. package/cms/faststore/components/cms_component__newsletter.jsonc +5 -1
  26. package/cms/faststore/components/cms_component__productdetails.jsonc +33 -1
  27. package/cms/faststore/components/cms_component__productgallery.jsonc +113 -15
  28. package/cms/faststore/components/cms_component__productshelf.jsonc +5 -1
  29. package/cms/faststore/components/cms_component__producttiles.jsonc +5 -1
  30. package/cms/faststore/components/cms_component__regionbar.jsonc +5 -1
  31. package/cms/faststore/components/cms_component__regionmodal.jsonc +5 -1
  32. package/cms/faststore/components/cms_component__regionpopover.jsonc +5 -1
  33. package/cms/faststore/components/cms_component__scrolltotopbutton.jsonc +29 -0
  34. package/cms/faststore/components/cms_component__search.jsonc +5 -1
  35. package/cms/faststore/content-types.json +115 -0
  36. package/cms/faststore/pages/cms_content_type__globalsections.jsonc +52 -0
  37. package/cms/faststore/pages/cms_content_type__home.jsonc +6 -0
  38. package/cms/faststore/pages/cms_content_type__landingpage.jsonc +8 -1
  39. package/cms/faststore/pages/cms_content_type__pdp.jsonc +6 -0
  40. package/cms/faststore/pages/cms_content_type__plp.jsonc +17 -0
  41. package/cms/faststore/pages/cms_content_type__search.jsonc +17 -0
  42. package/cms/faststore/schema.json +547 -43
  43. package/cms/faststore/sections.json +330 -21
  44. package/discovery.config.default.js +49 -3
  45. package/next-env.d.ts +2 -1
  46. package/next.config.js +48 -26
  47. package/package.json +47 -60
  48. package/public/icons.svg +5 -1
  49. package/scripts/i18n.js +76 -0
  50. package/src/components/account/MyAccountDrawer/OrganizationDrawer/OrganizationDrawer.tsx +2 -1
  51. package/src/components/account/MyAccountDrawer/OrganizationDrawer/section.module.scss +25 -24
  52. package/src/components/account/MyAccountDrawer/ProfileSummary/profile-summary.scss +8 -6
  53. package/src/components/account/MyAccountLayout/styles.scss +16 -12
  54. package/src/components/account/MyAccountMenu/styles.scss +21 -22
  55. package/src/components/account/MyAccountUserDetails/styles.module.scss +4 -2
  56. package/src/components/account/components/MyAccountAccordion/styles.scss +4 -2
  57. package/src/components/account/components/MyAccountHeader/styles.scss +3 -1
  58. package/src/components/account/components/MyAccountTable/styles.scss +6 -4
  59. package/src/components/account/orders/MyAccountListOrders/MyAccountFilterSlider/section.module.scss +21 -19
  60. package/src/components/account/orders/MyAccountListOrders/MyAccountListOrdersTable/MyAccountListOrdersTable.tsx +3 -1
  61. package/src/components/account/orders/MyAccountListOrders/MyAccountListOrdersTable/styles.scss +5 -3
  62. package/src/components/account/orders/MyAccountListOrders/styles.module.scss +25 -22
  63. package/src/components/account/orders/MyAccountOrderDetails/MyAccountBudgetsCard/styles.scss +7 -5
  64. package/src/components/account/orders/MyAccountOrderDetails/MyAccountDeliveryOptionAccordion/styles.scss +7 -5
  65. package/src/components/account/orders/MyAccountOrderDetails/MyAccountMoreInformationCard/styles.scss +3 -1
  66. package/src/components/account/orders/MyAccountOrderDetails/MyAccountOrderActionModal/styles.module.scss +8 -6
  67. package/src/components/account/orders/MyAccountOrderDetails/MyAccountOrderActions/styles.scss +3 -1
  68. package/src/components/account/orders/MyAccountOrderDetails/MyAccountStatusCard/styles.scss +8 -6
  69. package/src/components/account/orders/MyAccountOrderDetails/section.module.scss +36 -43
  70. package/src/components/account/profile/profile.module.scss +3 -1
  71. package/src/components/account/section.module.scss +3 -1
  72. package/src/components/account/security/styles.module.scss +14 -8
  73. package/src/components/cart/CartSidebar/CartSidebar.tsx +10 -1
  74. package/src/components/cart/CartSidebar/section.module.scss +19 -17
  75. package/src/components/cart/EmptyCart/EmptyCart.tsx +12 -4
  76. package/src/components/cms/GlobalSections.tsx +12 -12
  77. package/src/components/cms/RenderSections.tsx +10 -2
  78. package/src/components/cms/plp/Components.ts +9 -0
  79. package/src/components/common/Alert/section.module.scss +10 -5
  80. package/src/components/common/PreviewTag/section.module.scss +48 -40
  81. package/src/components/common/Toast/section.module.scss +4 -2
  82. package/src/components/localization/LocalizationSelector/LocalizationSelector.tsx +320 -0
  83. package/src/components/localization/LocalizationSelector/index.ts +1 -0
  84. package/src/components/localization/LocalizationSelector/section.module.scss +18 -0
  85. package/src/components/localization/index.ts +1 -0
  86. package/src/components/navigation/Navbar/Navbar.tsx +49 -1
  87. package/src/components/navigation/NavbarSlider/NavbarSlider.tsx +19 -1
  88. package/src/components/navigation/NavbarSlider/section.module.scss +12 -10
  89. package/src/components/product/OutOfStock/OutOfStock.tsx +6 -1
  90. package/src/components/product/ProductCard/ProductCard.tsx +1 -1
  91. package/src/components/region/RegionModal/RegionModal.tsx +4 -1
  92. package/src/components/region/RegionModal/section.module.scss +10 -8
  93. package/src/components/region/RegionPopover/RegionPopover.tsx +6 -5
  94. package/src/components/region/RegionPopover/section.module.scss +9 -7
  95. package/src/components/region/RegionSlider/RegionSlider.tsx +5 -2
  96. package/src/components/region/RegionSlider/section.module.scss +16 -13
  97. package/src/components/search/Filter/FilterDeliveryMethodFacet.tsx +5 -5
  98. package/src/components/search/Filter/FilterDesktop.tsx +13 -4
  99. package/src/components/search/Filter/FilterSlider.tsx +18 -6
  100. package/src/components/search/Filter/section.module.scss +21 -19
  101. package/src/components/search/SearchDropdown/SearchDropdown.tsx +9 -7
  102. package/src/components/search/SearchHistory/SearchHistory.tsx +7 -2
  103. package/src/components/search/SearchInput/SearchInput.tsx +21 -8
  104. package/src/components/search/SearchProductItem/SearchProductItem.tsx +10 -3
  105. package/src/components/search/SearchTop/SearchTop.tsx +30 -24
  106. package/src/components/search/Sort/Sort.tsx +17 -19
  107. package/src/components/sections/Alert/Alert.tsx +6 -1
  108. package/src/components/sections/BannerNewsletter/section.module.scss +6 -4
  109. package/src/components/sections/BannerText/section.module.scss +5 -3
  110. package/src/components/sections/Breadcrumb/Breadcrumb.tsx +6 -2
  111. package/src/components/sections/Breadcrumb/section.module.scss +7 -5
  112. package/src/components/sections/EmptyState/section.module.scss +5 -3
  113. package/src/components/sections/Footer/Footer.tsx +1 -5
  114. package/src/components/sections/Footer/section.module.scss +10 -8
  115. package/src/components/sections/Hero/Hero.tsx +3 -1
  116. package/src/components/sections/Hero/section.module.scss +6 -4
  117. package/src/components/sections/Incentives/section.module.scss +5 -3
  118. package/src/components/sections/Navbar/Navbar.tsx +45 -0
  119. package/src/components/sections/Navbar/section.module.scss +34 -33
  120. package/src/components/sections/Newsletter/section.module.scss +10 -8
  121. package/src/components/sections/ProductDetails/ProductDetails.tsx +23 -1
  122. package/src/components/sections/ProductDetails/section.module.scss +32 -30
  123. package/src/components/sections/ProductGallery/EmptyGallery.tsx +13 -16
  124. package/src/components/sections/ProductGallery/section.module.scss +42 -39
  125. package/src/components/sections/ProductShelf/section.module.scss +22 -17
  126. package/src/components/sections/ProductTiles/section.module.scss +15 -13
  127. package/src/components/sections/RegionBar/section.module.scss +5 -3
  128. package/src/components/sections/ScrollToTopButton/ScrollToTopButton.tsx +4 -3
  129. package/src/components/sections/ScrollToTopButton/section.module.scss +4 -2
  130. package/src/components/templates/LandingPage/LandingPage.tsx +22 -16
  131. package/src/components/templates/ProductListingPage/ProductListing.tsx +1 -13
  132. package/src/components/templates/ProductListingPage/ProductListingPage.tsx +8 -3
  133. package/src/components/ui/Breadcrumb/Breadcrumb.tsx +14 -11
  134. package/src/components/ui/Button/ButtonSignIn/ButtonSignIn.tsx +2 -1
  135. package/src/components/ui/Button/ButtonSignIn/ButtonSignInFallback/ButtonSignInFallback.tsx +3 -1
  136. package/src/components/ui/Link/Link.tsx +19 -2
  137. package/src/components/ui/LinkButton/LinkButton.tsx +28 -0
  138. package/src/components/ui/LinkButton/index.ts +2 -0
  139. package/src/components/ui/LocalizationButton/LocalizationButton.tsx +124 -0
  140. package/src/components/ui/LocalizationButton/index.ts +1 -0
  141. package/src/components/ui/PickupPoints/PickupPointCards.tsx +2 -4
  142. package/src/components/ui/ProductComparison/ProductComparisonSidebar.tsx +34 -17
  143. package/src/components/ui/ProductDescription/ProductDescription.tsx +8 -3
  144. package/src/components/ui/ProductDetails/AddToCartLoadingSkeleton.tsx +6 -2
  145. package/src/components/ui/ProductDetails/ProductDetailsSettings.tsx +17 -5
  146. package/src/components/ui/ProductGallery/ProductGallery.tsx +7 -3
  147. package/src/components/ui/ProductGallery/ProductGalleryPage.tsx +1 -3
  148. package/src/components/ui/ShippingSimulation/ShippingSimulation.tsx +6 -1
  149. package/src/customizations/src/styles/custom-mixins.scss +0 -2
  150. package/src/experimental/index.ts +26 -0
  151. package/src/experimental/myAccountServerSideProps.ts +11 -2
  152. package/src/experimental/searchServerSideFunctions/getServerSideProps.ts +13 -7
  153. package/src/experimental/searchServerSideFunctions/getStaticProps.ts +5 -4
  154. package/src/instrumentation.ts +20 -6
  155. package/src/pages/404.tsx +5 -4
  156. package/src/pages/500.tsx +5 -4
  157. package/src/pages/[...slug].tsx +7 -4
  158. package/src/pages/[slug]/p.tsx +26 -8
  159. package/src/pages/_app.tsx +9 -1
  160. package/src/pages/api/fs/logout.ts +3 -2
  161. package/src/pages/api/graphql.ts +7 -23
  162. package/src/pages/api/preview.ts +21 -8
  163. package/src/pages/checkout.tsx +15 -5
  164. package/src/pages/index.tsx +19 -10
  165. package/src/pages/login.tsx +5 -4
  166. package/src/pages/pvt/account/403.tsx +11 -2
  167. package/src/pages/pvt/account/404.tsx +13 -3
  168. package/src/pages/pvt/account/index.tsx +6 -4
  169. package/src/pages/pvt/account/orders/[id].tsx +11 -3
  170. package/src/pages/pvt/account/orders/index.tsx +11 -3
  171. package/src/pages/pvt/account/profile.tsx +11 -2
  172. package/src/pages/pvt/account/security.tsx +11 -2
  173. package/src/pages/pvt/account/user-details.tsx +11 -2
  174. package/src/pages/s.tsx +26 -6
  175. package/src/proxy.ts +154 -0
  176. package/src/sdk/account/refreshToken.ts +4 -4
  177. package/src/sdk/account/useReorder.ts +8 -2
  178. package/src/sdk/analytics/platform/vtex/search.ts +3 -2
  179. package/src/sdk/cart/redirectToCheckout.ts +14 -8
  180. package/src/sdk/cart/useCheckoutButton.ts +7 -1
  181. package/src/sdk/deliveryPromise/useDeliveryPromise.ts +10 -18
  182. package/src/sdk/graphql/request.ts +102 -50
  183. package/src/sdk/localization/bindingSelector.ts +91 -0
  184. package/src/sdk/localization/index.ts +4 -0
  185. package/src/sdk/localization/match-url.ts +64 -0
  186. package/src/sdk/localization/types.ts +31 -0
  187. package/src/sdk/localization/useBindingSelector.ts +183 -0
  188. package/src/sdk/localization/useLocaleValidation.ts +49 -0
  189. package/src/sdk/localization/useLocalizationConfig.tsx +160 -0
  190. package/src/sdk/offer/fetcher.ts +3 -2
  191. package/src/sdk/product/useLocalizedVariables.ts +1 -1
  192. package/src/sdk/product/usePageProductsQuery.ts +2 -2
  193. package/src/sdk/product/useProductGalleryQuery.ts +1 -2
  194. package/src/sdk/product/useProductLink.ts +3 -1
  195. package/src/sdk/search/formatSearchPath.ts +28 -3
  196. package/src/sdk/search/state.ts +22 -13
  197. package/src/sdk/search/useSearchBase.ts +10 -0
  198. package/src/sdk/search/useSearchHistory.ts +41 -7
  199. package/src/sdk/session/index.ts +21 -3
  200. package/src/sdk/shipping/useShippingSimulation.ts +10 -2
  201. package/src/sdk/tsconfig.json +6 -0
  202. package/src/sdk/ui/useLink.ts +48 -0
  203. package/src/server/cms/global.ts +40 -0
  204. package/src/server/cms/index.ts +18 -10
  205. package/src/server/cms/pdp.ts +1 -0
  206. package/src/server/cms/plp.ts +3 -0
  207. package/src/server/content/service.ts +36 -24
  208. package/src/server/content/types.ts +10 -3
  209. package/src/server/index.ts +27 -20
  210. package/src/server/options.ts +27 -2
  211. package/src/styles/global/index.scss +10 -7
  212. package/src/styles/main.scss +3 -3
  213. package/src/typings/locales.ts +41 -0
  214. package/src/utils/fetchProductGallerySSR.ts +3 -1
  215. package/src/utils/getBaseDomain.ts +2 -1
  216. package/src/utils/getRequestHostname.ts +26 -0
  217. package/src/utils/globalSettings.ts +11 -0
  218. package/src/utils/localization/bindingPaths.ts +337 -0
  219. package/src/utils/localization/validateLocaleForHostname.ts +69 -0
  220. package/src/utils/localization/withLocaleValidation.ts +36 -0
  221. package/src/utils/utilities.ts +22 -0
  222. package/test/pages/api/preview.test.ts +93 -0
  223. package/test/sdk/localization/bindingSelector.test.ts +246 -0
  224. package/test/sdk/localization/store-url.browser.test.ts +140 -0
  225. package/test/sdk/localization/store-url.test.ts +96 -0
  226. package/test/sdk/localization/useBindingSelector.test.tsx +219 -0
  227. package/test/sdk/search/useSearchHistory.test.ts +222 -0
  228. package/test/server/cms/index.test.ts +3 -4
  229. package/test/server/content/service.test.ts +98 -0
  230. package/test/server/index.test.ts +10 -22
  231. package/test/utils/cookieCacheBusting.test.ts +32 -24
  232. package/test/utils/getRequestHostname.test.ts +71 -0
  233. package/test/utils/localization/bindingPaths.test.ts +706 -0
  234. package/test/utils/match-url.test.ts +388 -0
  235. package/tsconfig.json +11 -3
  236. package/vitest.config.ts +61 -0
  237. package/.next/BUILD_ID +0 -1
  238. package/.next/build-manifest.json +0 -197
  239. package/.next/cache/.tsbuildinfo +0 -1
  240. package/.next/cache/config.json +0 -7
  241. package/.next/cache/webpack/client-production/0.pack +0 -0
  242. package/.next/cache/webpack/client-production/index.pack +0 -0
  243. package/.next/cache/webpack/edge-server-production/0.pack +0 -0
  244. package/.next/cache/webpack/edge-server-production/index.pack +0 -0
  245. package/.next/cache/webpack/server-production/0.pack +0 -0
  246. package/.next/cache/webpack/server-production/index.pack +0 -0
  247. package/.next/export-marker.json +0 -1
  248. package/.next/images-manifest.json +0 -1
  249. package/.next/next-minimal-server.js.nft.json +0 -1
  250. package/.next/next-server.js.nft.json +0 -1
  251. package/.next/package.json +0 -1
  252. package/.next/prerender-manifest.js +0 -1
  253. package/.next/prerender-manifest.json +0 -1
  254. package/.next/react-loadable-manifest.json +0 -478
  255. package/.next/required-server-files.json +0 -1
  256. package/.next/routes-manifest.json +0 -1
  257. package/.next/server/chunks/1280.js +0 -1
  258. package/.next/server/chunks/1454.js +0 -1
  259. package/.next/server/chunks/1554.js +0 -1
  260. package/.next/server/chunks/1607.js +0 -1
  261. package/.next/server/chunks/1780.js +0 -1
  262. package/.next/server/chunks/1917.js +0 -1
  263. package/.next/server/chunks/1972.js +0 -1
  264. package/.next/server/chunks/2230.js +0 -1
  265. package/.next/server/chunks/2249.js +0 -1
  266. package/.next/server/chunks/2430.js +0 -1
  267. package/.next/server/chunks/2445.js +0 -12
  268. package/.next/server/chunks/2570.js +0 -1
  269. package/.next/server/chunks/2792.js +0 -1
  270. package/.next/server/chunks/2903.js +0 -1
  271. package/.next/server/chunks/294.js +0 -1
  272. package/.next/server/chunks/2955.js +0 -1
  273. package/.next/server/chunks/3006.js +0 -1
  274. package/.next/server/chunks/3029.js +0 -1
  275. package/.next/server/chunks/3060.js +0 -1
  276. package/.next/server/chunks/3408.js +0 -1
  277. package/.next/server/chunks/3483.js +0 -1
  278. package/.next/server/chunks/3683.js +0 -1
  279. package/.next/server/chunks/3836.js +0 -1
  280. package/.next/server/chunks/3890.js +0 -494
  281. package/.next/server/chunks/3922.js +0 -1
  282. package/.next/server/chunks/3945.js +0 -1
  283. package/.next/server/chunks/3951.js +0 -7
  284. package/.next/server/chunks/416.js +0 -1
  285. package/.next/server/chunks/4194.js +0 -1
  286. package/.next/server/chunks/4365.js +0 -1
  287. package/.next/server/chunks/4451.js +0 -1
  288. package/.next/server/chunks/4803.js +0 -1
  289. package/.next/server/chunks/4913.js +0 -13
  290. package/.next/server/chunks/5402.js +0 -1
  291. package/.next/server/chunks/5723.js +0 -13
  292. package/.next/server/chunks/5796.js +0 -1
  293. package/.next/server/chunks/6393.js +0 -1
  294. package/.next/server/chunks/6457.js +0 -6
  295. package/.next/server/chunks/6698.js +0 -1
  296. package/.next/server/chunks/6804.js +0 -6
  297. package/.next/server/chunks/6886.js +0 -1
  298. package/.next/server/chunks/7098.js +0 -9
  299. package/.next/server/chunks/7169.js +0 -1
  300. package/.next/server/chunks/7228.js +0 -1
  301. package/.next/server/chunks/7275.js +0 -1
  302. package/.next/server/chunks/7371.js +0 -1
  303. package/.next/server/chunks/7692.js +0 -1
  304. package/.next/server/chunks/7799.js +0 -1
  305. package/.next/server/chunks/8068.js +0 -1
  306. package/.next/server/chunks/83.js +0 -1
  307. package/.next/server/chunks/831.js +0 -1
  308. package/.next/server/chunks/8563.js +0 -1
  309. package/.next/server/chunks/8569.js +0 -1
  310. package/.next/server/chunks/8687.js +0 -1
  311. package/.next/server/chunks/870.js +0 -1
  312. package/.next/server/chunks/8737.js +0 -1
  313. package/.next/server/chunks/8741.js +0 -1
  314. package/.next/server/chunks/9088.js +0 -1
  315. package/.next/server/chunks/9117.js +0 -1
  316. package/.next/server/chunks/9237.js +0 -1
  317. package/.next/server/chunks/948.js +0 -3
  318. package/.next/server/chunks/9563.js +0 -3
  319. package/.next/server/chunks/9570.js +0 -1
  320. package/.next/server/chunks/9740.js +0 -1
  321. package/.next/server/chunks/9853.js +0 -1
  322. package/.next/server/chunks/9984.js +0 -1
  323. package/.next/server/chunks/9985.js +0 -1
  324. package/.next/server/chunks/9990.js +0 -1
  325. package/.next/server/chunks/ButtonSignIn.js +0 -1
  326. package/.next/server/chunks/Dropdown.js +0 -1
  327. package/.next/server/chunks/DropdownButton.js +0 -1
  328. package/.next/server/chunks/DropdownItem.js +0 -1
  329. package/.next/server/chunks/DropdownMenu.js +0 -1
  330. package/.next/server/chunks/FilterSkeleton.js +0 -1
  331. package/.next/server/chunks/ScrollToTopButton.js +0 -1
  332. package/.next/server/chunks/UIBannerText.js +0 -1
  333. package/.next/server/chunks/UISKUMatrixSidebar.js +0 -1
  334. package/.next/server/chunks/font-manifest.json +0 -1
  335. package/.next/server/edge-instrumentation.js +0 -2
  336. package/.next/server/edge-instrumentation.js.map +0 -1
  337. package/.next/server/edge-runtime-webpack.js +0 -157
  338. package/.next/server/edge-runtime-webpack.js.map +0 -1
  339. package/.next/server/font-manifest.json +0 -1
  340. package/.next/server/functions-config-manifest.json +0 -1
  341. package/.next/server/instrumentation.js +0 -1
  342. package/.next/server/instrumentation.js.nft.json +0 -1
  343. package/.next/server/middleware-build-manifest.js +0 -1
  344. package/.next/server/middleware-manifest.json +0 -6
  345. package/.next/server/middleware-react-loadable-manifest.js +0 -1
  346. package/.next/server/next-font-manifest.js +0 -1
  347. package/.next/server/next-font-manifest.json +0 -1
  348. package/.next/server/pages/404.js +0 -1
  349. package/.next/server/pages/404.js.nft.json +0 -1
  350. package/.next/server/pages/500.js +0 -1
  351. package/.next/server/pages/500.js.nft.json +0 -1
  352. package/.next/server/pages/[...slug].js +0 -1
  353. package/.next/server/pages/[...slug].js.nft.json +0 -1
  354. package/.next/server/pages/[slug]/p.js +0 -1
  355. package/.next/server/pages/[slug]/p.js.nft.json +0 -1
  356. package/.next/server/pages/_app.js +0 -1
  357. package/.next/server/pages/_app.js.nft.json +0 -1
  358. package/.next/server/pages/_document.js +0 -1
  359. package/.next/server/pages/_document.js.nft.json +0 -1
  360. package/.next/server/pages/_error.js +0 -1
  361. package/.next/server/pages/_error.js.nft.json +0 -1
  362. package/.next/server/pages/api/fs/logout.js +0 -1
  363. package/.next/server/pages/api/fs/logout.js.nft.json +0 -1
  364. package/.next/server/pages/api/graphql.js +0 -3
  365. package/.next/server/pages/api/graphql.js.nft.json +0 -1
  366. package/.next/server/pages/api/health/live.js +0 -1
  367. package/.next/server/pages/api/health/live.js.nft.json +0 -1
  368. package/.next/server/pages/api/health/ready.js +0 -1
  369. package/.next/server/pages/api/health/ready.js.nft.json +0 -1
  370. package/.next/server/pages/api/preview.js +0 -1
  371. package/.next/server/pages/api/preview.js.nft.json +0 -1
  372. package/.next/server/pages/checkout.js +0 -1
  373. package/.next/server/pages/checkout.js.nft.json +0 -1
  374. package/.next/server/pages/en-US/404.html +0 -42
  375. package/.next/server/pages/en-US/404.json +0 -1
  376. package/.next/server/pages/en-US/500.html +0 -42
  377. package/.next/server/pages/en-US/500.json +0 -1
  378. package/.next/server/pages/en-US/checkout.html +0 -42
  379. package/.next/server/pages/en-US/checkout.json +0 -1
  380. package/.next/server/pages/en-US/login.html +0 -42
  381. package/.next/server/pages/en-US/login.json +0 -1
  382. package/.next/server/pages/en-US/s.html +0 -42
  383. package/.next/server/pages/en-US/s.json +0 -1
  384. package/.next/server/pages/en-US.html +0 -42
  385. package/.next/server/pages/en-US.json +0 -1
  386. package/.next/server/pages/index.js +0 -1
  387. package/.next/server/pages/index.js.nft.json +0 -1
  388. package/.next/server/pages/login.js +0 -1
  389. package/.next/server/pages/login.js.nft.json +0 -1
  390. package/.next/server/pages/pvt/account/403.js +0 -1
  391. package/.next/server/pages/pvt/account/403.js.nft.json +0 -1
  392. package/.next/server/pages/pvt/account/404.js +0 -1
  393. package/.next/server/pages/pvt/account/404.js.nft.json +0 -1
  394. package/.next/server/pages/pvt/account/[...unknown].js +0 -1
  395. package/.next/server/pages/pvt/account/[...unknown].js.nft.json +0 -1
  396. package/.next/server/pages/pvt/account/orders/[id].js +0 -1
  397. package/.next/server/pages/pvt/account/orders/[id].js.nft.json +0 -1
  398. package/.next/server/pages/pvt/account/orders.js +0 -1
  399. package/.next/server/pages/pvt/account/orders.js.nft.json +0 -1
  400. package/.next/server/pages/pvt/account/profile.js +0 -1
  401. package/.next/server/pages/pvt/account/profile.js.nft.json +0 -1
  402. package/.next/server/pages/pvt/account/security.js +0 -1
  403. package/.next/server/pages/pvt/account/security.js.nft.json +0 -1
  404. package/.next/server/pages/pvt/account/user-details.js +0 -1
  405. package/.next/server/pages/pvt/account/user-details.js.nft.json +0 -1
  406. package/.next/server/pages/pvt/account.js +0 -1
  407. package/.next/server/pages/pvt/account.js.nft.json +0 -1
  408. package/.next/server/pages/s.js +0 -1
  409. package/.next/server/pages/s.js.nft.json +0 -1
  410. package/.next/server/pages-manifest.json +0 -1
  411. package/.next/server/webpack-api-runtime.js +0 -1
  412. package/.next/server/webpack-runtime.js +0 -1
  413. package/.next/static/NAuY8lqaeBBZf9CMZuYI2/_buildManifest.js +0 -1
  414. package/.next/static/NAuY8lqaeBBZf9CMZuYI2/_ssgManifest.js +0 -1
  415. package/.next/static/chunks/227-f109b24190a008ab.js +0 -8
  416. package/.next/static/chunks/2284.185d834d9829b652.js +0 -1
  417. package/.next/static/chunks/2851.e68ed3c8d27a032a.js +0 -1
  418. package/.next/static/chunks/2927.5a79877943a6bf7c.js +0 -1
  419. package/.next/static/chunks/3155.7bc4c730a79d9ecb.js +0 -1
  420. package/.next/static/chunks/3166-0b30a3887c0c346d.js +0 -1
  421. package/.next/static/chunks/3399.017c5209b74b0d97.js +0 -1
  422. package/.next/static/chunks/3483.ef53d632a763da3f.js +0 -1
  423. package/.next/static/chunks/349.b3b38e1e9f719dda.js +0 -1
  424. package/.next/static/chunks/3802.5e8b0b689eacc0f8.js +0 -1
  425. package/.next/static/chunks/3836.620480018be48233.js +0 -1
  426. package/.next/static/chunks/4436.e7af66f0b654ee36.js +0 -1
  427. package/.next/static/chunks/4803.b1920b6e3a1a6304.js +0 -1
  428. package/.next/static/chunks/5796.4351370494d8b8b6.js +0 -1
  429. package/.next/static/chunks/6393.55f991b1a6bb4fe7.js +0 -1
  430. package/.next/static/chunks/6700.b23221a57514e737.js +0 -1
  431. package/.next/static/chunks/6789.960162355435a81d.js +0 -1
  432. package/.next/static/chunks/7191-befad64ba238a817.js +0 -1
  433. package/.next/static/chunks/7692.8d5bf4560341a2f6.js +0 -1
  434. package/.next/static/chunks/7861.7f9f1a124a43da30.js +0 -6
  435. package/.next/static/chunks/8068.43663fb64762f7b8.js +0 -1
  436. package/.next/static/chunks/83.e0c16f0299b364a5.js +0 -1
  437. package/.next/static/chunks/8325.dabe9aa22eaadeed.js +0 -1
  438. package/.next/static/chunks/8587.53c8ce185ed1a2cb.js +0 -1
  439. package/.next/static/chunks/9173-e89da04079c35360.js +0 -2
  440. package/.next/static/chunks/9237.7555603703f81bf7.js +0 -1
  441. package/.next/static/chunks/9298-1d1ed0a54133cb59.js +0 -28
  442. package/.next/static/chunks/9399.d116a7fd62024783.js +0 -1
  443. package/.next/static/chunks/941.3e2782ab9c490eb0.js +0 -1
  444. package/.next/static/chunks/9701.f9a0bfffba8807dc.js +0 -1
  445. package/.next/static/chunks/9909.787576b171184aa5.js +0 -1
  446. package/.next/static/chunks/9960.7ef77f8a8b046170.js +0 -1
  447. package/.next/static/chunks/9979.aedbc094bdc2c599.js +0 -1
  448. package/.next/static/chunks/BannerNewsletter.00328ad162109908.js +0 -1
  449. package/.next/static/chunks/BannerText.dbbec87cadb8a521.js +0 -1
  450. package/.next/static/chunks/ButtonSignIn.f6e210eaca873e48.js +0 -1
  451. package/.next/static/chunks/CartItem.b34e295377f6f94f.js +0 -1
  452. package/.next/static/chunks/CartSidebar.ac447d1ef6276da1.js +0 -1
  453. package/.next/static/chunks/Dropdown.38b48c749bad6b60.js +0 -1
  454. package/.next/static/chunks/DropdownButton.66fa6b25dddb3a07.js +0 -1
  455. package/.next/static/chunks/DropdownItem.38b8f5a07c7f422a.js +0 -1
  456. package/.next/static/chunks/DropdownMenu.48b11521a24c6efd.js +0 -1
  457. package/.next/static/chunks/EmptyCart.320e2f94a0d5e6b1.js +0 -1
  458. package/.next/static/chunks/FilterSkeleton.7ab99e28f92341c9.js +0 -1
  459. package/.next/static/chunks/Footer.166b02c2f13980c6.js +0 -1
  460. package/.next/static/chunks/Gift.c49ba26da2fbab5e.js +0 -1
  461. package/.next/static/chunks/Newsletter.fc406f6029057022.js +0 -1
  462. package/.next/static/chunks/OrderSummary.5957d69f990d9add.js +0 -1
  463. package/.next/static/chunks/PreviewTag.f4f0c8710a7bcad9.js +0 -1
  464. package/.next/static/chunks/ProductShelf.cc46f5cdeeaeaff6.js +0 -1
  465. package/.next/static/chunks/ProductTiles.9b804e51b0704d60.js +0 -1
  466. package/.next/static/chunks/RegionModal.319ad44250cb12d2.js +0 -1
  467. package/.next/static/chunks/RegionSlider.0e0e93369f4f9c92.js +0 -1
  468. package/.next/static/chunks/ScrollToTopButton.c15431f2e8bb93ef.js +0 -1
  469. package/.next/static/chunks/ShoppingAssistant.ba191eb4dbed67e5.js +0 -1
  470. package/.next/static/chunks/Toast.5f90f0436708be5e.js +0 -1
  471. package/.next/static/chunks/UIBannerText.7315b16af4457059.js +0 -1
  472. package/.next/static/chunks/UISKUMatrixSidebar.b4349b2682bbe183.js +0 -1
  473. package/.next/static/chunks/UIToast.19a8664c01a00d3a.js +0 -1
  474. package/.next/static/chunks/framework-d514426edf885c68.js +0 -33
  475. package/.next/static/chunks/main-ec03882c4375091d.js +0 -1
  476. package/.next/static/chunks/pages/404-e3dfbbac003b02a2.js +0 -1
  477. package/.next/static/chunks/pages/500-c7814e085081d7b8.js +0 -1
  478. package/.next/static/chunks/pages/[...slug]-dc8a395a43b081f1.js +0 -1
  479. package/.next/static/chunks/pages/[slug]/p-644f1132f5a0f736.js +0 -1
  480. package/.next/static/chunks/pages/_app-84aaff8a9d4de60e.js +0 -1
  481. package/.next/static/chunks/pages/_error-2b0148be56a716e9.js +0 -1
  482. package/.next/static/chunks/pages/checkout-2071467ad42dfb99.js +0 -1
  483. package/.next/static/chunks/pages/index-8774d5b4a8744eb2.js +0 -1
  484. package/.next/static/chunks/pages/login-e74747c9f9cb5b49.js +0 -1
  485. package/.next/static/chunks/pages/pvt/account/403-491e6b062487b30f.js +0 -1
  486. package/.next/static/chunks/pages/pvt/account/404-5ad472d9f2ee1980.js +0 -1
  487. package/.next/static/chunks/pages/pvt/account/[...unknown]-f80f645594d2740c.js +0 -1
  488. package/.next/static/chunks/pages/pvt/account/orders/[id]-64e42157c0974c48.js +0 -1
  489. package/.next/static/chunks/pages/pvt/account/orders-faab39f2aff05fae.js +0 -1
  490. package/.next/static/chunks/pages/pvt/account/profile-9672177ee2665bc0.js +0 -1
  491. package/.next/static/chunks/pages/pvt/account/security-03eb1ccab9a30563.js +0 -1
  492. package/.next/static/chunks/pages/pvt/account/user-details-7838e3f79781596c.js +0 -1
  493. package/.next/static/chunks/pages/pvt/account-65fefcc699344bdb.js +0 -1
  494. package/.next/static/chunks/pages/s-162ba789e6611175.js +0 -1
  495. package/.next/static/chunks/polyfills-c67a75d1b6f99dc8.js +0 -1
  496. package/.next/static/chunks/webpack-f621ff3e951d2982.js +0 -1
  497. package/.next/static/css/02259c549b2179f2.css +0 -1
  498. package/.next/static/css/02eaf202d3d11fd1.css +0 -1
  499. package/.next/static/css/033e241c58ba6fbb.css +0 -1
  500. package/.next/static/css/042d012bc1895b5c.css +0 -1
  501. package/.next/static/css/14176a4704ff97b2.css +0 -1
  502. package/.next/static/css/146a8678babc61bf.css +0 -1
  503. package/.next/static/css/16d65422bfa80f51.css +0 -1
  504. package/.next/static/css/1c4983f11b861ea0.css +0 -1
  505. package/.next/static/css/204754bbd8cc4bef.css +0 -1
  506. package/.next/static/css/24d91007fc96be10.css +0 -1
  507. package/.next/static/css/2980acad3f8e1028.css +0 -1
  508. package/.next/static/css/2c19433e38fd7533.css +0 -1
  509. package/.next/static/css/31380ebc6e671486.css +0 -1
  510. package/.next/static/css/42df884711219edb.css +0 -1
  511. package/.next/static/css/4f0597b0bf0ef2e1.css +0 -1
  512. package/.next/static/css/54cedf4b65e5863f.css +0 -1
  513. package/.next/static/css/6580147d7ab8fcca.css +0 -1
  514. package/.next/static/css/6819dddf2b1b5ea7.css +0 -1
  515. package/.next/static/css/7ef7762f412ed665.css +0 -1
  516. package/.next/static/css/82f3cd529b672812.css +0 -1
  517. package/.next/static/css/837662922091162f.css +0 -1
  518. package/.next/static/css/8e6ab59ace21e03b.css +0 -1
  519. package/.next/static/css/a852afa9be31e946.css +0 -1
  520. package/.next/static/css/b684b347c5cc6514.css +0 -1
  521. package/.next/static/css/bcdaef0a83277ef5.css +0 -1
  522. package/.next/static/css/c33615999008d3f9.css +0 -1
  523. package/.next/static/css/c34f6ea9953e2f63.css +0 -1
  524. package/.next/static/css/ea11d74a2848b093.css +0 -1
  525. package/.next/static/css/f16438bcf4508fb3.css +0 -1
  526. package/.next/static/css/f60366555f563deb.css +0 -1
  527. package/.next/trace +0 -143
  528. package/.turbo/turbo-build.log +0 -140
  529. package/jest.config.js +0 -17
  530. package/public/~partytown/debug/partytown-atomics.js +0 -556
  531. package/public/~partytown/debug/partytown-media.js +0 -374
  532. package/public/~partytown/debug/partytown-sandbox-sw.js +0 -543
  533. package/public/~partytown/debug/partytown-sw.js +0 -59
  534. package/public/~partytown/debug/partytown-ww-atomics.js +0 -1789
  535. package/public/~partytown/debug/partytown-ww-sw.js +0 -1781
  536. package/public/~partytown/debug/partytown.js +0 -72
  537. package/public/~partytown/partytown-atomics.js +0 -2
  538. package/public/~partytown/partytown-media.js +0 -2
  539. package/public/~partytown/partytown-sw.js +0 -2
  540. package/public/~partytown/partytown.js +0 -2
  541. package/src/middleware__DISABLED.ts +0 -65
  542. package/src/server/generator/generateGraphQLSchemaFile.ts +0 -3
  543. package/src/server/generator/schema.ts +0 -81
@@ -7,6 +7,17 @@ directive @cacheControl(sMaxAge: Int, staleWhileRevalidate: Int, scope: String)
7
7
 
8
8
  directive @auth on FIELD_DEFINITION
9
9
 
10
+ """
11
+ Example:
12
+
13
+ ```json
14
+ {
15
+ Color: 'Red', Size: '42'
16
+ }
17
+ ```
18
+ """
19
+ scalar ActiveVariations
20
+
10
21
  """Address information."""
11
22
  type Address {
12
23
  """Address postal code"""
@@ -45,126 +56,223 @@ type Advertisement {
45
56
  adResponseId: String!
46
57
  }
47
58
 
48
- """Aggregate offer information, for a given SKU that is available to be fulfilled by multiple sellers."""
49
- type StoreAggregateOffer {
50
- """Highest price among all sellers."""
51
- highPrice: Float!
52
- """Lowest price among all sellers."""
53
- lowPrice: Float!
54
- """Lowest price among all sellers with current taxes."""
55
- lowPriceWithTaxes: Float!
56
- """Number of sellers selling this SKU."""
57
- offerCount: Int!
58
- """ISO code of the currency used for the offer prices."""
59
- priceCurrency: String!
60
- """Array with information on each available offer."""
61
- offers: [StoreOffer!]!
59
+ type AvailableDeliveryWindows {
60
+ """Available delivery window start date in UTC"""
61
+ startDateUtc: String
62
+ """Available delivery window end date in UTC"""
63
+ endDateUtc: String
64
+ """Available delivery window price"""
65
+ price: Int
66
+ """Available delivery window list price"""
67
+ listPrice: Int
68
+ """Available delivery window tax"""
69
+ tax: Int
62
70
  }
63
71
 
64
- """Average rating, based on multiple ratings or reviews."""
65
- type StoreAggregateRating {
66
- """Value of the aggregate rating."""
67
- ratingValue: Float!
68
- """Total number of ratings."""
69
- reviewCount: Int!
72
+ type BusinessHour {
73
+ """Number that represents the day of the week."""
74
+ dayOfWeek: Int
75
+ """Business hour opening time."""
76
+ openingTime: String
77
+ """Business hour closing time."""
78
+ closingTime: String
70
79
  }
71
80
 
72
- """information about the author of a product review or rating."""
73
- type StoreAuthor {
74
- """Author name."""
81
+ """Commercial Authorization dimension status."""
82
+ type CommercialAuthorizationDimensionStatus {
83
+ """Dimension status ID."""
84
+ id: String!
85
+ """Dimension status name."""
75
86
  name: String!
87
+ """Unit ID, if applicable."""
88
+ unitId: String
89
+ """Current status of the dimension."""
90
+ status: CommercialAuthorizationStatus!
91
+ """Dimension score."""
92
+ score: Float!
93
+ """Priority level."""
94
+ priority: Int!
95
+ """Indicates if simulation should be performed."""
96
+ shouldSimulate: Boolean!
97
+ """Collection of rules for this dimension."""
98
+ ruleCollection: [CommercialAuthorizationRule!]!
99
+ """Creation date."""
100
+ creationDate: String!
101
+ """Creation version."""
102
+ creationVersion: String!
103
+ """Creation environment."""
104
+ creationEnvironment: String!
105
+ """Indicates if all rules acceptance is required."""
106
+ requireAllRulesAcceptance: Boolean!
76
107
  }
77
108
 
78
- """Brand of a given product."""
79
- type StoreBrand {
80
- """Brand name."""
81
- name: String!
109
+ """Commercial Authorization item."""
110
+ type CommercialAuthorizationItem {
111
+ """Item ID."""
112
+ id: String!
113
+ """Item SKU."""
114
+ sku: String!
115
+ """Item price."""
116
+ price: Float!
117
+ """Total system discount applied."""
118
+ totalSystemDiscount: Float!
119
+ """Total manual discount applied."""
120
+ totalManualDiscount: Float!
121
+ """Item quantity."""
122
+ quantity: Int!
123
+ """Additional information as key-value pairs."""
124
+ additionalInfo: JSONObject!
82
125
  }
83
126
 
84
- """Item of a list."""
85
- type StoreListItem {
86
- """List item value."""
87
- item: String!
88
- """Name of the list item."""
127
+ """Commercial Authorization response."""
128
+ type CommercialAuthorizationResponse {
129
+ """Commercial Authorization ID."""
130
+ id: String!
131
+ """Order ID associated with the commercial authorization."""
132
+ orderId: String!
133
+ """Workflow instance ID."""
134
+ workflowInstanceId: String!
135
+ """Current status of the commercial authorization."""
136
+ status: CommercialAuthorizationStatus!
137
+ """List of units."""
138
+ units: [String!]!
139
+ """Callback endpoint URL."""
140
+ callbackEndpoint: String!
141
+ """Total order value desired by the seller."""
142
+ totalOrderValueDesiredBySeller: Float!
143
+ """Marketplace payment value."""
144
+ marketPlacePaymentValue: Float!
145
+ """Collection of items in the commercial authorization."""
146
+ itemCollection: [CommercialAuthorizationItem!]!
147
+ """Additional information as key-value pairs."""
148
+ additionalInfo: JSONObject!
149
+ """Dimension status information."""
150
+ dimensionStatus: [CommercialAuthorizationDimensionStatus!]!
151
+ """Creation version."""
152
+ creationVersion: String!
153
+ """Creation environment."""
154
+ creationEnvironment: String!
155
+ """User profile ID."""
156
+ userProfileId: String!
157
+ }
158
+
159
+ """Commercial Authorization rule."""
160
+ type CommercialAuthorizationRule {
161
+ """Rule ID."""
162
+ id: String!
163
+ """Rule name."""
89
164
  name: String!
90
- """Position of the item in the list."""
91
- position: Int!
165
+ """Current status of the rule."""
166
+ status: CommercialAuthorizationStatus!
167
+ """DO ID, if applicable."""
168
+ doId: String
169
+ """List of authorized email addresses."""
170
+ authorizedEmails: [String!]!
171
+ """Rule priority."""
172
+ priority: Int!
173
+ """Rule trigger configuration."""
174
+ trigger: CommercialAuthorizationRuleTrigger!
175
+ """Timeout value."""
176
+ timeout: Int!
177
+ """Indicates if notification is enabled."""
178
+ notification: Boolean!
179
+ """Score interval configuration."""
180
+ scoreInterval: CommercialAuthorizationRuleScoreInterval!
181
+ """Authorization data, if available."""
182
+ authorizationData: CommercialAuthorizationRuleAuthorizationData
183
+ """
184
+ Indicates that the user is listed as one of the possible approvers,
185
+ but does not necessarily mean that he or she is the next in the chain to approve.
186
+ """
187
+ isUserAuthorized: Boolean!
188
+ """
189
+ Indicates that the user is next in the approval chain.
190
+ This means that they must take an approval or rejection action.
191
+ """
192
+ isUserNextAuthorizer: Boolean!
92
193
  }
93
194
 
94
- """List of items consisting of chain linked web pages, ending with the current page."""
95
- type StoreBreadcrumbList {
96
- """Array with breadcrumb elements."""
97
- itemListElement: [StoreListItem!]!
98
- """Number of breadcrumbs in the list."""
99
- numberOfItems: Int!
195
+ """Commercial Authorization rule authorization data."""
196
+ type CommercialAuthorizationRuleAuthorizationData {
197
+ """Indicates if all approvals are required."""
198
+ requireAllApprovals: Boolean!
199
+ """List of authorizers."""
200
+ authorizers: [CommercialAuthorizationRuleAuthorizer!]!
100
201
  }
101
202
 
102
- """Shopping cart message."""
103
- type StoreCartMessage {
104
- """Shopping cart message text."""
105
- text: String!
106
- """Shopping cart message status, which can be `INFO`, `WARNING` or `ERROR`."""
107
- status: StoreStatus!
203
+ """Commercial Authorization rule authorizer."""
204
+ type CommercialAuthorizationRuleAuthorizer {
205
+ """Authorizer ID."""
206
+ id: String!
207
+ """Authorizer email."""
208
+ email: String
209
+ """Authorizer type."""
210
+ type: String!
211
+ """Authorization date."""
212
+ authorizationDate: String
108
213
  }
109
214
 
110
- """Shopping cart information."""
111
- type StoreCart {
112
- """Order information, including `orderNumber`, `acceptedOffer` and `shouldSplitItem`."""
113
- order: StoreOrder!
114
- """List of shopping cart messages."""
115
- messages: [StoreCartMessage!]!
215
+ """Commercial Authorization rule score interval."""
216
+ type CommercialAuthorizationRuleScoreInterval {
217
+ """Accept score threshold."""
218
+ accept: Float!
219
+ """Deny score threshold."""
220
+ deny: Float!
116
221
  }
117
222
 
118
- """Shopping cart input."""
119
- input IStoreCart {
120
- """Order information, including `orderNumber`, `acceptedOffer` and `shouldSplitItem`."""
121
- order: IStoreOrder!
223
+ """Commercial Authorization rule trigger."""
224
+ type CommercialAuthorizationRuleTrigger {
225
+ """Trigger condition."""
226
+ condition: CommercialAuthorizationRuleTriggerCondition!
227
+ """Trigger effect."""
228
+ effect: CommercialAuthorizationRuleTriggerEffect!
122
229
  }
123
230
 
124
- """Product collection type. Possible values are `Department`, `Category`, `Brand`, `Cluster`, `SubCategory` or `Collection`."""
125
- enum StoreCollectionType {
126
- """First level of product categorization."""
127
- Department
128
- """Second level of product categorization."""
129
- Category
130
- """Third level of product categorization."""
131
- SubCategory
132
- """Product brand."""
133
- Brand
134
- """Product cluster."""
135
- Cluster
136
- """Product collection."""
137
- Collection
231
+ """Commercial Authorization rule trigger condition."""
232
+ type CommercialAuthorizationRuleTriggerCondition {
233
+ """Condition type."""
234
+ conditionType: Int!
235
+ """Condition description."""
236
+ description: String
237
+ """Less than value."""
238
+ lessThan: Float
239
+ """Greater than value."""
240
+ greatherThan: Float
241
+ """Condition expression."""
242
+ expression: String
138
243
  }
139
244
 
140
- """Product collection facet, used for search."""
141
- type StoreCollectionFacet {
142
- """Facet key."""
143
- key: String!
144
- """Facet value."""
145
- value: String!
245
+ """Commercial Authorization rule trigger effect."""
246
+ type CommercialAuthorizationRuleTriggerEffect {
247
+ """Effect description."""
248
+ description: String
249
+ """Effect type."""
250
+ effectType: Int!
251
+ """Function path."""
252
+ funcPath: String
146
253
  }
147
254
 
148
- """Collection meta information. Used for search."""
149
- type StoreCollectionMeta {
150
- """List of selected collection facets."""
151
- selectedFacets: [StoreCollectionFacet!]!
255
+ """Commercial Authorization status."""
256
+ enum CommercialAuthorizationStatus {
257
+ """Authorization is pending."""
258
+ pending
259
+ """Authorization has been accepted."""
260
+ accepted
261
+ """Authorization has been denied."""
262
+ denied
152
263
  }
153
264
 
154
- """Product collection information."""
155
- type StoreCollection {
156
- """Meta tag data."""
157
- seo: StoreSeo!
158
- """List of items consisting of chain linked web pages, ending with the current page."""
159
- breadcrumbList: StoreBreadcrumbList!
160
- """Collection meta information. Used for search."""
161
- meta: StoreCollectionMeta!
162
- """Collection ID."""
163
- id: ID!
164
- """Corresponding collection URL slug, with which to retrieve this entity."""
165
- slug: String!
166
- """Collection type."""
167
- type: StoreCollectionType!
265
+ type DeliveryIds {
266
+ """DeliveryIds courier id"""
267
+ courierId: String
268
+ """DeliveryIds warehouse id"""
269
+ warehouseId: String
270
+ """DeliveryIds dock id"""
271
+ dockId: String
272
+ """DeliveryIds courier name"""
273
+ courierName: String
274
+ """DeliveryIds quantity"""
275
+ quantity: Int
168
276
  }
169
277
 
170
278
  """Delivery Promise badge."""
@@ -173,83 +281,49 @@ type DeliveryPromiseBadge {
173
281
  typeName: String
174
282
  }
175
283
 
176
- union StoreFacet = StoreFacetRange | StoreFacetBoolean
177
-
178
- """Search facet range information."""
179
- type StoreFacetRange {
180
- """Facet key."""
181
- key: String!
182
- """Facet label."""
183
- label: String!
184
- """Minimum facet range value."""
185
- min: StoreFacetValueRange!
186
- """Maximum facet range value."""
187
- max: StoreFacetValueRange!
188
- }
189
-
190
- """Search facet boolean information."""
191
- type StoreFacetBoolean {
192
- """Facet key."""
193
- key: String!
194
- """Facet label."""
195
- label: String!
196
- """Array with information on each facet value."""
197
- values: [StoreFacetValueBoolean!]!
198
- }
199
-
200
- """Search facet range value information. Used for minimum and maximum range values."""
201
- type StoreFacetValueRange {
202
- """Search facet range absolute value."""
203
- absolute: Float!
204
- """Search facet range selected value."""
205
- selected: Float!
206
- }
207
-
208
- """Information of a specific facet value."""
209
- type StoreFacetValueBoolean {
210
- """Facet value."""
211
- value: String!
212
- """Facet value label."""
213
- label: String!
214
- """Indicates whether facet is selected."""
215
- selected: Boolean!
216
- """Number of items with this facet."""
217
- quantity: Int
218
- }
219
-
220
- """Image."""
221
- type StoreImage {
222
- """Image URL."""
223
- url: String!
224
- """Alias for the image."""
225
- alternateName: String!
226
- }
284
+ """
285
+ Example:
227
286
 
228
- """Image input."""
229
- input IStoreImage {
230
- """Image input URL."""
231
- url: String!
232
- """Alias for the input image."""
233
- alternateName: String!
287
+ ```json
288
+ {
289
+ Color: [
290
+ {
291
+ src: "https://storecomponents.vtexassets.com/...",
292
+ alt: "...",
293
+ label: "...",
294
+ value: "..."
295
+ },
296
+ {
297
+ src: "https://storecomponents.vtexassets.com/...",
298
+ alt: "...",
299
+ label: "...",
300
+ value: "..."
301
+ }
302
+ ],
303
+ Size: [
304
+ {
305
+ src: "https://storecomponents.vtexassets.com/...",
306
+ alt: "...",
307
+ label: "...",
308
+ value: "..."
309
+ }
310
+ ]
234
311
  }
312
+ ```
313
+ """
314
+ scalar FormattedVariants
235
315
 
236
- type Mutation {
237
- """Checks for changes between the cart presented in the UI and the cart stored in the ecommerce platform. If changes are detected, it returns the cart stored on the platform. Otherwise, it returns `null`."""
238
- validateCart(cart: IStoreCart!, session: IStoreSession): StoreCart
239
- """Updates a web session with the specified values."""
240
- validateSession(session: IStoreSession!, search: String!): StoreSession
241
- """Subscribes a new person to the newsletter list."""
242
- subscribeToNewsletter(data: IPersonNewsletter!): PersonNewsletter
243
- """Cancels user order"""
244
- cancelOrder(data: IUserOrderCancel!): UserOrderCancel
245
- """Process Order Authorization"""
246
- processOrderAuthorization(data: IProcessOrderAuthorization!): ProcessOrderAuthorizationResponse
316
+ """Input to get commercial authorizations by order ID."""
317
+ input ICommercialAuthorizationByOrderId {
318
+ """Order ID to get commercial authorizations for."""
319
+ orderId: String!
247
320
  }
248
321
 
249
- """Newsletter information."""
250
- type PersonNewsletter {
251
- """Person's ID in the newsletter list."""
252
- id: String!
322
+ input IGeoCoordinates {
323
+ """The latitude of the geographic coordinates."""
324
+ latitude: Float!
325
+ """The longitude of the geographic coordinates."""
326
+ longitude: Float!
253
327
  }
254
328
 
255
329
  """Person data input to the newsletter."""
@@ -260,362 +334,354 @@ input IPersonNewsletter {
260
334
  email: String!
261
335
  }
262
336
 
263
- scalar ObjectOrString
337
+ """Input to process order authorization (approve or reject)."""
338
+ input IProcessOrderAuthorization {
339
+ """Order authorization ID."""
340
+ orderAuthorizationId: String!
341
+ """Rule ID associated with the authorization."""
342
+ ruleId: String!
343
+ """Dimension ID associated with the authorization."""
344
+ dimensionId: String!
345
+ """Whether the authorization is approved (true) or rejected (false)."""
346
+ approved: Boolean!
347
+ }
264
348
 
265
- """Offer information."""
266
- type StoreOffer {
267
- """This is displayed as the "from" price in the context of promotions' price comparison. This may change before it reaches the shelf."""
268
- listPrice: Float!
269
- """List price among with current taxes."""
270
- listPriceWithTaxes: Float!
271
- """Computed price before applying coupons, taxes or benefits. This may change before it reaches the shelf."""
272
- sellingPrice: Float!
273
- """ISO code of the currency used for the offer prices."""
274
- priceCurrency: String!
275
- """Also known as spot price."""
276
- price: Float!
277
- """Also known as spot price with taxes."""
278
- priceWithTaxes: Float!
279
- """Next date in which price is scheduled to change. If there is no scheduled change, this will be set a year in the future from current time."""
280
- priceValidUntil: String!
281
- """Offer item condition."""
282
- itemCondition: String!
283
- """Offer item availability."""
284
- availability: String!
285
- """Seller responsible for the offer."""
286
- seller: StoreOrganization!
287
- """Information on the item being offered."""
288
- itemOffered: StoreProduct!
289
- """Number of items offered."""
290
- quantity: Int!
291
- """Whether this offer is a gift (e.g. free promotional item)."""
292
- isGift: Boolean
349
+ """Input type for setting a new password."""
350
+ input ISetPassword {
351
+ """The email of the user for whom the password is being set."""
352
+ email: String!
353
+ """The new password to be set for the user."""
354
+ newPassword: String!
355
+ """
356
+ The current password of the user, required for verification before changing to the new password.
357
+ """
358
+ currentPassword: String!
359
+ """Optional access key for the user, used in some authentication flows."""
360
+ accesskey: String
361
+ """Optional reCAPTCHA token for security verification."""
362
+ recaptcha: String
293
363
  }
294
364
 
295
- """Offer input."""
296
- input IStoreOffer {
297
- """Also known as spot price."""
298
- price: Float!
299
- """This is displayed as the "from" price in the context of promotions' price comparison. This may change before it reaches the shelf."""
300
- listPrice: Float!
301
- """Seller responsible for the offer."""
302
- seller: IStoreOrganization!
303
- """Information on the item being offered."""
304
- itemOffered: IStoreProduct!
305
- """Number of items offered."""
365
+ """Shipping Simulation item input."""
366
+ input IShippingItem {
367
+ """ShippingItem ID / Sku."""
368
+ id: String!
369
+ """Number of items."""
306
370
  quantity: Int!
371
+ """Seller responsible for the ShippingItem."""
372
+ seller: String!
307
373
  }
308
374
 
309
- """Information of a specific order."""
310
- type StoreOrder {
311
- """ID of the order in [VTEX order management](https://help.vtex.com/en/tutorial/license-manager-resources-oms--60QcBsvWeum02cFi3GjBzg#)."""
312
- orderNumber: String!
313
- """Array with information on each accepted offer."""
314
- acceptedOffer: [StoreOffer!]!
315
- """Indicates whether or not items with attachments should be split."""
316
- shouldSplitItem: Boolean
375
+ input IStoreB2B {
376
+ customerId: String!
377
+ isRepresentative: Boolean
378
+ unitName: String
379
+ unitId: String
380
+ firstName: String
381
+ lastName: String
382
+ userName: String
383
+ userEmail: String
384
+ savedPostalCode: String
385
+ contractName: String
386
+ organizationManager: Boolean
317
387
  }
318
388
 
319
- """Order input."""
320
- input IStoreOrder {
321
- """ID of the order in [VTEX order management](https://help.vtex.com/en/tutorial/license-manager-resources-oms--60QcBsvWeum02cFi3GjBzg#)."""
322
- orderNumber: String!
323
- """Array with information on each accepted offer."""
324
- acceptedOffer: [IStoreOffer!]!
325
- """Indicates whether or not items with attachments should be split."""
326
- shouldSplitItem: Boolean
389
+ """Shopping cart input."""
390
+ input IStoreCart {
391
+ """
392
+ Order information, including `orderNumber`, `acceptedOffer` and `shouldSplitItem`.
393
+ """
394
+ order: IStoreOrder!
327
395
  }
328
396
 
329
- """Commercial Authorization response."""
330
- type CommercialAuthorizationResponse {
331
- """Commercial Authorization ID."""
332
- id: String!
333
- """Order ID associated with the commercial authorization."""
334
- orderId: String!
335
- """Workflow instance ID."""
336
- workflowInstanceId: String!
337
- """Current status of the commercial authorization."""
338
- status: CommercialAuthorizationStatus!
339
- """List of units."""
340
- units: [String!]!
341
- """Callback endpoint URL."""
342
- callbackEndpoint: String!
343
- """Total order value desired by the seller."""
344
- totalOrderValueDesiredBySeller: Float!
345
- """Marketplace payment value."""
346
- marketPlacePaymentValue: Float!
347
- """Collection of items in the commercial authorization."""
348
- itemCollection: [CommercialAuthorizationItem!]!
349
- """Additional information as key-value pairs."""
350
- additionalInfo: JSONObject!
351
- """Dimension status information."""
352
- dimensionStatus: [CommercialAuthorizationDimensionStatus!]!
353
- """Creation version."""
354
- creationVersion: String!
355
- """Creation environment."""
356
- creationEnvironment: String!
357
- """User profile ID."""
358
- userProfileId: String!
359
- }
360
-
361
- """Commercial Authorization status."""
362
- enum CommercialAuthorizationStatus {
363
- """Authorization is pending."""
364
- pending
365
- """Authorization has been accepted."""
366
- accepted
367
- """Authorization has been denied."""
368
- denied
397
+ input IStoreCurrency {
398
+ """Currency code (e.g: USD)."""
399
+ code: String!
400
+ """Currency symbol (e.g: $)."""
401
+ symbol: String!
369
402
  }
370
403
 
371
- """Commercial Authorization item."""
372
- type CommercialAuthorizationItem {
373
- """Item ID."""
374
- id: String!
375
- """Item SKU."""
376
- sku: String!
377
- """Item price."""
378
- price: Float!
379
- """Total system discount applied."""
380
- totalSystemDiscount: Float!
381
- """Total manual discount applied."""
382
- totalManualDiscount: Float!
383
- """Item quantity."""
384
- quantity: Int!
385
- """Additional information as key-value pairs."""
386
- additionalInfo: JSONObject!
404
+ input IStoreDeliveryMode {
405
+ """The delivery channel information of the session."""
406
+ deliveryChannel: String!
407
+ """The delivery method information of the session."""
408
+ deliveryMethod: String!
409
+ """The delivery window information of the session."""
410
+ deliveryWindow: IStoreDeliveryWindow
387
411
  }
388
412
 
389
- """Commercial Authorization dimension status."""
390
- type CommercialAuthorizationDimensionStatus {
391
- """Dimension status ID."""
392
- id: String!
393
- """Dimension status name."""
394
- name: String!
395
- """Unit ID, if applicable."""
396
- unitId: String
397
- """Current status of the dimension."""
398
- status: CommercialAuthorizationStatus!
399
- """Dimension score."""
400
- score: Float!
401
- """Priority level."""
402
- priority: Int!
403
- """Indicates if simulation should be performed."""
404
- shouldSimulate: Boolean!
405
- """Collection of rules for this dimension."""
406
- ruleCollection: [CommercialAuthorizationRule!]!
407
- """Creation date."""
408
- creationDate: String!
409
- """Creation version."""
410
- creationVersion: String!
411
- """Creation environment."""
412
- creationEnvironment: String!
413
- """Indicates if all rules acceptance is required."""
414
- requireAllRulesAcceptance: Boolean!
413
+ """Delivery window information."""
414
+ input IStoreDeliveryWindow {
415
+ """The delivery window start date information."""
416
+ startDate: String!
417
+ """The delivery window end date information."""
418
+ endDate: String!
415
419
  }
416
420
 
417
- """Commercial Authorization rule."""
418
- type CommercialAuthorizationRule {
419
- """Rule ID."""
420
- id: String!
421
- """Rule name."""
422
- name: String!
423
- """Current status of the rule."""
424
- status: CommercialAuthorizationStatus!
425
- """DO ID, if applicable."""
426
- doId: String
427
- """List of authorized email addresses."""
428
- authorizedEmails: [String!]!
429
- """Rule priority."""
430
- priority: Int!
431
- """Rule trigger configuration."""
432
- trigger: CommercialAuthorizationRuleTrigger!
433
- """Timeout value."""
434
- timeout: Int!
435
- """Indicates if notification is enabled."""
436
- notification: Boolean!
437
- """Score interval configuration."""
438
- scoreInterval: CommercialAuthorizationRuleScoreInterval!
439
- """Authorization data, if available."""
440
- authorizationData: CommercialAuthorizationRuleAuthorizationData
441
- """
442
- Indicates that the user is listed as one of the possible approvers,
443
- but does not necessarily mean that he or she is the next in the chain to approve.
444
- """
445
- isUserAuthorized: Boolean!
446
- """
447
- Indicates that the user is next in the approval chain.
448
- This means that they must take an approval or rejection action.
449
- """
450
- isUserNextAuthorizer: Boolean!
421
+ input IStoreGeoCoordinates {
422
+ """The latitude of the geographic coordinates."""
423
+ latitude: Float!
424
+ """The longitude of the geographic coordinates."""
425
+ longitude: Float!
451
426
  }
452
427
 
453
- """Commercial Authorization rule trigger."""
454
- type CommercialAuthorizationRuleTrigger {
455
- """Trigger condition."""
456
- condition: CommercialAuthorizationRuleTriggerCondition!
457
- """Trigger effect."""
458
- effect: CommercialAuthorizationRuleTriggerEffect!
428
+ """Image input."""
429
+ input IStoreImage {
430
+ """Image input URL."""
431
+ url: String!
432
+ """Alias for the input image."""
433
+ alternateName: String!
459
434
  }
460
435
 
461
- """Commercial Authorization rule trigger condition."""
462
- type CommercialAuthorizationRuleTriggerCondition {
463
- """Condition type."""
464
- conditionType: Int!
465
- """Condition description."""
466
- description: String
467
- """Less than value."""
468
- lessThan: Float
469
- """Greater than value."""
470
- greatherThan: Float
471
- """Condition expression."""
472
- expression: String
436
+ input IStoreMarketingData {
437
+ utmCampaign: String
438
+ utmMedium: String
439
+ utmSource: String
440
+ utmiCampaign: String
441
+ utmiPart: String
442
+ utmiPage: String
473
443
  }
474
444
 
475
- """Commercial Authorization rule trigger effect."""
476
- type CommercialAuthorizationRuleTriggerEffect {
477
- """Effect description."""
478
- description: String
479
- """Effect type."""
480
- effectType: Int!
481
- """Function path."""
482
- funcPath: String
445
+ """Offer input."""
446
+ input IStoreOffer {
447
+ """Also known as spot price."""
448
+ price: Float!
449
+ """
450
+ This is displayed as the "from" price in the context of promotions' price comparison. This may change before it reaches the shelf.
451
+ """
452
+ listPrice: Float!
453
+ """Seller responsible for the offer."""
454
+ seller: IStoreOrganization!
455
+ """Information on the item being offered."""
456
+ itemOffered: IStoreProduct!
457
+ """Number of items offered."""
458
+ quantity: Int!
483
459
  }
484
460
 
485
- """Commercial Authorization rule score interval."""
486
- type CommercialAuthorizationRuleScoreInterval {
487
- """Accept score threshold."""
488
- accept: Float!
489
- """Deny score threshold."""
490
- deny: Float!
461
+ """Order input."""
462
+ input IStoreOrder {
463
+ """
464
+ ID of the order in [VTEX order management](https://help.vtex.com/en/tutorial/license-manager-resources-oms--60QcBsvWeum02cFi3GjBzg#).
465
+ """
466
+ orderNumber: String!
467
+ """Array with information on each accepted offer."""
468
+ acceptedOffer: [IStoreOffer!]!
469
+ """Indicates whether or not items with attachments should be split."""
470
+ shouldSplitItem: Boolean
491
471
  }
492
472
 
493
- """Commercial Authorization rule authorization data."""
494
- type CommercialAuthorizationRuleAuthorizationData {
495
- """Indicates if all approvals are required."""
496
- requireAllApprovals: Boolean!
497
- """List of authorizers."""
498
- authorizers: [CommercialAuthorizationRuleAuthorizer!]!
473
+ """Organization input."""
474
+ input IStoreOrganization {
475
+ """Organization ID."""
476
+ identifier: String!
499
477
  }
500
478
 
501
- """Commercial Authorization rule authorizer."""
502
- type CommercialAuthorizationRuleAuthorizer {
503
- """Authorizer ID."""
479
+ """Client profile data."""
480
+ input IStorePerson {
481
+ """Client ID."""
504
482
  id: String!
505
- """Authorizer email."""
506
- email: String
507
- """Authorizer type."""
508
- type: String!
509
- """Authorization date."""
510
- authorizationDate: String
483
+ """Client email."""
484
+ email: String!
485
+ """Client first name."""
486
+ givenName: String!
487
+ """Client last name."""
488
+ familyName: String!
511
489
  }
512
490
 
513
- """Input to get commercial authorizations by order ID."""
514
- input ICommercialAuthorizationByOrderId {
515
- """Order ID to get commercial authorizations for."""
516
- orderId: String!
491
+ """
492
+ Product input. Products are variants within product groups, equivalent to VTEX [SKUs](https://help.vtex.com/en/tutorial/what-is-an-sku--1K75s4RXAQyOuGUYKMM68u#). For example, you may have a **Shirt** product group with associated products such as **Blue shirt size L**, **Green shirt size XL** and so on.
493
+ """
494
+ input IStoreProduct {
495
+ """Stock Keeping Unit. Merchant-specific ID for the product."""
496
+ sku: String!
497
+ """Product name."""
498
+ name: String!
499
+ """Array of product images."""
500
+ image: [IStoreImage!]!
501
+ """Custom Product Additional Properties."""
502
+ additionalProperty: [IStorePropertyValue!]
517
503
  }
518
504
 
519
- """Input to process order authorization (approve or reject)."""
520
- input IProcessOrderAuthorization {
521
- """Order authorization ID."""
522
- orderAuthorizationId: String!
523
- """Rule ID associated with the authorization."""
524
- ruleId: String!
525
- """Dimension ID associated with the authorization."""
526
- dimensionId: String!
527
- """Whether the authorization is approved (true) or rejected (false)."""
528
- approved: Boolean!
505
+ input IStorePropertyValue {
506
+ """
507
+ Property id. This propert changes according to the content of the object.
508
+ """
509
+ propertyID: String
510
+ """
511
+ Property value. May hold a string or the string representation of an object.
512
+ """
513
+ value: ObjectOrString!
514
+ """Property name."""
515
+ name: String!
516
+ """Specifies the nature of the value"""
517
+ valueReference: ObjectOrString!
529
518
  }
530
519
 
531
- """Process Order Authorization response."""
532
- type ProcessOrderAuthorizationResponse {
533
- """Indicates if authorization is pending for other authorizers."""
534
- isPendingForOtherAuthorizer: Boolean!
535
- """The updated rule for authorization, if any."""
536
- ruleForAuthorization: ProcessOrderAuthorizationRule
520
+ """Selected search facet input."""
521
+ input IStoreSelectedFacet {
522
+ """Selected search facet key."""
523
+ key: String!
524
+ """Selected search facet value."""
525
+ value: String!
537
526
  }
538
527
 
539
- """Extended Commercial Authorization rule with additional process context."""
540
- type ProcessOrderAuthorizationRule {
541
- """Order authorization ID."""
542
- orderAuthorizationId: String!
543
- """Dimension ID."""
544
- dimensionId: String!
545
- """Base rule information."""
546
- rule: CommercialAuthorizationRule!
528
+ """Session input."""
529
+ input IStoreSession {
530
+ """Session input locale."""
531
+ locale: String!
532
+ """Session input currency."""
533
+ currency: IStoreCurrency!
534
+ """Session input country."""
535
+ country: String!
536
+ """Session input channel."""
537
+ channel: String
538
+ """Session input delivery mode."""
539
+ deliveryMode: IStoreDeliveryMode
540
+ """Session input address type."""
541
+ addressType: String
542
+ """Session input city."""
543
+ city: String
544
+ """Session input postal code."""
545
+ postalCode: String
546
+ """Session input geoCoordinates."""
547
+ geoCoordinates: IStoreGeoCoordinates
548
+ """Session input person."""
549
+ person: IStorePerson
550
+ """Session input b2b."""
551
+ b2b: IStoreB2B
552
+ """Marketing information input."""
553
+ marketingData: IStoreMarketingData
554
+ """Refresh token after Information."""
555
+ refreshAfter: String
547
556
  }
548
557
 
549
- """Organization."""
550
- type StoreOrganization {
551
- """Organization ID."""
552
- identifier: String!
558
+ """Input to the cancel order API."""
559
+ input IUserOrderCancel {
560
+ """Person's name."""
561
+ orderId: String!
562
+ """Customer's email."""
563
+ customerEmail: String
564
+ """Reason."""
565
+ reason: String
553
566
  }
554
567
 
555
- """Organization input."""
556
- input IStoreOrganization {
557
- """Organization ID."""
558
- identifier: String!
568
+ scalar JSONObject
569
+
570
+ type LogisticsInfo {
571
+ """LogisticsInfo itemIndex."""
572
+ itemIndex: String
573
+ """LogisticsInfo selectedSla."""
574
+ selectedSla: String
575
+ """List of LogisticsInfo ShippingSLA."""
576
+ slas: [ShippingSLA]
559
577
  }
560
578
 
561
- """Whenever you make a query that allows for pagination, such as `allProducts` or `allCollections`, you can check `StorePageInfo` to learn more about the complete set of items and use it to paginate your queries."""
562
- type StorePageInfo {
563
- """Indicates whether there is at least one more page with items after the ones returned in the current query."""
564
- hasNextPage: Boolean!
565
- """Indicates whether there is at least one more page with items before the ones returned in the current query."""
566
- hasPreviousPage: Boolean!
567
- """Cursor corresponding to the first possible item."""
568
- startCursor: String!
569
- """Cursor corresponding to the last possible item."""
570
- endCursor: String!
571
- """Total number of items (products or collections), not pages."""
572
- totalCount: Int!
579
+ """Shipping Simulation Logistic Item."""
580
+ type LogisticsItem {
581
+ """LogisticsItem ID / Sku."""
582
+ id: String
583
+ requestIndex: Int
584
+ """Number of items."""
585
+ quantity: Int
586
+ """Seller responsible for the ShippingItem."""
587
+ seller: String
588
+ """List of Sellers."""
589
+ sellerChain: [String]
590
+ """LogisticsItem tax."""
591
+ tax: Int
592
+ """
593
+ Next date in which price is scheduled to change. If there is no scheduled change, this will be set a year in the future from current time.
594
+ """
595
+ priceValidUntil: String
596
+ """LogisticsItem price."""
597
+ price: Int
598
+ """LogisticsItem listPrice."""
599
+ listPrice: Int
600
+ """LogisticsItem rewardValue."""
601
+ rewardValue: Int
602
+ """LogisticsItem sellingPrice."""
603
+ sellingPrice: Int
604
+ """LogisticsItem measurementUnit."""
605
+ measurementUnit: String
606
+ """LogisticsItem unitMultiplier."""
607
+ unitMultiplier: Int
608
+ """LogisticsItem availability."""
609
+ availability: String
573
610
  }
574
611
 
575
- """Input type for setting a new password."""
576
- input ISetPassword {
577
- """The email of the user for whom the password is being set."""
578
- email: String!
579
- """The new password to be set for the user."""
580
- newPassword: String!
581
- """The current password of the user, required for verification before changing to the new password."""
582
- currentPassword: String!
583
- """Optional access key for the user, used in some authentication flows."""
584
- accesskey: String
585
- """Optional reCAPTCHA token for security verification."""
586
- recaptcha: String
612
+ type MessageFields {
613
+ """MessageFields item index."""
614
+ itemIndex: String
615
+ """MessageFields ean."""
616
+ ean: String
617
+ """MessageFields sku name."""
618
+ skuName: String
587
619
  }
588
620
 
589
- """Response type for setting a new password."""
590
- type SetPasswordResponse {
591
- """Indicates whether the password was successfully set."""
592
- success: Boolean!
593
- """Message providing additional information about the operation."""
594
- message: String
621
+ type MessageInfo {
622
+ """MessageInfo code."""
623
+ code: String
624
+ """MessageInfo text."""
625
+ text: String
626
+ """MessageInfo status."""
627
+ status: String
628
+ """MessageInfo fields."""
629
+ fields: MessageFields
595
630
  }
596
631
 
597
- """Client profile data."""
598
- type StorePerson {
599
- """Client ID."""
600
- id: String!
601
- """Client email."""
602
- email: String!
603
- """Client first name."""
604
- givenName: String!
605
- """Client last name."""
606
- familyName: String!
632
+ type Mutation {
633
+ """
634
+ Checks for changes between the cart presented in the UI and the cart stored in the ecommerce platform. If changes are detected, it returns the cart stored on the platform. Otherwise, it returns `null`.
635
+ """
636
+ validateCart(cart: IStoreCart!, session: IStoreSession): StoreCart
637
+ """Updates a web session with the specified values."""
638
+ validateSession(session: IStoreSession!, search: String!): StoreSession
639
+ """Subscribes a new person to the newsletter list."""
640
+ subscribeToNewsletter(data: IPersonNewsletter!): PersonNewsletter
641
+ """Cancels user order"""
642
+ cancelOrder(data: IUserOrderCancel!): UserOrderCancel
643
+ """Process Order Authorization"""
644
+ processOrderAuthorization(data: IProcessOrderAuthorization!): ProcessOrderAuthorizationResponse
607
645
  }
608
646
 
609
- """Client profile data."""
610
- input IStorePerson {
611
- """Client ID."""
647
+ """
648
+ A string or the string representation of an object (a stringified object).
649
+ """
650
+ scalar ObjectOrString
651
+
652
+ """Newsletter information."""
653
+ type PersonNewsletter {
654
+ """Person's ID in the newsletter list."""
612
655
  id: String!
613
- """Client email."""
614
- email: String!
615
- """Client first name."""
616
- givenName: String!
617
- """Client last name."""
618
- familyName: String!
656
+ }
657
+
658
+ type PickupAddress {
659
+ """PickupAddress address type."""
660
+ addressType: String
661
+ """PickupAddress receiver name."""
662
+ receiverName: String
663
+ """PickupAddress address id."""
664
+ addressId: String
665
+ """PickupAddress postal code."""
666
+ postalCode: String
667
+ """PickupAddress city."""
668
+ city: String
669
+ """PickupAddress state."""
670
+ state: String
671
+ """PickupAddress country."""
672
+ country: String
673
+ """PickupAddress street."""
674
+ street: String
675
+ """PickupAddress number."""
676
+ number: String
677
+ """PickupAddress neighborhood."""
678
+ neighborhood: String
679
+ """PickupAddress complement."""
680
+ complement: String
681
+ """PickupAddress reference."""
682
+ reference: String
683
+ """PickupAddress geo coordinates."""
684
+ geoCoordinates: [Float]
619
685
  }
620
686
 
621
687
  type PickupPointAddress {
@@ -633,15 +699,6 @@ type PickupPointAddress {
633
699
  state: String
634
700
  }
635
701
 
636
- type BusinessHour {
637
- """Number that represents the day of the week."""
638
- dayOfWeek: Int
639
- """Business hour opening time."""
640
- openingTime: String
641
- """Business hour closing time."""
642
- closingTime: String
643
- }
644
-
645
702
  type PickupPointDistance {
646
703
  """Pickup point ID."""
647
704
  pickupId: String
@@ -664,114 +721,42 @@ type PickupPoints {
664
721
  pickupPointsHash: String
665
722
  }
666
723
 
667
- """Product information. Products are variants within product groups, equivalent to VTEX [SKUs](https://help.vtex.com/en/tutorial/what-is-an-sku--1K75s4RXAQyOuGUYKMM68u#). For example, you may have a **Shirt** product group with associated products such as **Blue shirt size L**, **Green shirt size XL** and so on."""
668
- type StoreProduct {
669
- """Meta tag data."""
670
- seo: StoreSeo!
671
- """List of items consisting of chain linked web pages, ending with the current page."""
672
- breadcrumbList: StoreBreadcrumbList!
673
- """Corresponding collection URL slug, with which to retrieve this entity."""
674
- slug: String!
675
- """Product name."""
676
- name: String!
677
- """Product ID, such as [ISBN](https://www.isbn-international.org/content/what-isbn) or similar global IDs."""
678
- productID: String!
679
- """Product brand."""
680
- brand: StoreBrand!
681
- """Product description."""
682
- description: String!
683
- """Array of images."""
684
- image(context: String = "generic", limit: Int = -1): [StoreImage!]!
685
- """Aggregate offer information."""
686
- offers: StoreAggregateOffer!
687
- """Stock Keeping Unit. Merchant-specific ID for the product."""
688
- sku: String!
689
- """Global Trade Item Number."""
690
- gtin: String!
691
- """Manufacturer Part Number. Identifies the product to its manufacturer."""
692
- mpn: String!
693
- """Array with review information."""
694
- review: [StoreReview!]!
695
- """Aggregate ratings data."""
696
- aggregateRating: StoreAggregateRating!
697
- """Indicates product group related to this product."""
698
- isVariantOf: StoreProductGroup!
699
- """Array of additional properties."""
700
- additionalProperty: [StorePropertyValue!]!
701
- """The product's release date. Formatted using https://en.wikipedia.org/wiki/ISO_8601"""
702
- releaseDate: String!
703
- """Sku Unit Multiplier"""
704
- unitMultiplier: Float
705
- """Advertisement information about the product."""
706
- advertisement: Advertisement
707
- """Indicates whether the product has specifications."""
708
- hasSpecifications: Boolean
709
- """Indicate the specifications of a product."""
710
- skuSpecifications: [SkuSpecification!]!
711
- """Indicate the specifications of a group of SKUs."""
712
- specificationGroups: [SpecificationGroup!]!
713
- """Delivery Promise product's badge."""
714
- deliveryPromiseBadges: [DeliveryPromiseBadge]
715
- }
716
-
717
- type SkuSpecification {
718
- field: SKUSpecificationField!
719
- values: [SKUSpecificationValue!]!
720
- }
721
-
722
- type SKUSpecificationValue {
723
- name: String!
724
- id: String
725
- fieldId: String
726
- originalName: String
727
- }
728
-
729
- type SKUSpecificationField {
730
- name: String!
731
- originalName: String
732
- id: String
733
- }
734
-
735
- type SpecificationGroup {
736
- name: String!
737
- originalName: String!
738
- specifications: [Specification!]!
724
+ type PickupStoreInfo {
725
+ """PickupStoreInfo friendly name."""
726
+ friendlyName: String
727
+ """PickupStoreInfo address."""
728
+ address: PickupAddress
729
+ """PickupStoreInfo additional information."""
730
+ additionalInfo: String
731
+ """PickupStoreInfo dock id."""
732
+ dockId: String
733
+ """Information if the store has pickup enable."""
734
+ isPickupStore: Boolean
739
735
  }
740
736
 
741
- type Specification {
742
- name: String!
743
- originalName: String!
744
- values: [String!]!
737
+ """Process Order Authorization response."""
738
+ type ProcessOrderAuthorizationResponse {
739
+ """Indicates if authorization is pending for other authorizers."""
740
+ isPendingForOtherAuthorizer: Boolean!
741
+ """The updated rule for authorization, if any."""
742
+ ruleForAuthorization: ProcessOrderAuthorizationRule
745
743
  }
746
744
 
747
- """Product input. Products are variants within product groups, equivalent to VTEX [SKUs](https://help.vtex.com/en/tutorial/what-is-an-sku--1K75s4RXAQyOuGUYKMM68u#). For example, you may have a **Shirt** product group with associated products such as **Blue shirt size L**, **Green shirt size XL** and so on."""
748
- input IStoreProduct {
749
- """Stock Keeping Unit. Merchant-specific ID for the product."""
750
- sku: String!
751
- """Product name."""
752
- name: String!
753
- """Array of product images."""
754
- image: [IStoreImage!]!
755
- """Custom Product Additional Properties."""
756
- additionalProperty: [IStorePropertyValue!]
745
+ """
746
+ Extended Commercial Authorization rule with additional process context.
747
+ """
748
+ type ProcessOrderAuthorizationRule {
749
+ """Order authorization ID."""
750
+ orderAuthorizationId: String!
751
+ """Dimension ID."""
752
+ dimensionId: String!
753
+ """Base rule information."""
754
+ rule: CommercialAuthorizationRule!
757
755
  }
758
756
 
759
- """Product group information. Product groups are catalog entities that may contain variants. They are equivalent to VTEX [Products](https://help.vtex.com/en/tutorial/what-is-a-product--2zrB2gFCHyQokCKKE8kuAw#), whereas each variant is equivalent to a VTEX [SKU](https://help.vtex.com/en/tutorial/what-is-an-sku--1K75s4RXAQyOuGUYKMM68u#). For example, you may have a **Shirt** product group with associated products such as **Blue shirt size L**, **Green shirt size XL** and so on."""
760
- type StoreProductGroup {
761
- """Array of variants related to product group. Variants are equivalent to VTEX [SKUs](https://help.vtex.com/en/tutorial/what-is-an-sku--1K75s4RXAQyOuGUYKMM68u#)."""
762
- hasVariant: [StoreProduct!]!
763
- """Product group ID."""
764
- productGroupID: String!
765
- """Product group name."""
766
- name: String!
767
- """Array of additional properties."""
768
- additionalProperty: [StorePropertyValue!]!
769
- """
770
- Object containing data structures to facilitate handling different SKU
771
- variant properties. Specially useful for implementing SKU selection
772
- components.
773
- """
774
- skuVariants: SkuVariants
757
+ type ProductCountResult {
758
+ """Total product count."""
759
+ total: Int!
775
760
  }
776
761
 
777
762
  type Profile {
@@ -808,149 +793,6 @@ type ProfileAddress {
808
793
  geoCoordinate: [Float]
809
794
  }
810
795
 
811
- """Properties that can be associated with products and products groups."""
812
- type StorePropertyValue {
813
- """Property id. This propert changes according to the content of the object."""
814
- propertyID: String!
815
- """Property value. May hold a string or the string representation of an object."""
816
- value: ObjectOrString!
817
- """Property name."""
818
- name: String!
819
- """Specifies the nature of the value"""
820
- valueReference: ObjectOrString!
821
- }
822
-
823
- input IStorePropertyValue {
824
- """Property id. This propert changes according to the content of the object."""
825
- propertyID: String
826
- """Property value. May hold a string or the string representation of an object."""
827
- value: ObjectOrString!
828
- """Property name."""
829
- name: String!
830
- """Specifies the nature of the value"""
831
- valueReference: ObjectOrString!
832
- }
833
-
834
- """Each product edge contains a `node`, with product information, and a `cursor`, that can be used as a reference for pagination."""
835
- type StoreProductEdge {
836
- """Each product node contains the information of a product returned by the query."""
837
- node: StoreProduct!
838
- """Product cursor. Used as pagination reference."""
839
- cursor: String!
840
- }
841
-
842
- """Product connections, including pagination information and products returned by the query."""
843
- type StoreProductConnection {
844
- """Product pagination information."""
845
- pageInfo: StorePageInfo!
846
- """Array with product connection edges, each containing a product and a corresponding cursor."""
847
- edges: [StoreProductEdge!]!
848
- }
849
-
850
- """Each collection edge contains a `node`, with product collection information, and a `cursor`, that can be used as a reference for pagination."""
851
- type StoreCollectionEdge {
852
- """Each collection node contains the information of a product collection returned by the query."""
853
- node: StoreCollection!
854
- """Collection cursor. Used as pagination reference."""
855
- cursor: String!
856
- }
857
-
858
- """Collection connections, including pagination information and collections returned by the query."""
859
- type StoreCollectionConnection {
860
- """Collection pagination information."""
861
- pageInfo: StorePageInfo!
862
- """Array with collection connection page edges, each containing a collection and a corresponding cursor.."""
863
- edges: [StoreCollectionEdge!]!
864
- }
865
-
866
- """Product search results sorting options."""
867
- enum StoreSort {
868
- """Sort by price, from highest to lowest."""
869
- price_desc
870
- """Sort by price, from lowest to highest."""
871
- price_asc
872
- """Sort by orders, from highest to lowest."""
873
- orders_desc
874
- """Sort by name, in reverse alphabetical order."""
875
- name_desc
876
- """Sort by name, in alphabetical order."""
877
- name_asc
878
- """Sort by release date, from highest to lowest."""
879
- release_desc
880
- """Sort by discount value, from highest to lowest."""
881
- discount_desc
882
- """Sort by product score, from highest to lowest."""
883
- score_desc
884
- }
885
-
886
- """Selected search facet input."""
887
- input IStoreSelectedFacet {
888
- """Selected search facet key."""
889
- key: String!
890
- """Selected search facet value."""
891
- value: String!
892
- }
893
-
894
- """Search facet type."""
895
- enum StoreFacetType {
896
- """Indicates boolean search facet."""
897
- BOOLEAN
898
- """Indicates range type search facet."""
899
- RANGE
900
- }
901
-
902
- """Suggestion term."""
903
- type StoreSuggestionTerm {
904
- """The term."""
905
- value: String!
906
- """Its occurrences count."""
907
- count: Int!
908
- }
909
-
910
- """Suggestions information."""
911
- type StoreSuggestions {
912
- """Array with suggestion terms."""
913
- terms: [StoreSuggestionTerm!]!
914
- """Array with suggestion products' information."""
915
- products: [StoreProduct!]!
916
- }
917
-
918
- """Search result."""
919
- type SearchMetadata {
920
- """Indicates if the search term was misspelled."""
921
- isTermMisspelled: Boolean!
922
- """Logical operator used to run the search."""
923
- logicalOperator: String!
924
- """Indicates how the search engine corrected the misspelled word by using fuzzy logic."""
925
- fuzzy: String
926
- }
927
-
928
- """Search result."""
929
- type StoreSearchResult {
930
- """Search result products."""
931
- products: StoreProductConnection!
932
- """Array of search result facets."""
933
- facets: [StoreFacet!]!
934
- """Search result suggestions."""
935
- suggestions: StoreSuggestions!
936
- """Search result metadata. Additional data can be used to send analytics events."""
937
- metadata: SearchMetadata
938
- """Search result searchId. Unique identifier for the search query can be used to correlate search analytics events."""
939
- searchId: String!
940
- }
941
-
942
- input IGeoCoordinates {
943
- """The latitude of the geographic coordinates."""
944
- latitude: Float!
945
- """The longitude of the geographic coordinates."""
946
- longitude: Float!
947
- }
948
-
949
- type ProductCountResult {
950
- """Total product count."""
951
- total: Int!
952
- }
953
-
954
796
  type Query {
955
797
  """Returns the details of a product based on the specified locator."""
956
798
  product(
@@ -964,9 +806,13 @@ type Query {
964
806
  ): StoreCollection! @cacheControl(scope: "public", sMaxAge: 300, staleWhileRevalidate: 3600)
965
807
  """Returns the result of a product, facet, or suggestion search."""
966
808
  search(
967
- """Search pagination argument, indicating how many results should be returned from the complete result list."""
809
+ """
810
+ Search pagination argument, indicating how many results should be returned from the complete result list.
811
+ """
968
812
  first: Int!
969
- """Search pagination argument, indicating the cursor corresponding with the item after which the results should be fetched."""
813
+ """
814
+ Search pagination argument, indicating the cursor corresponding with the item after which the results should be fetched.
815
+ """
970
816
  after: String
971
817
  """Search results sorting mode."""
972
818
  sort: StoreSort = score_desc
@@ -979,18 +825,26 @@ type Query {
979
825
  ): StoreSearchResult! @cacheControl(scope: "public", sMaxAge: 300, staleWhileRevalidate: 3600)
980
826
  """Returns information about all products."""
981
827
  allProducts(
982
- """Product pagination argument, indicating how many items should be returned from the complete result list."""
828
+ """
829
+ Product pagination argument, indicating how many items should be returned from the complete result list.
830
+ """
983
831
  first: Int!
984
- """Product pagination argument, indicating the cursor corresponding with the item after which the items should be fetched."""
832
+ """
833
+ Product pagination argument, indicating the cursor corresponding with the item after which the items should be fetched.
834
+ """
985
835
  after: String
986
836
  ): StoreProductConnection! @cacheControl(scope: "public", sMaxAge: 300, staleWhileRevalidate: 3600)
987
837
  """Returns information about selected products."""
988
838
  products(productIds: [String!]!): [StoreProduct!]! @cacheControl(scope: "public", sMaxAge: 300, staleWhileRevalidate: 3600)
989
839
  """Returns information about all collections."""
990
840
  allCollections(
991
- """Collection pagination argument, indicating how many items should be returned from the complete result list."""
841
+ """
842
+ Collection pagination argument, indicating how many items should be returned from the complete result list.
843
+ """
992
844
  first: Int!
993
- """Collection pagination argument, indicating the cursor corresponding with the item after which the items should be fetched."""
845
+ """
846
+ Collection pagination argument, indicating the cursor corresponding with the item after which the items should be fetched.
847
+ """
994
848
  after: String
995
849
  ): StoreCollectionConnection! @cacheControl(scope: "public", sMaxAge: 300, staleWhileRevalidate: 3600)
996
850
  """Returns information about shipping simulation."""
@@ -1025,7 +879,9 @@ type Query {
1025
879
  """Identifier for user."""
1026
880
  id: String!
1027
881
  ): Profile @cacheControl(scope: "public", sMaxAge: 300, staleWhileRevalidate: 3600)
1028
- """Returns the total product count information based on a specific location accessible through the VTEX segment cookie."""
882
+ """
883
+ Returns the total product count information based on a specific location accessible through the VTEX segment cookie.
884
+ """
1029
885
  productCount(
1030
886
  """Search term."""
1031
887
  term: String
@@ -1056,7 +912,9 @@ type Query {
1056
912
  ): UserOrderListMinimalResult @auth @cacheControl(scope: "private", sMaxAge: 300, staleWhileRevalidate: 3600)
1057
913
  """Returns information about the current user details."""
1058
914
  userDetails: StoreUserDetails! @auth @cacheControl(scope: "private", sMaxAge: 300, staleWhileRevalidate: 3600)
1059
- """Returns the account profile information for the current authenticated user (b2b or b2c user)."""
915
+ """
916
+ Returns the account profile information for the current authenticated user (b2b or b2c user).
917
+ """
1060
918
  accountProfile: StoreAccountProfile! @auth @cacheControl(scope: "private", sMaxAge: 300, staleWhileRevalidate: 3600)
1061
919
  """Returns information about the user validation."""
1062
920
  validateUser: ValidateUserData @auth @cacheControl(scope: "private", sMaxAge: 300, staleWhileRevalidate: 3600)
@@ -1067,26 +925,29 @@ type Query {
1067
925
  ): PickupPoints @cacheControl(scope: "public", sMaxAge: 300, staleWhileRevalidate: 3600)
1068
926
  }
1069
927
 
1070
- type ValidateUserData {
1071
- """Indicates if the user is valid."""
1072
- isValid: Boolean!
928
+ type SKUSpecificationField {
929
+ name: String!
930
+ originalName: String
931
+ id: String
1073
932
  }
1074
933
 
1075
- """
1076
- Redirect informations, including url returned by the query.
1077
- https://schema.org/Thing
1078
- """
1079
- type StoreRedirect {
1080
- """URL to redirect"""
1081
- url: String
934
+ type SKUSpecificationValue {
935
+ name: String!
936
+ id: String
937
+ fieldId: String
938
+ originalName: String
1082
939
  }
1083
940
 
1084
- """Regionalization with sellers information."""
1085
- type SellersData {
1086
- """Identification of region."""
1087
- id: String
1088
- """List of sellers."""
1089
- sellers: [SellerInfo]
941
+ """Search result."""
942
+ type SearchMetadata {
943
+ """Indicates if the search term was misspelled."""
944
+ isTermMisspelled: Boolean!
945
+ """Logical operator used to run the search."""
946
+ logicalOperator: String!
947
+ """
948
+ Indicates how the search engine corrected the misspelled word by using fuzzy logic.
949
+ """
950
+ fuzzy: String
1090
951
  }
1091
952
 
1092
953
  """Information of sellers."""
@@ -1099,165 +960,163 @@ type SellerInfo {
1099
960
  logo: String
1100
961
  }
1101
962
 
1102
- """User details information."""
1103
- type StoreUserDetails {
1104
- """User's name."""
1105
- name: String
1106
- """User's email."""
1107
- email: String
1108
- """User's role."""
1109
- role: [String]
1110
- """User's organizational unit."""
1111
- orgUnit: String
1112
- }
1113
-
1114
- """Account profile information."""
1115
- type StoreAccountProfile {
1116
- name: String
1117
- email: String
963
+ """Regionalization with sellers information."""
964
+ type SellersData {
965
+ """Identification of region."""
1118
966
  id: String
967
+ """List of sellers."""
968
+ sellers: [SellerInfo]
1119
969
  }
1120
970
 
1121
- """Information of a given review rating."""
1122
- type StoreReviewRating {
1123
- """Rating value."""
1124
- ratingValue: Float!
1125
- """Best rating value."""
1126
- bestRating: Float!
1127
- }
1128
-
1129
- """Information of a given review."""
1130
- type StoreReview {
1131
- """Review rating information."""
1132
- reviewRating: StoreReviewRating!
1133
- """Review author."""
1134
- author: StoreAuthor!
971
+ """Response type for setting a new password."""
972
+ type SetPasswordResponse {
973
+ """Indicates whether the password was successfully set."""
974
+ success: Boolean!
975
+ """Message providing additional information about the operation."""
976
+ message: String
1135
977
  }
1136
978
 
1137
- """Search Engine Optimization (SEO) tags data."""
1138
- type StoreSeo {
1139
- """Title tag."""
1140
- title: String!
1141
- """Title template tag."""
1142
- titleTemplate: String!
1143
- """Description tag."""
1144
- description: String!
1145
- """Canonical tag."""
1146
- canonical: String!
979
+ """Shipping Simulation information."""
980
+ type ShippingData {
981
+ """List of LogisticsItem."""
982
+ items: [LogisticsItem]
983
+ """List of LogisticsInfo."""
984
+ logisticsInfo: [LogisticsInfo]
985
+ """List of MessageInfo."""
986
+ messages: [MessageInfo]
987
+ """Address information."""
988
+ address: Address
1147
989
  }
1148
990
 
1149
- """Currency information."""
1150
- type StoreCurrency {
1151
- """Currency code (e.g: USD)."""
1152
- code: String!
1153
- """Currency symbol (e.g: $)."""
1154
- symbol: String!
991
+ type ShippingSLA {
992
+ """ShippingSLA id."""
993
+ id: String
994
+ """ShippingSLA name."""
995
+ name: String
996
+ """ShippingSLA price."""
997
+ price: Float
998
+ """ShippingSLA shipping estimate."""
999
+ shippingEstimate: String
1000
+ """
1001
+ ShippingSLA localized shipping estimate.
1002
+ Note: this will always return a localized string for locale `en-US`.
1003
+ """
1004
+ localizedEstimates: String
1005
+ """ShippingSLA available delivery windows."""
1006
+ availableDeliveryWindows: [AvailableDeliveryWindows]
1007
+ """ShippingSLA shipping estimate date."""
1008
+ shippingEstimateDate: String
1009
+ """List of ShippingSLA delivery ids."""
1010
+ deliveryIds: [DeliveryIds]
1011
+ """ShippingSLA delivery channel."""
1012
+ deliveryChannel: String
1013
+ """ShippingSLA friendly name."""
1014
+ friendlyName: String
1015
+ """ShippingSLA carrier."""
1016
+ carrier: String
1017
+ """ShippingSLA pickup point id."""
1018
+ pickupPointId: String
1019
+ """ShippingSLA pickup store info."""
1020
+ pickupStoreInfo: PickupStoreInfo
1021
+ """ShippingSLA pickup distance."""
1022
+ pickupDistance: Float
1155
1023
  }
1156
1024
 
1157
- input IStoreCurrency {
1158
- """Currency code (e.g: USD)."""
1159
- code: String!
1160
- """Currency symbol (e.g: $)."""
1161
- symbol: String!
1025
+ type SkuSpecification {
1026
+ field: SKUSpecificationField!
1027
+ values: [SKUSpecificationValue!]!
1162
1028
  }
1163
1029
 
1164
- """Marketing information."""
1165
- type StoreMarketingData {
1166
- utmCampaign: String
1167
- utmMedium: String
1168
- utmSource: String
1169
- utmiCampaign: String
1170
- utmiPart: String
1171
- utmiPage: String
1030
+ type SkuVariants {
1031
+ """SKU property values for the current SKU."""
1032
+ activeVariations: ActiveVariations
1033
+ """
1034
+ All available options for each SKU variant property, indexed by their name.
1035
+ """
1036
+ allVariantsByName: VariantsByName
1037
+ """
1038
+ Maps property value combinations to their respective SKU's slug. Enables
1039
+ us to retrieve the slug for the SKU that matches the currently selected
1040
+ variations in O(1) time.
1041
+ If `dominantVariantName` is not present, the first variant will be
1042
+ considered the dominant one.
1043
+ """
1044
+ slugsMap(dominantVariantName: String): SlugsMap
1045
+ """
1046
+ Available options for each varying SKU property, taking into account the
1047
+ `dominantVariantName` property. Returns all available options for the
1048
+ dominant property, and only options that can be combined with its current
1049
+ value for other properties.
1050
+ If `dominantVariantName` is not present, the first variant will be
1051
+ considered the dominant one.
1052
+ """
1053
+ availableVariations(dominantVariantName: String): FormattedVariants
1054
+ """
1055
+ All available options for each SKU variant property, indexed by their name.
1056
+ """
1057
+ allVariantProducts: [StoreProduct!]
1172
1058
  }
1173
1059
 
1174
- input IStoreMarketingData {
1175
- utmCampaign: String
1176
- utmMedium: String
1177
- utmSource: String
1178
- utmiCampaign: String
1179
- utmiPart: String
1180
- utmiPage: String
1181
- }
1060
+ """
1061
+ Example:
1182
1062
 
1183
- """Geographic coordinates information."""
1184
- type StoreGeoCoordinates {
1185
- """The latitude of the geographic coordinates."""
1186
- latitude: Float!
1187
- """The longitude of the geographic coordinates."""
1188
- longitude: Float!
1063
+ ```json
1064
+ {
1065
+ 'Color-Red-Size-40': 'classic-shoes-37'
1189
1066
  }
1067
+ ```
1068
+ """
1069
+ scalar SlugsMap
1190
1070
 
1191
- input IStoreGeoCoordinates {
1192
- """The latitude of the geographic coordinates."""
1193
- latitude: Float!
1194
- """The longitude of the geographic coordinates."""
1195
- longitude: Float!
1071
+ type Specification {
1072
+ name: String!
1073
+ originalName: String!
1074
+ values: [String!]!
1196
1075
  }
1197
1076
 
1198
- """Delivery window information."""
1199
- type StoreDeliveryWindow {
1200
- """The delivery window start date information."""
1201
- startDate: String!
1202
- """The delivery window end date information."""
1203
- endDate: String!
1077
+ type SpecificationGroup {
1078
+ name: String!
1079
+ originalName: String!
1080
+ specifications: [Specification!]!
1204
1081
  }
1205
1082
 
1206
- """Delivery window information."""
1207
- input IStoreDeliveryWindow {
1208
- """The delivery window start date information."""
1209
- startDate: String!
1210
- """The delivery window end date information."""
1211
- endDate: String!
1083
+ """Account profile information."""
1084
+ type StoreAccountProfile {
1085
+ name: String
1086
+ email: String
1087
+ id: String
1212
1088
  }
1213
1089
 
1214
- """Delivery mode information."""
1215
- type StoreDeliveryMode {
1216
- """The delivery channel information of the session."""
1217
- deliveryChannel: String!
1218
- """The delivery method information of the session."""
1219
- deliveryMethod: String!
1220
- """The delivery window information of the session."""
1221
- deliveryWindow: StoreDeliveryWindow
1090
+ """
1091
+ Aggregate offer information, for a given SKU that is available to be fulfilled by multiple sellers.
1092
+ """
1093
+ type StoreAggregateOffer {
1094
+ """Highest price among all sellers."""
1095
+ highPrice: Float!
1096
+ """Lowest price among all sellers."""
1097
+ lowPrice: Float!
1098
+ """Lowest price among all sellers with current taxes."""
1099
+ lowPriceWithTaxes: Float!
1100
+ """Number of sellers selling this SKU."""
1101
+ offerCount: Int!
1102
+ """ISO code of the currency used for the offer prices."""
1103
+ priceCurrency: String!
1104
+ """Array with information on each available offer."""
1105
+ offers: [StoreOffer!]!
1222
1106
  }
1223
1107
 
1224
- input IStoreDeliveryMode {
1225
- """The delivery channel information of the session."""
1226
- deliveryChannel: String!
1227
- """The delivery method information of the session."""
1228
- deliveryMethod: String!
1229
- """The delivery window information of the session."""
1230
- deliveryWindow: IStoreDeliveryWindow
1108
+ """Average rating, based on multiple ratings or reviews."""
1109
+ type StoreAggregateRating {
1110
+ """Value of the aggregate rating."""
1111
+ ratingValue: Float!
1112
+ """Total number of ratings."""
1113
+ reviewCount: Int!
1231
1114
  }
1232
1115
 
1233
- """Session information."""
1234
- type StoreSession {
1235
- """Session locale."""
1236
- locale: String!
1237
- """Session currency."""
1238
- currency: StoreCurrency!
1239
- """Session country."""
1240
- country: String!
1241
- """Session channel."""
1242
- channel: String
1243
- """Session delivery mode."""
1244
- deliveryMode: StoreDeliveryMode
1245
- """Session address type."""
1246
- addressType: String
1247
- """Session city."""
1248
- city: String
1249
- """Session postal code."""
1250
- postalCode: String
1251
- """Session input geoCoordinates."""
1252
- geoCoordinates: StoreGeoCoordinates
1253
- """Session input person."""
1254
- person: StorePerson
1255
- """B2B Information."""
1256
- b2b: StoreB2B
1257
- """Marketing information."""
1258
- marketingData: StoreMarketingData
1259
- """Refresh token after Information."""
1260
- refreshAfter: String
1116
+ """information about the author of a product review or rating."""
1117
+ type StoreAuthor {
1118
+ """Author name."""
1119
+ name: String!
1261
1120
  }
1262
1121
 
1263
1122
  type StoreB2B {
@@ -1274,722 +1133,837 @@ type StoreB2B {
1274
1133
  organizationManager: Boolean
1275
1134
  }
1276
1135
 
1277
- input IStoreB2B {
1278
- customerId: String!
1279
- isRepresentative: Boolean
1280
- unitName: String
1281
- unitId: String
1282
- firstName: String
1283
- lastName: String
1284
- userName: String
1285
- userEmail: String
1286
- savedPostalCode: String
1287
- contractName: String
1288
- organizationManager: Boolean
1136
+ """Brand of a given product."""
1137
+ type StoreBrand {
1138
+ """Brand name."""
1139
+ name: String!
1289
1140
  }
1290
1141
 
1291
- """Session input."""
1292
- input IStoreSession {
1293
- """Session input locale."""
1294
- locale: String!
1295
- """Session input currency."""
1296
- currency: IStoreCurrency!
1297
- """Session input country."""
1298
- country: String!
1299
- """Session input channel."""
1300
- channel: String
1301
- """Session input delivery mode."""
1302
- deliveryMode: IStoreDeliveryMode
1303
- """Session input address type."""
1304
- addressType: String
1305
- """Session input city."""
1306
- city: String
1307
- """Session input postal code."""
1308
- postalCode: String
1309
- """Session input geoCoordinates."""
1310
- geoCoordinates: IStoreGeoCoordinates
1311
- """Session input person."""
1312
- person: IStorePerson
1313
- """Session input b2b."""
1314
- b2b: IStoreB2B
1315
- """Marketing information input."""
1316
- marketingData: IStoreMarketingData
1317
- """Refresh token after Information."""
1318
- refreshAfter: String
1142
+ """
1143
+ List of items consisting of chain linked web pages, ending with the current page.
1144
+ """
1145
+ type StoreBreadcrumbList {
1146
+ """Array with breadcrumb elements."""
1147
+ itemListElement: [StoreListItem!]!
1148
+ """Number of breadcrumbs in the list."""
1149
+ numberOfItems: Int!
1319
1150
  }
1320
1151
 
1321
- """Shipping Simulation item input."""
1322
- input IShippingItem {
1323
- """ShippingItem ID / Sku."""
1324
- id: String!
1325
- """Number of items."""
1326
- quantity: Int!
1327
- """Seller responsible for the ShippingItem."""
1328
- seller: String!
1152
+ """Shopping cart information."""
1153
+ type StoreCart {
1154
+ """
1155
+ Order information, including `orderNumber`, `acceptedOffer` and `shouldSplitItem`.
1156
+ """
1157
+ order: StoreOrder!
1158
+ """List of shopping cart messages."""
1159
+ messages: [StoreCartMessage!]!
1329
1160
  }
1330
1161
 
1331
- """Shipping Simulation information."""
1332
- type ShippingData {
1333
- """List of LogisticsItem."""
1334
- items: [LogisticsItem]
1335
- """List of LogisticsInfo."""
1336
- logisticsInfo: [LogisticsInfo]
1337
- """List of MessageInfo."""
1338
- messages: [MessageInfo]
1339
- """Address information."""
1340
- address: Address
1162
+ """Shopping cart message."""
1163
+ type StoreCartMessage {
1164
+ """Shopping cart message text."""
1165
+ text: String!
1166
+ """
1167
+ Shopping cart message status, which can be `INFO`, `WARNING` or `ERROR`.
1168
+ """
1169
+ status: StoreStatus!
1341
1170
  }
1342
1171
 
1343
- """Shipping Simulation Logistic Item."""
1344
- type LogisticsItem {
1345
- """LogisticsItem ID / Sku."""
1346
- id: String
1347
- requestIndex: Int
1348
- """Number of items."""
1349
- quantity: Int
1350
- """Seller responsible for the ShippingItem."""
1351
- seller: String
1352
- """List of Sellers."""
1353
- sellerChain: [String]
1354
- """LogisticsItem tax."""
1355
- tax: Int
1356
- """Next date in which price is scheduled to change. If there is no scheduled change, this will be set a year in the future from current time."""
1357
- priceValidUntil: String
1358
- """LogisticsItem price."""
1359
- price: Int
1360
- """LogisticsItem listPrice."""
1361
- listPrice: Int
1362
- """LogisticsItem rewardValue."""
1363
- rewardValue: Int
1364
- """LogisticsItem sellingPrice."""
1365
- sellingPrice: Int
1366
- """LogisticsItem measurementUnit."""
1367
- measurementUnit: String
1368
- """LogisticsItem unitMultiplier."""
1369
- unitMultiplier: Int
1370
- """LogisticsItem availability."""
1371
- availability: String
1172
+ """Product collection information."""
1173
+ type StoreCollection {
1174
+ """Meta tag data."""
1175
+ seo: StoreSeo!
1176
+ """
1177
+ List of items consisting of chain linked web pages, ending with the current page.
1178
+ """
1179
+ breadcrumbList: StoreBreadcrumbList!
1180
+ """Collection meta information. Used for search."""
1181
+ meta: StoreCollectionMeta!
1182
+ """Collection ID."""
1183
+ id: ID!
1184
+ """Corresponding collection URL slug, with which to retrieve this entity."""
1185
+ slug: String!
1186
+ """Collection type."""
1187
+ type: StoreCollectionType!
1372
1188
  }
1373
1189
 
1374
- type LogisticsInfo {
1375
- """LogisticsInfo itemIndex."""
1376
- itemIndex: String
1377
- """LogisticsInfo selectedSla."""
1378
- selectedSla: String
1379
- """List of LogisticsInfo ShippingSLA."""
1380
- slas: [ShippingSLA]
1190
+ """
1191
+ Collection connections, including pagination information and collections returned by the query.
1192
+ """
1193
+ type StoreCollectionConnection {
1194
+ """Collection pagination information."""
1195
+ pageInfo: StorePageInfo!
1196
+ """
1197
+ Array with collection connection page edges, each containing a collection and a corresponding cursor..
1198
+ """
1199
+ edges: [StoreCollectionEdge!]!
1381
1200
  }
1382
1201
 
1383
- type ShippingSLA {
1384
- """ShippingSLA id."""
1385
- id: String
1386
- """ShippingSLA name."""
1387
- name: String
1388
- """ShippingSLA price."""
1389
- price: Float
1390
- """ShippingSLA shipping estimate."""
1391
- shippingEstimate: String
1202
+ """
1203
+ Each collection edge contains a `node`, with product collection information, and a `cursor`, that can be used as a reference for pagination.
1204
+ """
1205
+ type StoreCollectionEdge {
1392
1206
  """
1393
- ShippingSLA localized shipping estimate.
1394
- Note: this will always return a localized string for locale `en-US`.
1207
+ Each collection node contains the information of a product collection returned by the query.
1395
1208
  """
1396
- localizedEstimates: String
1397
- """ShippingSLA available delivery windows."""
1398
- availableDeliveryWindows: [AvailableDeliveryWindows]
1399
- """ShippingSLA shipping estimate date."""
1400
- shippingEstimateDate: String
1401
- """List of ShippingSLA delivery ids."""
1402
- deliveryIds: [DeliveryIds]
1403
- """ShippingSLA delivery channel."""
1404
- deliveryChannel: String
1405
- """ShippingSLA friendly name."""
1406
- friendlyName: String
1407
- """ShippingSLA carrier."""
1408
- carrier: String
1409
- """ShippingSLA pickup point id."""
1410
- pickupPointId: String
1411
- """ShippingSLA pickup store info."""
1412
- pickupStoreInfo: PickupStoreInfo
1413
- """ShippingSLA pickup distance."""
1414
- pickupDistance: Float
1209
+ node: StoreCollection!
1210
+ """Collection cursor. Used as pagination reference."""
1211
+ cursor: String!
1415
1212
  }
1416
1213
 
1417
- type AvailableDeliveryWindows {
1418
- """Available delivery window start date in UTC"""
1419
- startDateUtc: String
1420
- """Available delivery window end date in UTC"""
1421
- endDateUtc: String
1422
- """Available delivery window price"""
1423
- price: Int
1424
- """Available delivery window list price"""
1425
- listPrice: Int
1426
- """Available delivery window tax"""
1427
- tax: Int
1214
+ """Product collection facet, used for search."""
1215
+ type StoreCollectionFacet {
1216
+ """Facet key."""
1217
+ key: String!
1218
+ """Facet value."""
1219
+ value: String!
1428
1220
  }
1429
1221
 
1430
- type DeliveryIds {
1431
- """DeliveryIds courier id"""
1432
- courierId: String
1433
- """DeliveryIds warehouse id"""
1434
- warehouseId: String
1435
- """DeliveryIds dock id"""
1436
- dockId: String
1437
- """DeliveryIds courier name"""
1438
- courierName: String
1439
- """DeliveryIds quantity"""
1440
- quantity: Int
1222
+ """Collection meta information. Used for search."""
1223
+ type StoreCollectionMeta {
1224
+ """List of selected collection facets."""
1225
+ selectedFacets: [StoreCollectionFacet!]!
1441
1226
  }
1442
1227
 
1443
- type PickupStoreInfo {
1444
- """PickupStoreInfo friendly name."""
1445
- friendlyName: String
1446
- """PickupStoreInfo address."""
1447
- address: PickupAddress
1448
- """PickupStoreInfo additional information."""
1449
- additionalInfo: String
1450
- """PickupStoreInfo dock id."""
1451
- dockId: String
1452
- """Information if the store has pickup enable."""
1453
- isPickupStore: Boolean
1228
+ """
1229
+ Product collection type. Possible values are `Department`, `Category`, `Brand`, `Cluster`, `SubCategory` or `Collection`.
1230
+ """
1231
+ enum StoreCollectionType {
1232
+ """First level of product categorization."""
1233
+ Department
1234
+ """Second level of product categorization."""
1235
+ Category
1236
+ """Third level of product categorization."""
1237
+ SubCategory
1238
+ """Product brand."""
1239
+ Brand
1240
+ """Product cluster."""
1241
+ Cluster
1242
+ """Product collection."""
1243
+ Collection
1454
1244
  }
1455
1245
 
1456
- type PickupAddress {
1457
- """PickupAddress address type."""
1458
- addressType: String
1459
- """PickupAddress receiver name."""
1460
- receiverName: String
1461
- """PickupAddress address id."""
1462
- addressId: String
1463
- """PickupAddress postal code."""
1464
- postalCode: String
1465
- """PickupAddress city."""
1466
- city: String
1467
- """PickupAddress state."""
1468
- state: String
1469
- """PickupAddress country."""
1470
- country: String
1471
- """PickupAddress street."""
1472
- street: String
1473
- """PickupAddress number."""
1474
- number: String
1475
- """PickupAddress neighborhood."""
1476
- neighborhood: String
1477
- """PickupAddress complement."""
1478
- complement: String
1479
- """PickupAddress reference."""
1480
- reference: String
1481
- """PickupAddress geo coordinates."""
1482
- geoCoordinates: [Float]
1483
- }
1484
-
1485
- type MessageInfo {
1486
- """MessageInfo code."""
1487
- code: String
1488
- """MessageInfo text."""
1489
- text: String
1490
- """MessageInfo status."""
1491
- status: String
1492
- """MessageInfo fields."""
1493
- fields: MessageFields
1246
+ """Currency information."""
1247
+ type StoreCurrency {
1248
+ """Currency code (e.g: USD)."""
1249
+ code: String!
1250
+ """Currency symbol (e.g: $)."""
1251
+ symbol: String!
1494
1252
  }
1495
1253
 
1496
- type MessageFields {
1497
- """MessageFields item index."""
1498
- itemIndex: String
1499
- """MessageFields ean."""
1500
- ean: String
1501
- """MessageFields sku name."""
1502
- skuName: String
1254
+ """Delivery mode information."""
1255
+ type StoreDeliveryMode {
1256
+ """The delivery channel information of the session."""
1257
+ deliveryChannel: String!
1258
+ """The delivery method information of the session."""
1259
+ deliveryMethod: String!
1260
+ """The delivery window information of the session."""
1261
+ deliveryWindow: StoreDeliveryWindow
1503
1262
  }
1504
1263
 
1505
- type SkuVariants {
1506
- """SKU property values for the current SKU."""
1507
- activeVariations: ActiveVariations
1508
- """All available options for each SKU variant property, indexed by their name."""
1509
- allVariantsByName: VariantsByName
1510
- """
1511
- Maps property value combinations to their respective SKU's slug. Enables
1512
- us to retrieve the slug for the SKU that matches the currently selected
1513
- variations in O(1) time.
1514
- If `dominantVariantName` is not present, the first variant will be
1515
- considered the dominant one.
1516
- """
1517
- slugsMap(dominantVariantName: String): SlugsMap
1518
- """
1519
- Available options for each varying SKU property, taking into account the
1520
- `dominantVariantName` property. Returns all available options for the
1521
- dominant property, and only options that can be combined with its current
1522
- value for other properties.
1523
- If `dominantVariantName` is not present, the first variant will be
1524
- considered the dominant one.
1525
- """
1526
- availableVariations(dominantVariantName: String): FormattedVariants
1527
- """All available options for each SKU variant property, indexed by their name."""
1528
- allVariantProducts: [StoreProduct!]
1264
+ """Delivery window information."""
1265
+ type StoreDeliveryWindow {
1266
+ """The delivery window start date information."""
1267
+ startDate: String!
1268
+ """The delivery window end date information."""
1269
+ endDate: String!
1529
1270
  }
1530
1271
 
1531
- """
1532
- Example:
1272
+ union StoreFacet = StoreFacetRange | StoreFacetBoolean
1533
1273
 
1534
- ```json
1535
- {
1536
- 'Color-Red-Size-40': 'classic-shoes-37'
1274
+ """Search facet boolean information."""
1275
+ type StoreFacetBoolean {
1276
+ """Facet key."""
1277
+ key: String!
1278
+ """Facet label."""
1279
+ label: String!
1280
+ """Array with information on each facet value."""
1281
+ values: [StoreFacetValueBoolean!]!
1537
1282
  }
1538
- ```
1539
- """
1540
- scalar SlugsMap
1541
-
1542
- """
1543
- Example:
1544
1283
 
1545
- ```json
1546
- {
1547
- Color: 'Red', Size: '42'
1284
+ """Search facet range information."""
1285
+ type StoreFacetRange {
1286
+ """Facet key."""
1287
+ key: String!
1288
+ """Facet label."""
1289
+ label: String!
1290
+ """Minimum facet range value."""
1291
+ min: StoreFacetValueRange!
1292
+ """Maximum facet range value."""
1293
+ max: StoreFacetValueRange!
1548
1294
  }
1549
- ```
1550
- """
1551
- scalar ActiveVariations
1552
1295
 
1553
- """
1554
- Example:
1296
+ """Search facet type."""
1297
+ enum StoreFacetType {
1298
+ """Indicates boolean search facet."""
1299
+ BOOLEAN
1300
+ """Indicates range type search facet."""
1301
+ RANGE
1302
+ }
1555
1303
 
1556
- ```json
1557
- {
1558
- Color: [ "Red", "Blue", "Green" ],
1559
- Size: [ "40", "41" ]
1304
+ """Information of a specific facet value."""
1305
+ type StoreFacetValueBoolean {
1306
+ """Facet value."""
1307
+ value: String!
1308
+ """Facet value label."""
1309
+ label: String!
1310
+ """Indicates whether facet is selected."""
1311
+ selected: Boolean!
1312
+ """Number of items with this facet."""
1313
+ quantity: Int
1560
1314
  }
1561
- ```
1562
- """
1563
- scalar VariantsByName
1564
1315
 
1565
1316
  """
1566
- Example:
1567
-
1568
- ```json
1569
- {
1570
- Color: [
1571
- {
1572
- src: "https://storecomponents.vtexassets.com/...",
1573
- alt: "...",
1574
- label: "...",
1575
- value: "..."
1576
- },
1577
- {
1578
- src: "https://storecomponents.vtexassets.com/...",
1579
- alt: "...",
1580
- label: "...",
1581
- value: "..."
1582
- }
1583
- ],
1584
- Size: [
1585
- {
1586
- src: "https://storecomponents.vtexassets.com/...",
1587
- alt: "...",
1588
- label: "...",
1589
- value: "..."
1590
- }
1591
- ]
1592
- }
1593
- ```
1317
+ Search facet range value information. Used for minimum and maximum range values.
1594
1318
  """
1595
- scalar FormattedVariants
1596
-
1597
- """Status used to indicate a message type. For instance, a shopping cart informative or error message."""
1598
- enum StoreStatus {
1599
- INFO
1600
- WARNING
1601
- ERROR
1319
+ type StoreFacetValueRange {
1320
+ """Search facet range absolute value."""
1321
+ absolute: Float!
1322
+ """Search facet range selected value."""
1323
+ selected: Float!
1602
1324
  }
1603
1325
 
1604
- scalar JSONObject
1605
-
1606
- type UserOrder {
1607
- orderId: String
1608
- sequence: String
1609
- marketplaceOrderId: String
1610
- marketplaceServicesEndpoint: String
1611
- sellerOrderId: String
1612
- origin: String
1613
- affiliateId: String
1614
- salesChannel: String
1615
- merchantName: String
1616
- status: String
1617
- workflowIsInError: Boolean
1618
- statusDescription: String
1619
- value: Float
1620
- creationDate: String
1621
- lastChange: String
1622
- orderGroup: String
1623
- giftRegistryData: String
1624
- marketingData: String
1625
- callCenterOperatorData: String
1626
- followUpEmail: String
1627
- lastMessage: String
1628
- hostname: String
1629
- invoiceData: String
1630
- changesAttachment: String
1631
- openTextField: String
1632
- roundingError: Int
1633
- orderFormId: String
1634
- commercialConditionData: String
1635
- isCompleted: Boolean
1636
- allowCancellation: Boolean
1637
- allowEdition: Boolean
1638
- isCheckedIn: Boolean
1639
- authorizedDate: String
1640
- invoicedDate: String
1641
- cancelReason: String
1642
- subscriptionData: String
1643
- taxData: String
1644
- checkedInPickupPointId: String
1645
- cancellationData: UserOrderCancellationData
1646
- cancellationRequests: [UserOrderCancellationRequest]
1647
- customData: UserOrderCustomData
1648
- clientPreferencesData: UserOrderClientPreferencesData
1649
- itemMetadata: UserOrderItemMetadata
1650
- marketplace: UserOrderMarketplace
1651
- storePreferencesData: UserOrderStorePreferencesData
1652
- sellers: [UserOrderStoreSellers]
1653
- packageAttachment: UserOrderPackageAttachment
1654
- paymentData: UserOrderPaymentData
1655
- shippingData: UserOrderShippingData
1656
- ratesAndBenefitsData: UserOrderRatesAndBenefitsData
1657
- clientProfileData: UserOrderClientProfileData
1658
- marketplaceItems: [UserOrderItems]
1659
- items: [UserOrderItems]
1660
- totals: [UserOrderTotals]
1661
- deliveryOptionsData: UserOrderDeliveryOptionsData
1662
- customFields: [UserOrderCustomFieldsGrouped]
1663
- canProcessOrderAuthorization: Boolean
1664
- ruleForAuthorization: ProcessOrderAuthorizationRule
1665
- purchaseAgentData: UserOrderPurchaseAgentData
1666
- budgetData: UserOrderBudgetData
1326
+ """Geographic coordinates information."""
1327
+ type StoreGeoCoordinates {
1328
+ """The latitude of the geographic coordinates."""
1329
+ latitude: Float!
1330
+ """The longitude of the geographic coordinates."""
1331
+ longitude: Float!
1667
1332
  }
1668
1333
 
1669
- type UserOrderPurchaseAgentData {
1670
- purchaseAgents: [UserOrderPurchaseAgent]
1334
+ """Image."""
1335
+ type StoreImage {
1336
+ """Image URL."""
1337
+ url: String!
1338
+ """Alias for the image."""
1339
+ alternateName: String!
1671
1340
  }
1672
1341
 
1673
- type UserOrderPurchaseAgent {
1674
- userId: String
1675
- versionId: String
1676
- persona: String
1677
- unitId: String
1342
+ """Item of a list."""
1343
+ type StoreListItem {
1344
+ """List item value."""
1345
+ item: String!
1346
+ """Name of the list item."""
1347
+ name: String!
1348
+ """Position of the item in the list."""
1349
+ position: Int!
1678
1350
  }
1679
1351
 
1680
- type UserOrderResult {
1681
- orderId: String
1682
- creationDate: String
1683
- status: String
1684
- canProcessOrderAuthorization: Boolean
1685
- statusDescription: String
1686
- allowCancellation: Boolean
1687
- storePreferencesData: UserOrderStorePreferencesData
1688
- clientProfileData: UserOrderClientProfileData
1689
- customData: UserOrderCustomData
1690
- customFields: [UserOrderCustomFieldsGrouped]
1691
- deliveryOptionsData: UserOrderDeliveryOptionsData
1692
- paymentData: UserOrderPaymentData
1693
- totals: [UserOrderTotals]
1694
- shippingData: UserOrderShippingData
1695
- items: [UserOrderItems]
1696
- ruleForAuthorization: ProcessOrderAuthorizationRule
1697
- shopper: UserOrderShopper
1698
- budgetData: UserOrderBudgetData
1352
+ """Marketing information."""
1353
+ type StoreMarketingData {
1354
+ utmCampaign: String
1355
+ utmMedium: String
1356
+ utmSource: String
1357
+ utmiCampaign: String
1358
+ utmiPart: String
1359
+ utmiPage: String
1699
1360
  }
1700
1361
 
1701
- type UserOrderShopper {
1702
- firstName: String
1703
- lastName: String
1704
- email: String
1705
- phone: String
1362
+ """Offer information."""
1363
+ type StoreOffer {
1364
+ """
1365
+ This is displayed as the "from" price in the context of promotions' price comparison. This may change before it reaches the shelf.
1366
+ """
1367
+ listPrice: Float!
1368
+ """List price among with current taxes."""
1369
+ listPriceWithTaxes: Float!
1370
+ """
1371
+ Computed price before applying coupons, taxes or benefits. This may change before it reaches the shelf.
1372
+ """
1373
+ sellingPrice: Float!
1374
+ """ISO code of the currency used for the offer prices."""
1375
+ priceCurrency: String!
1376
+ """Also known as spot price."""
1377
+ price: Float!
1378
+ """Also known as spot price with taxes."""
1379
+ priceWithTaxes: Float!
1380
+ """
1381
+ Next date in which price is scheduled to change. If there is no scheduled change, this will be set a year in the future from current time.
1382
+ """
1383
+ priceValidUntil: String!
1384
+ """Offer item condition."""
1385
+ itemCondition: String!
1386
+ """Offer item availability."""
1387
+ availability: String!
1388
+ """Seller responsible for the offer."""
1389
+ seller: StoreOrganization!
1390
+ """Information on the item being offered."""
1391
+ itemOffered: StoreProduct!
1392
+ """Number of items offered."""
1393
+ quantity: Int!
1394
+ """Whether this offer is a gift (e.g. free promotional item)."""
1395
+ isGift: Boolean
1706
1396
  }
1707
1397
 
1708
- type UserOrderListResult {
1709
- list: [UserOrderFromList!]
1710
- paging: UserOrderListPaging
1711
- stats: UserOrderListStats
1712
- facets: [String]
1713
- reportRecordsLimit: Int
1398
+ """Information of a specific order."""
1399
+ type StoreOrder {
1400
+ """
1401
+ ID of the order in [VTEX order management](https://help.vtex.com/en/tutorial/license-manager-resources-oms--60QcBsvWeum02cFi3GjBzg#).
1402
+ """
1403
+ orderNumber: String!
1404
+ """Array with information on each accepted offer."""
1405
+ acceptedOffer: [StoreOffer!]!
1406
+ """Indicates whether or not items with attachments should be split."""
1407
+ shouldSplitItem: Boolean
1714
1408
  }
1715
1409
 
1716
- type UserOrderListPaging {
1717
- total: Int
1718
- pages: Int
1719
- currentPage: Int
1720
- perPage: Int
1410
+ """Organization."""
1411
+ type StoreOrganization {
1412
+ """Organization ID."""
1413
+ identifier: String!
1721
1414
  }
1722
1415
 
1723
- type UserOrderListStats {
1724
- stats: UserOrderListStatsData
1416
+ """
1417
+ Whenever you make a query that allows for pagination, such as `allProducts` or `allCollections`, you can check `StorePageInfo` to learn more about the complete set of items and use it to paginate your queries.
1418
+ """
1419
+ type StorePageInfo {
1420
+ """
1421
+ Indicates whether there is at least one more page with items after the ones returned in the current query.
1422
+ """
1423
+ hasNextPage: Boolean!
1424
+ """
1425
+ Indicates whether there is at least one more page with items before the ones returned in the current query.
1426
+ """
1427
+ hasPreviousPage: Boolean!
1428
+ """Cursor corresponding to the first possible item."""
1429
+ startCursor: String!
1430
+ """Cursor corresponding to the last possible item."""
1431
+ endCursor: String!
1432
+ """Total number of items (products or collections), not pages."""
1433
+ totalCount: Int!
1725
1434
  }
1726
1435
 
1727
- type UserOrderListStatsData {
1728
- totalValue: UserOrderListStatsValue
1729
- totalItems: UserOrderListStatsValue
1436
+ """Client profile data."""
1437
+ type StorePerson {
1438
+ """Client ID."""
1439
+ id: String!
1440
+ """Client email."""
1441
+ email: String!
1442
+ """Client first name."""
1443
+ givenName: String!
1444
+ """Client last name."""
1445
+ familyName: String!
1730
1446
  }
1731
1447
 
1732
- type UserOrderListStatsValue {
1733
- Count: Int
1734
- Max: Float
1735
- Mean: Float
1736
- Min: Float
1737
- Missing: Int
1738
- StdDev: Float
1739
- Sum: Float
1740
- SumOfSquares: Float
1741
- Facets: JSONObject
1448
+ """
1449
+ Product information. Products are variants within product groups, equivalent to VTEX [SKUs](https://help.vtex.com/en/tutorial/what-is-an-sku--1K75s4RXAQyOuGUYKMM68u#). For example, you may have a **Shirt** product group with associated products such as **Blue shirt size L**, **Green shirt size XL** and so on.
1450
+ """
1451
+ type StoreProduct {
1452
+ """Meta tag data."""
1453
+ seo: StoreSeo!
1454
+ """
1455
+ List of items consisting of chain linked web pages, ending with the current page.
1456
+ """
1457
+ breadcrumbList: StoreBreadcrumbList!
1458
+ """Corresponding collection URL slug, with which to retrieve this entity."""
1459
+ slug: String!
1460
+ """Product name."""
1461
+ name: String!
1462
+ """
1463
+ Product ID, such as [ISBN](https://www.isbn-international.org/content/what-isbn) or similar global IDs.
1464
+ """
1465
+ productID: String!
1466
+ """Product brand."""
1467
+ brand: StoreBrand!
1468
+ """Product description."""
1469
+ description: String!
1470
+ """Array of images."""
1471
+ image(context: String = "generic", limit: Int = -1): [StoreImage!]!
1472
+ """Aggregate offer information."""
1473
+ offers: StoreAggregateOffer!
1474
+ """Stock Keeping Unit. Merchant-specific ID for the product."""
1475
+ sku: String!
1476
+ """Global Trade Item Number."""
1477
+ gtin: String!
1478
+ """Manufacturer Part Number. Identifies the product to its manufacturer."""
1479
+ mpn: String!
1480
+ """Array with review information."""
1481
+ review: [StoreReview!]!
1482
+ """Aggregate ratings data."""
1483
+ aggregateRating: StoreAggregateRating!
1484
+ """Indicates product group related to this product."""
1485
+ isVariantOf: StoreProductGroup!
1486
+ """Array of additional properties."""
1487
+ additionalProperty: [StorePropertyValue!]!
1488
+ """
1489
+ The product's release date. Formatted using https://en.wikipedia.org/wiki/ISO_8601
1490
+ """
1491
+ releaseDate: String!
1492
+ """Sku Unit Multiplier"""
1493
+ unitMultiplier: Float
1494
+ """Advertisement information about the product."""
1495
+ advertisement: Advertisement
1496
+ """Indicates whether the product has specifications."""
1497
+ hasSpecifications: Boolean
1498
+ """Indicate the specifications of a product."""
1499
+ skuSpecifications: [SkuSpecification!]!
1500
+ """Indicate the specifications of a group of SKUs."""
1501
+ specificationGroups: [SpecificationGroup!]!
1502
+ """Delivery Promise product's badge."""
1503
+ deliveryPromiseBadges: [DeliveryPromiseBadge]
1742
1504
  }
1743
1505
 
1744
- type UserOrderFromList {
1506
+ """
1507
+ Product connections, including pagination information and products returned by the query.
1508
+ """
1509
+ type StoreProductConnection {
1510
+ """Product pagination information."""
1511
+ pageInfo: StorePageInfo!
1512
+ """
1513
+ Array with product connection edges, each containing a product and a corresponding cursor.
1514
+ """
1515
+ edges: [StoreProductEdge!]!
1516
+ }
1517
+
1518
+ """
1519
+ Each product edge contains a `node`, with product information, and a `cursor`, that can be used as a reference for pagination.
1520
+ """
1521
+ type StoreProductEdge {
1522
+ """
1523
+ Each product node contains the information of a product returned by the query.
1524
+ """
1525
+ node: StoreProduct!
1526
+ """Product cursor. Used as pagination reference."""
1527
+ cursor: String!
1528
+ }
1529
+
1530
+ """
1531
+ Product group information. Product groups are catalog entities that may contain variants. They are equivalent to VTEX [Products](https://help.vtex.com/en/tutorial/what-is-a-product--2zrB2gFCHyQokCKKE8kuAw#), whereas each variant is equivalent to a VTEX [SKU](https://help.vtex.com/en/tutorial/what-is-an-sku--1K75s4RXAQyOuGUYKMM68u#). For example, you may have a **Shirt** product group with associated products such as **Blue shirt size L**, **Green shirt size XL** and so on.
1532
+ """
1533
+ type StoreProductGroup {
1534
+ """
1535
+ Array of variants related to product group. Variants are equivalent to VTEX [SKUs](https://help.vtex.com/en/tutorial/what-is-an-sku--1K75s4RXAQyOuGUYKMM68u#).
1536
+ """
1537
+ hasVariant: [StoreProduct!]!
1538
+ """Product group ID."""
1539
+ productGroupID: String!
1540
+ """Product group name."""
1541
+ name: String!
1542
+ """Array of additional properties."""
1543
+ additionalProperty: [StorePropertyValue!]!
1544
+ """
1545
+ Object containing data structures to facilitate handling different SKU
1546
+ variant properties. Specially useful for implementing SKU selection
1547
+ components.
1548
+ """
1549
+ skuVariants: SkuVariants
1550
+ }
1551
+
1552
+ """Properties that can be associated with products and products groups."""
1553
+ type StorePropertyValue {
1554
+ """
1555
+ Property id. This propert changes according to the content of the object.
1556
+ """
1557
+ propertyID: String!
1558
+ """
1559
+ Property value. May hold a string or the string representation of an object.
1560
+ """
1561
+ value: ObjectOrString!
1562
+ """Property name."""
1563
+ name: String!
1564
+ """Specifies the nature of the value"""
1565
+ valueReference: ObjectOrString!
1566
+ }
1567
+
1568
+ """
1569
+ Redirect informations, including url returned by the query.
1570
+ https://schema.org/Thing
1571
+ """
1572
+ type StoreRedirect {
1573
+ """URL to redirect"""
1574
+ url: String
1575
+ }
1576
+
1577
+ """Information of a given review."""
1578
+ type StoreReview {
1579
+ """Review rating information."""
1580
+ reviewRating: StoreReviewRating!
1581
+ """Review author."""
1582
+ author: StoreAuthor!
1583
+ }
1584
+
1585
+ """Information of a given review rating."""
1586
+ type StoreReviewRating {
1587
+ """Rating value."""
1588
+ ratingValue: Float!
1589
+ """Best rating value."""
1590
+ bestRating: Float!
1591
+ }
1592
+
1593
+ """Search result."""
1594
+ type StoreSearchResult {
1595
+ """Search result products."""
1596
+ products: StoreProductConnection!
1597
+ """Array of search result facets."""
1598
+ facets: [StoreFacet!]!
1599
+ """Search result suggestions."""
1600
+ suggestions: StoreSuggestions!
1601
+ """
1602
+ Search result metadata. Additional data can be used to send analytics events.
1603
+ """
1604
+ metadata: SearchMetadata
1605
+ """
1606
+ Search result searchId. Unique identifier for the search query can be used to correlate search analytics events.
1607
+ """
1608
+ searchId: String!
1609
+ }
1610
+
1611
+ """Search Engine Optimization (SEO) tags data."""
1612
+ type StoreSeo {
1613
+ """Title tag."""
1614
+ title: String!
1615
+ """Title template tag."""
1616
+ titleTemplate: String!
1617
+ """Description tag."""
1618
+ description: String!
1619
+ """Canonical tag."""
1620
+ canonical: String!
1621
+ }
1622
+
1623
+ """Session information."""
1624
+ type StoreSession {
1625
+ """Session locale."""
1626
+ locale: String!
1627
+ """Session currency."""
1628
+ currency: StoreCurrency!
1629
+ """Session country."""
1630
+ country: String!
1631
+ """Session channel."""
1632
+ channel: String
1633
+ """Session delivery mode."""
1634
+ deliveryMode: StoreDeliveryMode
1635
+ """Session address type."""
1636
+ addressType: String
1637
+ """Session city."""
1638
+ city: String
1639
+ """Session postal code."""
1640
+ postalCode: String
1641
+ """Session input geoCoordinates."""
1642
+ geoCoordinates: StoreGeoCoordinates
1643
+ """Session input person."""
1644
+ person: StorePerson
1645
+ """B2B Information."""
1646
+ b2b: StoreB2B
1647
+ """Marketing information."""
1648
+ marketingData: StoreMarketingData
1649
+ """Refresh token after Information."""
1650
+ refreshAfter: String
1651
+ }
1652
+
1653
+ """Product search results sorting options."""
1654
+ enum StoreSort {
1655
+ """Sort by price, from highest to lowest."""
1656
+ price_desc
1657
+ """Sort by price, from lowest to highest."""
1658
+ price_asc
1659
+ """Sort by orders, from highest to lowest."""
1660
+ orders_desc
1661
+ """Sort by name, in reverse alphabetical order."""
1662
+ name_desc
1663
+ """Sort by name, in alphabetical order."""
1664
+ name_asc
1665
+ """Sort by release date, from highest to lowest."""
1666
+ release_desc
1667
+ """Sort by discount value, from highest to lowest."""
1668
+ discount_desc
1669
+ """Sort by product score, from highest to lowest."""
1670
+ score_desc
1671
+ }
1672
+
1673
+ """
1674
+ Status used to indicate a message type. For instance, a shopping cart informative or error message.
1675
+ """
1676
+ enum StoreStatus {
1677
+ INFO
1678
+ WARNING
1679
+ ERROR
1680
+ }
1681
+
1682
+ """Suggestion term."""
1683
+ type StoreSuggestionTerm {
1684
+ """The term."""
1685
+ value: String!
1686
+ """Its occurrences count."""
1687
+ count: Int!
1688
+ }
1689
+
1690
+ """Suggestions information."""
1691
+ type StoreSuggestions {
1692
+ """Array with suggestion terms."""
1693
+ terms: [StoreSuggestionTerm!]!
1694
+ """Array with suggestion products' information."""
1695
+ products: [StoreProduct!]!
1696
+ }
1697
+
1698
+ """User details information."""
1699
+ type StoreUserDetails {
1700
+ """User's name."""
1701
+ name: String
1702
+ """User's email."""
1703
+ email: String
1704
+ """User's role."""
1705
+ role: [String]
1706
+ """User's organizational unit."""
1707
+ orgUnit: String
1708
+ }
1709
+
1710
+ type UserOrder {
1745
1711
  orderId: String
1746
- creationDate: String
1747
- clientName: String
1748
- items: [UserOrderItemsSummarized]
1749
- totalValue: Float
1750
- paymentNames: String
1751
- status: String
1752
- statusDescription: String
1753
- marketPlaceOrderId: String
1754
- sequence: String
1755
- salesChannel: String
1756
- affiliateId: String
1757
- origin: String
1758
- workflowInErrorState: Boolean
1759
- workflowInRetry: Boolean
1760
- lastMessageUnread: String
1761
- ShippingEstimatedDate: String
1762
- ShippingEstimatedDateMax: String
1763
- ShippingEstimatedDateMin: String
1764
- orderIsComplete: Boolean
1765
- listId: String
1766
- listType: String
1767
- authorizedDate: String
1768
- callCenterOperatorName: String
1769
- totalItems: Int
1770
- currencyCode: String
1771
- hostname: String
1772
- invoiceOutput: [String]
1773
- invoiceInput: [String]
1712
+ sequence: String
1713
+ marketplaceOrderId: String
1714
+ marketplaceServicesEndpoint: String
1715
+ sellerOrderId: String
1716
+ origin: String
1717
+ affiliateId: String
1718
+ salesChannel: String
1719
+ merchantName: String
1720
+ status: String
1721
+ workflowIsInError: Boolean
1722
+ statusDescription: String
1723
+ value: Float
1724
+ creationDate: String
1774
1725
  lastChange: String
1775
- isAllDelivered: Boolean
1776
- isAnyDelivered: Boolean
1777
- giftCardProviders: [String]
1726
+ orderGroup: String
1727
+ giftRegistryData: String
1728
+ marketingData: String
1729
+ callCenterOperatorData: String
1730
+ followUpEmail: String
1731
+ lastMessage: String
1732
+ hostname: String
1733
+ invoiceData: String
1734
+ changesAttachment: String
1735
+ openTextField: String
1736
+ roundingError: Int
1778
1737
  orderFormId: String
1779
- paymentApprovedDate: String
1780
- readyForHandlingDate: String
1781
- deliveryDates: [String]
1782
- customFields: [UserOrderFromListCustomFields]
1738
+ commercialConditionData: String
1739
+ isCompleted: Boolean
1740
+ allowCancellation: Boolean
1741
+ allowEdition: Boolean
1742
+ isCheckedIn: Boolean
1743
+ authorizedDate: String
1744
+ invoicedDate: String
1745
+ cancelReason: String
1746
+ subscriptionData: String
1747
+ taxData: String
1748
+ checkedInPickupPointId: String
1749
+ cancellationData: UserOrderCancellationData
1750
+ cancellationRequests: [UserOrderCancellationRequest]
1751
+ customData: UserOrderCustomData
1752
+ clientPreferencesData: UserOrderClientPreferencesData
1753
+ itemMetadata: UserOrderItemMetadata
1754
+ marketplace: UserOrderMarketplace
1755
+ storePreferencesData: UserOrderStorePreferencesData
1756
+ sellers: [UserOrderStoreSellers]
1757
+ packageAttachment: UserOrderPackageAttachment
1758
+ paymentData: UserOrderPaymentData
1759
+ shippingData: UserOrderShippingData
1760
+ ratesAndBenefitsData: UserOrderRatesAndBenefitsData
1761
+ clientProfileData: UserOrderClientProfileData
1762
+ marketplaceItems: [UserOrderItems]
1763
+ items: [UserOrderItems]
1764
+ totals: [UserOrderTotals]
1765
+ deliveryOptionsData: UserOrderDeliveryOptionsData
1766
+ customFields: [UserOrderCustomFieldsGrouped]
1767
+ canProcessOrderAuthorization: Boolean
1768
+ ruleForAuthorization: ProcessOrderAuthorizationRule
1769
+ purchaseAgentData: UserOrderPurchaseAgentData
1770
+ budgetData: UserOrderBudgetData
1783
1771
  }
1784
1772
 
1785
- type UserOrderCustomData {
1786
- customApps: [UserOrderCustomApp]
1787
- customFields: [UserOrderCustomField]
1773
+ type UserOrderAdditionalInfo {
1774
+ brandName: String
1775
+ brandId: String
1776
+ categoriesIds: String
1777
+ productClusterId: String
1778
+ commercialConditionId: String
1779
+ offeringInfo: String
1780
+ offeringType: String
1781
+ offeringTypeId: String
1782
+ dimension: UserOrderDimension
1783
+ categories: [UserOrderCategories]
1788
1784
  }
1789
1785
 
1790
- type UserOrderCustomApp {
1791
- fields: UserOrderFields
1792
- id: String
1793
- major: Int
1786
+ type UserOrderAddress {
1787
+ addressType: String
1788
+ receiverName: String
1789
+ addressId: String
1790
+ versionId: String
1791
+ entityId: String
1792
+ postalCode: String
1793
+ city: String
1794
+ state: String
1795
+ country: String
1796
+ street: String
1797
+ number: String
1798
+ neighborhood: String
1799
+ complement: String
1800
+ reference: String
1801
+ geoCoordinates: [Float]
1794
1802
  }
1795
1803
 
1796
- type UserOrderFields {
1797
- cartEtag: String
1804
+ type UserOrderAssemblyOptions {
1805
+ Id: String
1806
+ Name: String
1807
+ Required: Boolean
1798
1808
  }
1799
1809
 
1800
- type UserOrderStoreSellers {
1801
- id: String
1810
+ type UserOrderAttachmentOfferings {
1802
1811
  name: String
1803
- logo: String
1804
- fulfillmentEndpoint: String
1805
- }
1806
-
1807
- type UserOrderClientPreferencesData {
1808
- locale: String
1809
- optinNewsLetter: Boolean
1812
+ required: Boolean
1810
1813
  }
1811
1814
 
1812
- type UserOrderItemMetadata {
1813
- Items: [UserOrderItemMetadataItem]
1815
+ type UserOrderAttachments {
1816
+ name: String
1817
+ content: JSONObject
1814
1818
  }
1815
1819
 
1816
- type UserOrderItemMetadataItem {
1817
- Id: String
1818
- Seller: String
1819
- Name: String
1820
- SkuName: String
1821
- ProductId: String
1822
- RefId: String
1823
- Ean: String
1824
- ImageUrl: String
1825
- DetailUrl: String
1826
- AssemblyOptions: [UserOrderAssemblyOptions]
1820
+ type UserOrderBudget {
1821
+ id: String
1822
+ name: String
1823
+ unitId: String
1824
+ cycleConfiguration: UserOrderBudgetCycleConfiguration
1825
+ balance: UserOrderBudgetBalance
1826
+ allocations: [UserOrderBudgetAllocation]
1827
1827
  }
1828
1828
 
1829
- type UserOrderAssemblyOptions {
1830
- Id: String
1831
- Name: String
1832
- Required: Boolean
1829
+ type UserOrderBudgetAllocation {
1830
+ id: String
1831
+ linkedEntity: UserOrderBudgetAllocationLinkedEntity
1832
+ balance: UserOrderBudgetBalance
1833
+ reservations: JSONObject
1834
+ ToBeSpent: Float
1833
1835
  }
1834
1836
 
1835
- type UserOrderOfferings {
1837
+ type UserOrderBudgetAllocationLinkedEntity {
1836
1838
  type: String
1837
1839
  id: String
1838
- name: String
1839
- price: Float
1840
1840
  }
1841
1841
 
1842
- type UserOrderMarketplace {
1843
- baseURL: String
1844
- isCertified: String
1845
- name: String
1842
+ type UserOrderBudgetBalance {
1843
+ amount: Float
1844
+ balanceAdjustment: Float
1845
+ remaining: Float
1846
1846
  }
1847
1847
 
1848
- type UserOrderCurrencyFormatInfo {
1849
- CurrencyDecimalDigits: Int
1850
- CurrencyDecimalSeparator: String
1851
- CurrencyGroupSeparator: String
1852
- CurrencyGroupSize: Int
1853
- StartsWithCurrencySymbol: Boolean
1848
+ type UserOrderBudgetCycleConfiguration {
1849
+ startDate: String
1850
+ endDate: String
1851
+ autoResetOnPeriodEnd: Boolean
1852
+ carryOverBalance: Boolean
1854
1853
  }
1855
1854
 
1856
- type UserOrderStorePreferencesData {
1857
- countryCode: String
1858
- currencyCode: String
1859
- currencyLocale: Int
1860
- currencySymbol: String
1861
- timeZone: String
1862
- currencyFormatInfo: UserOrderCurrencyFormatInfo
1855
+ type UserOrderBudgetData {
1856
+ budgets: [UserOrderBudget]
1863
1857
  }
1864
1858
 
1865
- type UserOrderPackageAttachment {
1866
- packages: [UserOrderPackage]
1859
+ type UserOrderCancel {
1860
+ data: String
1867
1861
  }
1868
1862
 
1869
- type UserOrderPackage {
1870
- courier: String
1871
- courierStatus: UserOrderCourierStatus
1872
- invoiceNumber: String!
1873
- invoiceUrl: String
1874
- invoiceValue: Float!
1875
- extraValue: Float
1876
- issuanceDate: String
1877
- items: [UserOrderPackageItem!]
1878
- trackingNumber: String
1879
- trackingUrl: String
1880
- invoiceKey: String
1881
- type: UserOrderInvoiceType
1882
- restitutions: UserOrderRestitutions
1863
+ type UserOrderCancellationData {
1864
+ RequestedByUser: Boolean
1865
+ RequestedBySystem: Boolean
1866
+ RequestedBySellerNotification: Boolean
1867
+ RequestedByPaymentNotification: Boolean
1868
+ Reason: String
1869
+ CancellationDate: String
1883
1870
  }
1884
1871
 
1885
- type UserOrderCourierStatus {
1886
- data: [UserOrderTrackingInformation!]
1887
- finished: Boolean
1888
- status: String
1872
+ type UserOrderCancellationRequest {
1873
+ id: String
1874
+ reason: String
1875
+ cancellationRequestDate: String
1876
+ requestedByUser: Boolean
1877
+ deniedBySeller: Boolean
1878
+ deniedBySellerReason: String
1879
+ cancellationRequestDenyDate: String
1889
1880
  }
1890
1881
 
1891
- type UserOrderTrackingInformation {
1892
- city: String
1893
- description: String
1894
- lastChange: String
1895
- state: String
1882
+ type UserOrderCategories {
1883
+ id: Int
1884
+ name: String
1896
1885
  }
1897
1886
 
1898
- enum UserOrderInvoiceType {
1899
- Input
1900
- Output
1887
+ type UserOrderClientPreferencesData {
1888
+ locale: String
1889
+ optinNewsLetter: Boolean
1901
1890
  }
1902
1891
 
1903
- type UserOrderPackageItem {
1904
- description: String
1905
- itemIndex: Int
1906
- price: Int
1907
- quantity: Int
1892
+ type UserOrderClientProfileData {
1893
+ id: String
1894
+ email: String
1895
+ firstName: String
1896
+ lastName: String
1897
+ documentType: String
1898
+ document: String
1899
+ phone: String
1900
+ corporateName: String
1901
+ tradeName: String
1902
+ corporateDocument: String
1903
+ stateInscription: String
1904
+ corporatePhone: String
1905
+ isCorporate: Boolean
1906
+ userProfileId: String
1907
+ userProfileVersion: String
1908
+ customerClass: String
1909
+ customerCode: String
1910
+ }
1911
+
1912
+ type UserOrderContactInformation {
1913
+ id: ID!
1914
+ email: String
1915
+ firstName: String
1916
+ lastName: String
1917
+ document: String
1918
+ documentType: String
1919
+ phone: String
1908
1920
  }
1909
1921
 
1910
- type UserOrderRestitutions {
1911
- Refund: UserOrderRestitutionOption
1912
- GiftCard: UserOrderRestitutionOption
1922
+ type UserOrderCourierStatus {
1923
+ data: [UserOrderTrackingInformation!]
1924
+ finished: Boolean
1925
+ status: String
1913
1926
  }
1914
1927
 
1915
- type UserOrderRestitutionOption {
1916
- value: Float
1917
- items: [UserOrderRestitutionItem!]
1928
+ type UserOrderCurrencyFormatInfo {
1929
+ CurrencyDecimalDigits: Int
1930
+ CurrencyDecimalSeparator: String
1931
+ CurrencyGroupSeparator: String
1932
+ CurrencyGroupSize: Int
1933
+ StartsWithCurrencySymbol: Boolean
1918
1934
  }
1919
1935
 
1920
- type UserOrderRestitutionItem {
1921
- useFreight: Boolean
1922
- isCompensation: Boolean
1923
- compensationValue: Float
1924
- itemIndex: Int
1925
- id: ID
1926
- quantity: Int
1927
- price: Float
1928
- description: String
1929
- unitMultiplier: Float
1936
+ type UserOrderCustomApp {
1937
+ fields: UserOrderFields
1938
+ id: String
1939
+ major: Int
1930
1940
  }
1931
1941
 
1932
- type UserOrderPaymentConnectorResponses {
1933
- Tid: String
1934
- ReturnCode: String
1935
- Message: String
1936
- authId: String
1942
+ type UserOrderCustomData {
1943
+ customApps: [UserOrderCustomApp]
1944
+ customFields: [UserOrderCustomField]
1937
1945
  }
1938
1946
 
1939
- type UserOrderPayments {
1940
- id: String
1941
- paymentSystem: String
1942
- paymentSystemName: String
1943
- value: Int
1944
- installments: Int
1945
- referenceValue: Int
1946
- cardHolder: String
1947
- cardNumber: String
1948
- firstDigits: String
1949
- lastDigits: String
1950
- cvv2: String
1951
- expireMonth: String
1952
- expireYear: String
1953
- url: String
1954
- giftCardId: String
1955
- giftCardName: String
1956
- giftCardCaption: String
1957
- redemptionCode: String
1958
- group: String
1959
- tid: String
1960
- dueDate: String
1961
- connectorResponses: UserOrderPaymentConnectorResponses
1962
- giftCardProvider: String
1963
- giftCardAsDiscount: String
1964
- koinUrl: String
1965
- accountId: String
1966
- parentAccountId: String
1967
- bankIssuedInvoiceIdentificationNumber: String
1968
- bankIssuedInvoiceIdentificationNumberFormatted: String
1969
- bankIssuedInvoiceBarCodeNumber: String
1970
- bankIssuedInvoiceBarCodeType: String
1971
- billingAddress: String
1972
- paymentOrigin: String
1947
+ type UserOrderCustomField {
1948
+ linkedEntity: UserOrderCustomFieldLinkedEntity!
1949
+ fields: [UserOrderCustomFieldField!]!
1973
1950
  }
1974
1951
 
1975
- type UserOrderTransactions {
1976
- isActive: Boolean
1977
- transactionId: String
1978
- merchantName: String
1979
- payments: [UserOrderPayments]
1952
+ type UserOrderCustomFieldField {
1953
+ name: String!
1954
+ value: String!
1955
+ refId: String
1980
1956
  }
1981
1957
 
1982
- type UserOrderPaymentData {
1983
- transactions: [UserOrderTransactions]
1984
- giftCards: [String]
1958
+ type UserOrderCustomFieldLinkedEntity {
1959
+ type: String!
1960
+ id: String
1985
1961
  }
1986
1962
 
1987
- type UserOrderPickupStoreInfo {
1988
- additionalInfo: String
1989
- address: UserOrderAddress
1990
- dockId: String
1991
- friendlyName: String
1992
- isPickupStore: Boolean
1963
+ type UserOrderCustomFieldsGrouped {
1964
+ type: String!
1965
+ id: String
1966
+ fields: [UserOrderCustomFieldField]
1993
1967
  }
1994
1968
 
1995
1969
  type UserOrderDeliveryChannels {
@@ -2007,164 +1981,149 @@ type UserOrderDeliveryIds {
2007
1981
  kitItemDetails: [String]
2008
1982
  }
2009
1983
 
2010
- type UserOrderDeliveryWindow {
2011
- startDateUtc: String
2012
- endDateUtc: String
2013
- price: Float
2014
- }
2015
-
2016
- type UserOrderSlas {
2017
- id: String
2018
- name: String
2019
- shippingEstimate: String
2020
- shippingEstimateDate: String
2021
- deliveryWindow: UserOrderDeliveryWindow
2022
- listPrice: Float
2023
- price: Float
2024
- deliveryChannel: String
2025
- polygonName: String
2026
- lockTTL: String
2027
- pickupPointId: String
2028
- transitTime: String
2029
- pickupDistance: Int
2030
- pickupStoreInfo: UserOrderPickupStoreInfo
2031
- deliveryIds: [UserOrderDeliveryIds]
2032
- availableDeliveryWindows: [UserOrderDeliveryWindow]
2033
- }
2034
-
2035
- type UserOrderLogisticsInfo {
2036
- itemIndex: Int
2037
- itemId: String
2038
- selectedDeliveryChannel: String
1984
+ type UserOrderDeliveryOption {
2039
1985
  selectedSla: String
2040
- lockTTL: String
2041
- price: Float
2042
- listPrice: Float
2043
- sellingPrice: Float
2044
- deliveryWindow: UserOrderDeliveryWindow
1986
+ deliveryChannel: String
2045
1987
  deliveryCompany: String
1988
+ deliveryWindow: UserOrderDeliveryWindow
2046
1989
  shippingEstimate: String
2047
1990
  shippingEstimateDate: String
2048
- deliveryChannel: String
2049
- addressId: String
2050
- versionId: String
2051
- entityId: String
2052
- polygonName: String
2053
- pickupPointId: String
2054
- transitTime: String
1991
+ friendlyShippingEstimate: String
1992
+ friendlyDeliveryOptionName: String
1993
+ seller: String
1994
+ address: UserOrderAddress
2055
1995
  pickupStoreInfo: UserOrderPickupStoreInfo
2056
- deliveryChannels: [UserOrderDeliveryChannels]
2057
- deliveryIds: [UserOrderDeliveryIds]
2058
- shipsTo: [String]
2059
- slas: [UserOrderSlas]
1996
+ quantityOfDifferentItems: Int
1997
+ total: Int
1998
+ items: [UserOrderDeliveryOptionsItems]
2060
1999
  }
2061
2000
 
2062
- type UserOrderAddress {
2063
- addressType: String
2064
- receiverName: String
2065
- addressId: String
2066
- versionId: String
2067
- entityId: String
2068
- postalCode: String
2069
- city: String
2070
- state: String
2071
- country: String
2072
- street: String
2073
- number: String
2074
- neighborhood: String
2075
- complement: String
2076
- reference: String
2077
- geoCoordinates: [Float]
2001
+ type UserOrderDeliveryOptionsContact {
2002
+ name: String
2003
+ email: String
2004
+ phone: String
2078
2005
  }
2079
2006
 
2080
- type UserOrderShippingData {
2081
- id: String
2082
- trackingHints: String
2083
- contactInformation: [UserOrderContactInformation]
2084
- availableAddresses: [UserOrderAddress]
2085
- selectedAddresses: [UserOrderAddress]
2086
- logisticsInfo: [UserOrderLogisticsInfo]
2087
- address: UserOrderAddress
2007
+ type UserOrderDeliveryOptionsData {
2008
+ deliveryOptions: [UserOrderDeliveryOption]
2009
+ contact: UserOrderDeliveryOptionsContact
2088
2010
  }
2089
2011
 
2090
- type UserOrderRatesAndBenefitsData {
2012
+ type UserOrderDeliveryOptionsItems {
2091
2013
  id: String
2092
- rateAndBenefitsIdentifiers: [UserOrderRateAndBenefitsIdentifier]
2014
+ uniqueId: String
2015
+ name: String
2016
+ quantity: Int
2017
+ price: Float
2018
+ sellingPrice: Float
2019
+ imageUrl: String
2020
+ tax: Float
2021
+ taxPriceTags: [UserOrderPriceTag]
2022
+ taxPriceTagsTotal: Float
2023
+ total: Float
2093
2024
  }
2094
2025
 
2095
- type UserOrderRateAndBenefitsIdentifier {
2096
- id: ID
2097
- additionalInfo: String
2098
- description: String
2099
- featured: Boolean
2100
- name: String
2026
+ type UserOrderDeliveryWindow {
2027
+ startDateUtc: String
2028
+ endDateUtc: String
2029
+ price: Float
2101
2030
  }
2102
2031
 
2103
- type UserOrderClientProfileData {
2104
- id: String
2105
- email: String
2106
- firstName: String
2107
- lastName: String
2108
- documentType: String
2109
- document: String
2110
- phone: String
2111
- corporateName: String
2112
- tradeName: String
2113
- corporateDocument: String
2114
- stateInscription: String
2115
- corporatePhone: String
2116
- isCorporate: Boolean
2117
- userProfileId: String
2118
- userProfileVersion: String
2119
- customerClass: String
2120
- customerCode: String
2032
+ type UserOrderDimension {
2033
+ cubicweight: Float
2034
+ height: Int
2035
+ length: Int
2036
+ weight: Int
2037
+ width: Int
2038
+ }
2039
+
2040
+ type UserOrderFields {
2041
+ cartEtag: String
2042
+ }
2043
+
2044
+ type UserOrderFromList {
2045
+ orderId: String
2046
+ creationDate: String
2047
+ clientName: String
2048
+ items: [UserOrderItemsSummarized]
2049
+ totalValue: Float
2050
+ paymentNames: String
2051
+ status: String
2052
+ statusDescription: String
2053
+ marketPlaceOrderId: String
2054
+ sequence: String
2055
+ salesChannel: String
2056
+ affiliateId: String
2057
+ origin: String
2058
+ workflowInErrorState: Boolean
2059
+ workflowInRetry: Boolean
2060
+ lastMessageUnread: String
2061
+ ShippingEstimatedDate: String
2062
+ ShippingEstimatedDateMax: String
2063
+ ShippingEstimatedDateMin: String
2064
+ orderIsComplete: Boolean
2065
+ listId: String
2066
+ listType: String
2067
+ authorizedDate: String
2068
+ callCenterOperatorName: String
2069
+ totalItems: Int
2070
+ currencyCode: String
2071
+ hostname: String
2072
+ invoiceOutput: [String]
2073
+ invoiceInput: [String]
2074
+ lastChange: String
2075
+ isAllDelivered: Boolean
2076
+ isAnyDelivered: Boolean
2077
+ giftCardProviders: [String]
2078
+ orderFormId: String
2079
+ paymentApprovedDate: String
2080
+ readyForHandlingDate: String
2081
+ deliveryDates: [String]
2082
+ customFields: [UserOrderFromListCustomFields]
2121
2083
  }
2122
2084
 
2123
- type UserOrderSellingPrices {
2124
- value: Float
2125
- quantity: Int
2085
+ type UserOrderFromListCustomFields {
2086
+ type: String
2087
+ value: [String]
2126
2088
  }
2127
2089
 
2128
- type UserOrderPriceDefinition {
2129
- calculatedSellingPrice: Float
2130
- total: Float
2131
- reason: String
2132
- sellingPrices: [UserOrderSellingPrices]
2090
+ type UserOrderFromListMinimal {
2091
+ orderId: String
2092
+ creationDate: String
2093
+ clientName: String
2094
+ items: [UserOrderItemsSummarized]
2095
+ totalValue: Float
2096
+ status: String
2097
+ statusDescription: String
2098
+ ShippingEstimatedDate: String
2099
+ customFields: [UserOrderFromListCustomFields]
2100
+ currencyCode: String
2133
2101
  }
2134
2102
 
2135
- type UserOrderDimension {
2136
- cubicweight: Float
2137
- height: Int
2138
- length: Int
2139
- weight: Int
2140
- width: Int
2103
+ enum UserOrderInvoiceType {
2104
+ Input
2105
+ Output
2141
2106
  }
2142
2107
 
2143
- type UserOrderCategories {
2144
- id: Int
2108
+ type UserOrderItemAttachment {
2145
2109
  name: String
2146
2110
  }
2147
2111
 
2148
- type UserOrderAdditionalInfo {
2149
- brandName: String
2150
- brandId: String
2151
- categoriesIds: String
2152
- productClusterId: String
2153
- commercialConditionId: String
2154
- offeringInfo: String
2155
- offeringType: String
2156
- offeringTypeId: String
2157
- dimension: UserOrderDimension
2158
- categories: [UserOrderCategories]
2159
- }
2160
-
2161
- type UserOrderAttachmentOfferings {
2162
- name: String
2163
- required: Boolean
2112
+ type UserOrderItemMetadata {
2113
+ Items: [UserOrderItemMetadataItem]
2164
2114
  }
2165
2115
 
2166
- type UserOrderItemAttachment {
2167
- name: String
2116
+ type UserOrderItemMetadataItem {
2117
+ Id: String
2118
+ Seller: String
2119
+ Name: String
2120
+ SkuName: String
2121
+ ProductId: String
2122
+ RefId: String
2123
+ Ean: String
2124
+ ImageUrl: String
2125
+ DetailUrl: String
2126
+ AssemblyOptions: [UserOrderAssemblyOptions]
2168
2127
  }
2169
2128
 
2170
2129
  type UserOrderItems {
@@ -2226,9 +2185,175 @@ type UserOrderItemsSummarized {
2226
2185
  price: Float
2227
2186
  }
2228
2187
 
2229
- type UserOrderAttachments {
2230
- name: String
2231
- content: JSONObject
2188
+ type UserOrderListMinimalResult {
2189
+ list: [UserOrderFromListMinimal]
2190
+ paging: UserOrderListPaging
2191
+ }
2192
+
2193
+ type UserOrderListPaging {
2194
+ total: Int
2195
+ pages: Int
2196
+ currentPage: Int
2197
+ perPage: Int
2198
+ }
2199
+
2200
+ type UserOrderListResult {
2201
+ list: [UserOrderFromList!]
2202
+ paging: UserOrderListPaging
2203
+ stats: UserOrderListStats
2204
+ facets: [String]
2205
+ reportRecordsLimit: Int
2206
+ }
2207
+
2208
+ type UserOrderListStats {
2209
+ stats: UserOrderListStatsData
2210
+ }
2211
+
2212
+ type UserOrderListStatsData {
2213
+ totalValue: UserOrderListStatsValue
2214
+ totalItems: UserOrderListStatsValue
2215
+ }
2216
+
2217
+ type UserOrderListStatsValue {
2218
+ Count: Int
2219
+ Max: Float
2220
+ Mean: Float
2221
+ Min: Float
2222
+ Missing: Int
2223
+ StdDev: Float
2224
+ Sum: Float
2225
+ SumOfSquares: Float
2226
+ Facets: JSONObject
2227
+ }
2228
+
2229
+ type UserOrderLogisticsInfo {
2230
+ itemIndex: Int
2231
+ itemId: String
2232
+ selectedDeliveryChannel: String
2233
+ selectedSla: String
2234
+ lockTTL: String
2235
+ price: Float
2236
+ listPrice: Float
2237
+ sellingPrice: Float
2238
+ deliveryWindow: UserOrderDeliveryWindow
2239
+ deliveryCompany: String
2240
+ shippingEstimate: String
2241
+ shippingEstimateDate: String
2242
+ deliveryChannel: String
2243
+ addressId: String
2244
+ versionId: String
2245
+ entityId: String
2246
+ polygonName: String
2247
+ pickupPointId: String
2248
+ transitTime: String
2249
+ pickupStoreInfo: UserOrderPickupStoreInfo
2250
+ deliveryChannels: [UserOrderDeliveryChannels]
2251
+ deliveryIds: [UserOrderDeliveryIds]
2252
+ shipsTo: [String]
2253
+ slas: [UserOrderSlas]
2254
+ }
2255
+
2256
+ type UserOrderMarketplace {
2257
+ baseURL: String
2258
+ isCertified: String
2259
+ name: String
2260
+ }
2261
+
2262
+ type UserOrderOfferings {
2263
+ type: String
2264
+ id: String
2265
+ name: String
2266
+ price: Float
2267
+ }
2268
+
2269
+ type UserOrderPackage {
2270
+ courier: String
2271
+ courierStatus: UserOrderCourierStatus
2272
+ invoiceNumber: String!
2273
+ invoiceUrl: String
2274
+ invoiceValue: Float!
2275
+ extraValue: Float
2276
+ issuanceDate: String
2277
+ items: [UserOrderPackageItem!]
2278
+ trackingNumber: String
2279
+ trackingUrl: String
2280
+ invoiceKey: String
2281
+ type: UserOrderInvoiceType
2282
+ restitutions: UserOrderRestitutions
2283
+ }
2284
+
2285
+ type UserOrderPackageAttachment {
2286
+ packages: [UserOrderPackage]
2287
+ }
2288
+
2289
+ type UserOrderPackageItem {
2290
+ description: String
2291
+ itemIndex: Int
2292
+ price: Int
2293
+ quantity: Int
2294
+ }
2295
+
2296
+ type UserOrderPaymentConnectorResponses {
2297
+ Tid: String
2298
+ ReturnCode: String
2299
+ Message: String
2300
+ authId: String
2301
+ }
2302
+
2303
+ type UserOrderPaymentData {
2304
+ transactions: [UserOrderTransactions]
2305
+ giftCards: [String]
2306
+ }
2307
+
2308
+ type UserOrderPayments {
2309
+ id: String
2310
+ paymentSystem: String
2311
+ paymentSystemName: String
2312
+ value: Int
2313
+ installments: Int
2314
+ referenceValue: Int
2315
+ cardHolder: String
2316
+ cardNumber: String
2317
+ firstDigits: String
2318
+ lastDigits: String
2319
+ cvv2: String
2320
+ expireMonth: String
2321
+ expireYear: String
2322
+ url: String
2323
+ giftCardId: String
2324
+ giftCardName: String
2325
+ giftCardCaption: String
2326
+ redemptionCode: String
2327
+ group: String
2328
+ tid: String
2329
+ dueDate: String
2330
+ connectorResponses: UserOrderPaymentConnectorResponses
2331
+ giftCardProvider: String
2332
+ giftCardAsDiscount: String
2333
+ koinUrl: String
2334
+ accountId: String
2335
+ parentAccountId: String
2336
+ bankIssuedInvoiceIdentificationNumber: String
2337
+ bankIssuedInvoiceIdentificationNumberFormatted: String
2338
+ bankIssuedInvoiceBarCodeNumber: String
2339
+ bankIssuedInvoiceBarCodeType: String
2340
+ billingAddress: String
2341
+ paymentOrigin: String
2342
+ }
2343
+
2344
+ type UserOrderPickupStoreInfo {
2345
+ additionalInfo: String
2346
+ address: UserOrderAddress
2347
+ dockId: String
2348
+ friendlyName: String
2349
+ isPickupStore: Boolean
2350
+ }
2351
+
2352
+ type UserOrderPriceDefinition {
2353
+ calculatedSellingPrice: Float
2354
+ total: Float
2355
+ reason: String
2356
+ sellingPrices: [UserOrderSellingPrices]
2232
2357
  }
2233
2358
 
2234
2359
  type UserOrderPriceTag {
@@ -2244,177 +2369,163 @@ type UserOrderPriceTag {
2244
2369
  owner: String
2245
2370
  }
2246
2371
 
2247
- type UserOrderTotals {
2248
- id: String
2249
- name: String
2250
- value: Float
2372
+ type UserOrderPurchaseAgent {
2373
+ userId: String
2374
+ versionId: String
2375
+ persona: String
2376
+ unitId: String
2251
2377
  }
2252
2378
 
2253
- type UserOrderContactInformation {
2254
- id: ID!
2255
- email: String
2256
- firstName: String
2257
- lastName: String
2258
- document: String
2259
- documentType: String
2260
- phone: String
2379
+ type UserOrderPurchaseAgentData {
2380
+ purchaseAgents: [UserOrderPurchaseAgent]
2261
2381
  }
2262
2382
 
2263
- type UserOrderDeliveryOptionsData {
2264
- deliveryOptions: [UserOrderDeliveryOption]
2265
- contact: UserOrderDeliveryOptionsContact
2383
+ type UserOrderRateAndBenefitsIdentifier {
2384
+ id: ID
2385
+ additionalInfo: String
2386
+ description: String
2387
+ featured: Boolean
2388
+ name: String
2266
2389
  }
2267
2390
 
2268
- type UserOrderDeliveryOption {
2269
- selectedSla: String
2270
- deliveryChannel: String
2271
- deliveryCompany: String
2272
- deliveryWindow: UserOrderDeliveryWindow
2273
- shippingEstimate: String
2274
- shippingEstimateDate: String
2275
- friendlyShippingEstimate: String
2276
- friendlyDeliveryOptionName: String
2277
- seller: String
2278
- address: UserOrderAddress
2279
- pickupStoreInfo: UserOrderPickupStoreInfo
2280
- quantityOfDifferentItems: Int
2281
- total: Int
2282
- items: [UserOrderDeliveryOptionsItems]
2391
+ type UserOrderRatesAndBenefitsData {
2392
+ id: String
2393
+ rateAndBenefitsIdentifiers: [UserOrderRateAndBenefitsIdentifier]
2283
2394
  }
2284
2395
 
2285
- type UserOrderDeliveryOptionsItems {
2286
- id: String
2287
- uniqueId: String
2288
- name: String
2396
+ type UserOrderRestitutionItem {
2397
+ useFreight: Boolean
2398
+ isCompensation: Boolean
2399
+ compensationValue: Float
2400
+ itemIndex: Int
2401
+ id: ID
2289
2402
  quantity: Int
2290
2403
  price: Float
2291
- sellingPrice: Float
2292
- imageUrl: String
2293
- tax: Float
2294
- taxPriceTags: [UserOrderPriceTag]
2295
- taxPriceTagsTotal: Float
2296
- total: Float
2297
- }
2298
-
2299
- type UserOrderDeliveryOptionsContact {
2300
- name: String
2301
- email: String
2302
- phone: String
2303
- }
2304
-
2305
- type UserOrderCancel {
2306
- data: String
2404
+ description: String
2405
+ unitMultiplier: Float
2307
2406
  }
2308
2407
 
2309
- """Input to the cancel order API."""
2310
- input IUserOrderCancel {
2311
- """Person's name."""
2312
- orderId: String!
2313
- """Customer's email."""
2314
- customerEmail: String
2315
- """Reason."""
2316
- reason: String
2408
+ type UserOrderRestitutionOption {
2409
+ value: Float
2410
+ items: [UserOrderRestitutionItem!]
2317
2411
  }
2318
2412
 
2319
- type UserOrderCancellationData {
2320
- RequestedByUser: Boolean
2321
- RequestedBySystem: Boolean
2322
- RequestedBySellerNotification: Boolean
2323
- RequestedByPaymentNotification: Boolean
2324
- Reason: String
2325
- CancellationDate: String
2413
+ type UserOrderRestitutions {
2414
+ Refund: UserOrderRestitutionOption
2415
+ GiftCard: UserOrderRestitutionOption
2326
2416
  }
2327
2417
 
2328
- type UserOrderCancellationRequest {
2329
- id: String
2330
- reason: String
2331
- cancellationRequestDate: String
2332
- requestedByUser: Boolean
2333
- deniedBySeller: Boolean
2334
- deniedBySellerReason: String
2335
- cancellationRequestDenyDate: String
2418
+ type UserOrderResult {
2419
+ orderId: String
2420
+ creationDate: String
2421
+ status: String
2422
+ canProcessOrderAuthorization: Boolean
2423
+ statusDescription: String
2424
+ allowCancellation: Boolean
2425
+ storePreferencesData: UserOrderStorePreferencesData
2426
+ clientProfileData: UserOrderClientProfileData
2427
+ customData: UserOrderCustomData
2428
+ customFields: [UserOrderCustomFieldsGrouped]
2429
+ deliveryOptionsData: UserOrderDeliveryOptionsData
2430
+ paymentData: UserOrderPaymentData
2431
+ totals: [UserOrderTotals]
2432
+ shippingData: UserOrderShippingData
2433
+ items: [UserOrderItems]
2434
+ ruleForAuthorization: ProcessOrderAuthorizationRule
2435
+ shopper: UserOrderShopper
2436
+ budgetData: UserOrderBudgetData
2336
2437
  }
2337
2438
 
2338
- type UserOrderCustomField {
2339
- linkedEntity: UserOrderCustomFieldLinkedEntity!
2340
- fields: [UserOrderCustomFieldField!]!
2439
+ type UserOrderSellingPrices {
2440
+ value: Float
2441
+ quantity: Int
2341
2442
  }
2342
2443
 
2343
- type UserOrderCustomFieldLinkedEntity {
2344
- type: String!
2444
+ type UserOrderShippingData {
2345
2445
  id: String
2446
+ trackingHints: String
2447
+ contactInformation: [UserOrderContactInformation]
2448
+ availableAddresses: [UserOrderAddress]
2449
+ selectedAddresses: [UserOrderAddress]
2450
+ logisticsInfo: [UserOrderLogisticsInfo]
2451
+ address: UserOrderAddress
2346
2452
  }
2347
2453
 
2348
- type UserOrderCustomFieldField {
2349
- name: String!
2350
- value: String!
2351
- refId: String
2454
+ type UserOrderShopper {
2455
+ firstName: String
2456
+ lastName: String
2457
+ email: String
2458
+ phone: String
2352
2459
  }
2353
2460
 
2354
- type UserOrderCustomFieldsGrouped {
2355
- type: String!
2461
+ type UserOrderSlas {
2356
2462
  id: String
2357
- fields: [UserOrderCustomFieldField]
2358
- }
2359
-
2360
- type UserOrderFromListCustomFields {
2361
- type: String
2362
- value: [String]
2363
- }
2364
-
2365
- type UserOrderListMinimalResult {
2366
- list: [UserOrderFromListMinimal]
2367
- paging: UserOrderListPaging
2463
+ name: String
2464
+ shippingEstimate: String
2465
+ shippingEstimateDate: String
2466
+ deliveryWindow: UserOrderDeliveryWindow
2467
+ listPrice: Float
2468
+ price: Float
2469
+ deliveryChannel: String
2470
+ polygonName: String
2471
+ lockTTL: String
2472
+ pickupPointId: String
2473
+ transitTime: String
2474
+ pickupDistance: Int
2475
+ pickupStoreInfo: UserOrderPickupStoreInfo
2476
+ deliveryIds: [UserOrderDeliveryIds]
2477
+ availableDeliveryWindows: [UserOrderDeliveryWindow]
2368
2478
  }
2369
2479
 
2370
- type UserOrderFromListMinimal {
2371
- orderId: String
2372
- creationDate: String
2373
- clientName: String
2374
- items: [UserOrderItemsSummarized]
2375
- totalValue: Float
2376
- status: String
2377
- statusDescription: String
2378
- ShippingEstimatedDate: String
2379
- customFields: [UserOrderFromListCustomFields]
2480
+ type UserOrderStorePreferencesData {
2481
+ countryCode: String
2380
2482
  currencyCode: String
2483
+ currencyLocale: Int
2484
+ currencySymbol: String
2485
+ timeZone: String
2486
+ currencyFormatInfo: UserOrderCurrencyFormatInfo
2381
2487
  }
2382
2488
 
2383
- type UserOrderBudgetData {
2384
- budgets: [UserOrderBudget]
2489
+ type UserOrderStoreSellers {
2490
+ id: String
2491
+ name: String
2492
+ logo: String
2493
+ fulfillmentEndpoint: String
2385
2494
  }
2386
2495
 
2387
- type UserOrderBudget {
2496
+ type UserOrderTotals {
2388
2497
  id: String
2389
2498
  name: String
2390
- unitId: String
2391
- cycleConfiguration: UserOrderBudgetCycleConfiguration
2392
- balance: UserOrderBudgetBalance
2393
- allocations: [UserOrderBudgetAllocation]
2499
+ value: Float
2394
2500
  }
2395
2501
 
2396
- type UserOrderBudgetCycleConfiguration {
2397
- startDate: String
2398
- endDate: String
2399
- autoResetOnPeriodEnd: Boolean
2400
- carryOverBalance: Boolean
2502
+ type UserOrderTrackingInformation {
2503
+ city: String
2504
+ description: String
2505
+ lastChange: String
2506
+ state: String
2401
2507
  }
2402
2508
 
2403
- type UserOrderBudgetBalance {
2404
- amount: Float
2405
- balanceAdjustment: Float
2406
- remaining: Float
2509
+ type UserOrderTransactions {
2510
+ isActive: Boolean
2511
+ transactionId: String
2512
+ merchantName: String
2513
+ payments: [UserOrderPayments]
2407
2514
  }
2408
2515
 
2409
- type UserOrderBudgetAllocation {
2410
- id: String
2411
- linkedEntity: UserOrderBudgetAllocationLinkedEntity
2412
- balance: UserOrderBudgetBalance
2413
- reservations: JSONObject
2414
- ToBeSpent: Float
2516
+ type ValidateUserData {
2517
+ """Indicates if the user is valid."""
2518
+ isValid: Boolean!
2415
2519
  }
2416
2520
 
2417
- type UserOrderBudgetAllocationLinkedEntity {
2418
- type: String
2419
- id: String
2521
+ """
2522
+ Example:
2523
+
2524
+ ```json
2525
+ {
2526
+ Color: [ "Red", "Blue", "Green" ],
2527
+ Size: [ "40", "41" ]
2420
2528
  }
2529
+ ```
2530
+ """
2531
+ scalar VariantsByName