Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Add graphql schema
fowczarek07cd969dd03b
diff --git a/saleor/graphql/schema.graphql b/saleor/graphql/schema.graphqlindex 67503ff600..fda1e78f57 100644--- a/saleor/graphql/schema.graphql+++ b/saleor/graphql/schema.graphql@@ -322,6 +322,13 @@ input AttributeSortingInput {direction: OrderDirection!}+type AttributeStrings implements Node {+ id: ID!+ name: String!+ translation(languageCode: LanguageCodeEnum!): AttributeTranslation+ attribute: Attribute+}+type AttributeTranslate {errors: [Error!]attribute: Attribute@@ -414,6 +421,13 @@ input AttributeValueInput {values: [String]!}+type AttributeValueStrings implements Node {+ id: ID!+ name: String!+ translation(languageCode: LanguageCodeEnum!): AttributeValueTranslation+ attributeValue: AttributeValue+}+type AttributeValueTranslate {errors: [Error!]attributeValue: AttributeValue@@ -486,9 +500,9 @@ type Category implements Node {seoDescription: Stringid: ID!name: String!- slug: String!description: String!descriptionJson: JSONString!+ slug: String!parent: Categorylevel: Int!privateMeta: [MetaStore]!@@ -556,6 +570,17 @@ input CategoryInput {backgroundImageAlt: String}+type CategoryStrings implements Node {+ seoTitle: String+ seoDescription: String+ id: ID!+ name: String!+ description: String!+ descriptionJson: JSONString!+ translation(languageCode: LanguageCodeEnum!): CategoryTranslation+ category: Category+}+type CategoryTranslate {errors: [Error!]category: Category@@ -809,15 +834,15 @@ type ChoiceValue {}type Collection implements Node {- publicationDate: Date- isPublished: Boolean!seoTitle: StringseoDescription: Stringid: ID!name: String!- slug: String!description: String!descriptionJson: JSONString!+ publicationDate: Date+ isPublished: Boolean!+ slug: String!privateMeta: [MetaStore]!meta: [MetaStore]!products(before: String, after: String, first: Int, last: Int): ProductCountableConnection@@ -925,6 +950,17 @@ type CollectionReorderProducts {productErrors: [ProductError!]}+type CollectionStrings implements Node {+ seoTitle: String+ seoDescription: String+ id: ID!+ name: String!+ description: String!+ descriptionJson: JSONString!+ translation(languageCode: LanguageCodeEnum!): CollectionTranslation+ collection: Collection+}+type CollectionTranslate {errors: [Error!]collection: Collection@@ -1362,6 +1398,8 @@ input DateTimeRangeInput {scalar Decimal+union DefaultTranslationItem = ProductStrings | CollectionStrings | CategoryStrings | AttributeStrings | AttributeValueStrings | ProductVariantStrings | PageStrings | ShippingMethodStrings | SaleStrings | VoucherStrings | MenuItemStrings+type DigitalContent implements Node {useDefaultSettings: Boolean!automaticFulfillment: Boolean!@@ -1876,9 +1914,9 @@ input MenuInput {type MenuItem implements Node {id: ID!+ name: String!sortOrder: Int @deprecated(reason: "Will be dropped in 2.10 and is deprecated since 2.9: use the position in list instead and relative calculus to determine shift position.")menu: Menu!- name: String!parent: MenuItemcategory: Categorycollection: Collection@@ -1952,6 +1990,13 @@ input MenuItemMoveInput {sortOrder: Int}+type MenuItemStrings implements Node {+ id: ID!+ name: String!+ translation(languageCode: LanguageCodeEnum!): MenuItemTranslation+ menuItem: MenuItem+}+type MenuItemTranslate {errors: [Error!]menuItem: MenuItem@@ -2586,15 +2631,15 @@ type OrderVoid {}type Page implements Node {- publicationDate: Date- isPublished: Boolean!seoTitle: StringseoDescription: Stringid: ID!- slug: String!title: String!content: String!contentJson: JSONString!+ publicationDate: Date+ isPublished: Boolean!+ slug: String!created: DateTime!translation(languageCode: LanguageCodeEnum!): PageTranslation}@@ -2651,9 +2696,20 @@ input PageInput {seo: SeoInput}+type PageStrings implements Node {+ seoTitle: String+ seoDescription: String+ id: ID!+ title: String!+ content: String!+ contentJson: JSONString!+ translation(languageCode: LanguageCodeEnum!): PageTranslation+ page: Page+}+type PageTranslate {errors: [Error!]- page: Page+ page: PageStrings}type PageTranslation implements Node {@@ -2854,14 +2910,14 @@ input PriceRangeInput {type Product implements Node {id: ID!- publicationDate: Date- isPublished: Boolean!seoTitle: StringseoDescription: String- productType: ProductType!name: String!description: String!descriptionJson: JSONString!+ publicationDate: Date+ isPublished: Boolean!+ productType: ProductType!category: Category!updatedAt: DateTimechargeTaxes: Boolean!@@ -3082,6 +3138,17 @@ type ProductPricingInfo {priceRangeLocalCurrency: TaxedMoneyRange}+type ProductStrings implements Node {+ id: ID!+ seoTitle: String+ seoDescription: String+ name: String!+ description: String!+ descriptionJson: JSONString!+ translation(languageCode: LanguageCodeEnum!): ProductTranslation+ product: Product+}+type ProductTranslate {errors: [Error!]product: Product@@ -3226,8 +3293,8 @@ type ProductUpdatePrivateMeta {type ProductVariant implements Node {id: ID!- sku: String!name: String!+ sku: String!product: Product!trackInventory: Boolean!quantityAllocated: Int!@@ -3330,6 +3397,13 @@ input ProductVariantInput {weight: WeightScalar}+type ProductVariantStrings implements Node {+ id: ID!+ name: String!+ translation(languageCode: LanguageCodeEnum!): ProductVariantTranslation+ productVariant: ProductVariant+}+type ProductVariantTranslate {errors: [Error!]productVariant: ProductVariant@@ -3365,6 +3439,7 @@ type Query {webhookEvents: [WebhookEvent]webhookSamplePayload(eventType: WebhookEventTypeEnum!): JSONStringtranslations(kind: TranslatableKinds!, before: String, after: String, first: Int, last: Int): TranslatableItemConnection+ translation(id: ID!, kind: TranslatableKinds!): DefaultTranslationItemshop: ShopshippingZone(id: ID!): ShippingZoneshippingZones(before: String, after: String, first: Int, last: Int): ShippingZoneCountableConnection@@ -3515,6 +3590,13 @@ type SaleRemoveCatalogues {sale: Sale}+type SaleStrings implements Node {+ id: ID!+ name: String!+ translation(languageCode: LanguageCodeEnum!): SaleTranslation+ sale: Sale+}+type SaleTranslate {errors: [Error!]sale: Sale@@ -3670,6 +3752,13 @@ type ShippingMethod implements Node {translation(languageCode: LanguageCodeEnum!): ShippingMethodTranslation}+type ShippingMethodStrings implements Node {+ id: ID!+ name: String!+ translation(languageCode: LanguageCodeEnum!): ShippingMethodTranslation+ shippingMethod: ShippingMethod+}+type ShippingMethodTranslation implements Node {id: ID!name: String@@ -4190,8 +4279,8 @@ type VerifyToken {type Voucher implements Node {id: ID!- type: VoucherTypeEnum!name: String+ type: VoucherTypeEnum!code: String!usageLimit: Intused: Int!@@ -4280,6 +4369,13 @@ type VoucherRemoveCatalogues {voucher: Voucher}+type VoucherStrings implements Node {+ id: ID!+ name: String+ translation(languageCode: LanguageCodeEnum!): VoucherTranslation+ voucher: Voucher+}+type VoucherTranslate {errors: [Error!]voucher: Voucher