Typy
Migracja do auto-generowanej referencji
Pełna referencja typów GraphQL (Object types, Input types, Enums, Scalars, Interfaces, Unions) jest teraz auto-generowana z schema.graphql i znajduje się w katalogu Types reference.
Auto-generowana referencja zawiera:
- Object types (np.
Cart,Product,Order) — pełna lista pól z opisami i linkowanymi typami powiązanymi - Input types (np.
CartLineInput,CustomerCreateInput) — formaty argumentów mutacji - Enums (np.
ProductSortKeys,OrderPaymentStatus) — wszystkie warianty wartości - Scalars (
ID,String,Int,DateTime,Decimal,URL,JSON, ...) — typy bazowe - Interfaces + Unions — typy polimorficzne
Skróty do najczęstszych typów
| Domena | Wpis startowy |
|---|---|
| Sklep i konfiguracja | Shop · ShopBranding |
| Produkty | Product · ProductVariant · ProductSortKeys |
| Koszyk | Cart · CartLine · CartLineInput |
| Klient | Customer · CustomerCreateInput · MailingAddress |
| Zamówienia | Order · OrderLineItem · OrderPaymentStatus |
| Płatność i wysyłka | PaymentMethod · PaymentMethodType · AvailableShippingMethod |
| Atrybuty | AttributeDefinition · AttributeFilterInput · AttributeSelectionInput |
| Skalary | DateTime · Decimal · URL · JSON |
Pełna nawigacja: types-reference/.