Quelle
Extensibility & developer surface — found from sitemap — VTEX
Geprüft für VTEX am 10. Nov 2026
- Seite
- https://developers.vtex.com/docs/guides/faststore/api-extensions-extending-api-schema
- Geprüft
- 10 Nov 2026, 06:45 UTC
- Wie Sie es nutzen dürfen
- Öffentliche Seite, Crawling erlaubt
Technische Details
- Typ
- page
- HTTP-Status
- 200
- Inhalts-Hash
- sha256:9dd69a76478e410d4b5ffcf0291ba4fd4d825b36dec00078a289cf698ad4330d
- Erlaubnis
- robots_ok
- Screenshot
- Screenshot liegt vor (interner Beleg, nicht veröffentlicht)
Zitiert von
Aus dieser Quelle gelesene Angaben
-
API schema extension Fehler melden
“This guide will teach you how to extend VTEX and third-party APIs to suit your store's needs.”
-
Graphql based Fehler melden
“Since FastStore uses GraphQL, you need to include type definitions and resolvers to fetch the desired data.”
-
Extension folder structure Fehler melden
“The src/graphql/vtex/resolvers and src/graphql/vtex/typeDefs paths are mandatory, but you can organize the files inside those directories as you wish.”
-
Typedefs format Fehler melden
“The typeDefs files must have a .graphql extension. Also, index.ts is necessary for resolvers but not required for typeDefs.”
-
Typescript support Fehler melden
“Note that you can leverage the use of TypeScript by typing the root param as StoreProductRoot:”
-
Custom search sort version Fehler melden
“FastStore 4.9.0 and later versions can resolve extra StoreSort values.”
-
Custom sort key locations Fehler melden
“The same key must appear in three places: The StoreSort extension. api.customSortMap in discovery.config.js. The registerCustomSortKeys call in the storefront.”
-
Custom sort map priority Fehler melden
“FastStore checks customSortMap before the built-in sort values. A key in this map overrides the default mapping for that key.”
-
Custom sort builtin control limitation Fehler melden
“The built-in Product Gallery sort control renders the default StoreSort values. A key that exists only in customSortMap does not appear in that control.”
-
Unmapped sort behavior Fehler melden
“A StoreSort value missing from customSortMap and from the built-in map returns a bad request with the message Unknown sort value. Keys inherited from Object.prototype, such as constructor, are rejected the same way.”
-
Third party extension structure Fehler melden
“If you already have the directory structure created in the Extending VTEX API schemas, add the thirdParty folder inside src/graphql.”
-
Third party query mutation Fehler melden
“When developing a third-party extension, it's essential to create a Query or Mutation schema. This schema is crucial for generating new query entry points to access data.”
-
Dev server command Fehler melden
“Use the command yarn dev in the terminal to run the development server and monitor changes effectively.”
Bewertungen, die auf diesen Datensatz verweisen
- B2B-Verkäufer Erweiterbarkeit & Entwicklerschnittstellen
- Datenschutzbeauftragter Erweiterbarkeit & Entwicklerschnittstellen
- Entwickler Erweiterbarkeit & Entwicklerschnittstellen
- Händler Erweiterbarkeit & Entwicklerschnittstellen
- Operations-Leiter Erweiterbarkeit & Entwicklerschnittstellen
- Skeptiker Erweiterbarkeit & Entwicklerschnittstellen