2019-08-12 13:07:51 +00:00
schema {
query : Query
mutation : Mutations
}
type AccountAddressCreate {
errors : [ Error ! ]
user : User
2019-09-26 10:14:07 +00:00
accountErrors : [ AccountError ! ]
2019-08-12 13:07:51 +00:00
address : Address
}
type AccountAddressDelete {
errors : [ Error ! ]
user : User
2019-09-26 10:14:07 +00:00
accountErrors : [ AccountError ! ]
2019-08-12 13:07:51 +00:00
address : Address
}
type AccountAddressUpdate {
errors : [ Error ! ]
user : User
2019-09-26 10:14:07 +00:00
accountErrors : [ AccountError ! ]
2019-08-12 13:07:51 +00:00
address : Address
}
type AccountDelete {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
accountErrors : [ AccountError ! ]
2019-08-12 13:07:51 +00:00
user : User
}
2019-09-26 10:14:07 +00:00
type AccountError {
field : String
message : String
code : AccountErrorCode
}
enum AccountErrorCode {
ACTIVATE_OWN_ACCOUNT
ACTIVATE_SUPERUSER_ACCOUNT
DEACTIVATE_OWN_ACCOUNT
DEACTIVATE_SUPERUSER_ACCOUNT
DELETE_NON_STAFF_USER
DELETE_OWN_ACCOUNT
DELETE_STAFF_ACCOUNT
DELETE_SUPERUSER_ACCOUNT
GRAPHQL_ERROR
INVALID
INVALID_PASSWORD
NOT_FOUND
PASSWORD_ENTIRELY_NUMERIC
PASSWORD_TOO_COMMON
PASSWORD_TOO_SHORT
PASSWORD_TOO_SIMILAR
REQUIRED
UNIQUE
}
2019-08-12 13:07:51 +00:00
input AccountInput {
firstName : String
lastName : String
defaultBillingAddress : AddressInput
defaultShippingAddress : AddressInput
}
type AccountRegister {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
accountErrors : [ AccountError ! ]
2019-08-12 13:07:51 +00:00
user : User
}
input AccountRegisterInput {
email : String !
password : String !
}
type AccountRequestDeletion {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
accountErrors : [ AccountError ! ]
2019-08-12 13:07:51 +00:00
}
type AccountSetDefaultAddress {
errors : [ Error ! ]
user : User
2019-09-26 10:14:07 +00:00
accountErrors : [ AccountError ! ]
2019-08-12 13:07:51 +00:00
}
type AccountUpdate {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
accountErrors : [ AccountError ! ]
2019-08-12 13:07:51 +00:00
user : User
}
type Address implements Node {
id : ID !
firstName : String !
lastName : String !
companyName : String !
streetAddress1 : String !
streetAddress2 : String !
city : String !
cityArea : String !
postalCode : String !
country : CountryDisplay !
countryArea : String !
phone : String
isDefaultShippingAddress : Boolean
isDefaultBillingAddress : Boolean
}
type AddressCreate {
errors : [ Error ! ]
user : User
2019-09-26 10:14:07 +00:00
accountErrors : [ AccountError ! ]
2019-08-12 13:07:51 +00:00
address : Address
}
type AddressDelete {
errors : [ Error ! ]
user : User
2019-09-26 10:14:07 +00:00
accountErrors : [ AccountError ! ]
2019-08-12 13:07:51 +00:00
address : Address
}
input AddressInput {
firstName : String
lastName : String
companyName : String
streetAddress1 : String
streetAddress2 : String
city : String
cityArea : String
postalCode : String
country : String
countryArea : String
phone : String
}
type AddressSetDefault {
errors : [ Error ! ]
user : User
2019-09-26 10:14:07 +00:00
accountErrors : [ AccountError ! ]
2019-08-12 13:07:51 +00:00
}
enum AddressTypeEnum {
BILLING
SHIPPING
}
type AddressUpdate {
errors : [ Error ! ]
user : User
2019-09-26 10:14:07 +00:00
accountErrors : [ AccountError ! ]
2019-08-12 13:07:51 +00:00
address : Address
}
type AddressValidationData {
countryCode : String
countryName : String
addressFormat : String
addressLatinFormat : String
allowedFields : [ String ]
requiredFields : [ String ]
upperFields : [ String ]
countryAreaType : String
countryAreaChoices : [ ChoiceValue ]
cityType : String
cityChoices : [ ChoiceValue ]
cityAreaType : String
cityAreaChoices : [ ChoiceValue ]
postalCodeType : String
postalCodeMatchers : [ String ]
postalCodeExamples : [ String ]
postalCodePrefix : String
}
type AssignNavigation {
errors : [ Error ! ]
menu : Menu
2019-09-26 10:14:07 +00:00
menuErrors : [ MenuError ! ]
2019-08-12 13:07:51 +00:00
}
type Attribute implements Node {
id : ID !
2019-08-28 14:53:57 +00:00
productTypes ( before : String , after : String , first : Int , last : Int ) : ProductTypeCountableConnection !
productVariantTypes ( before : String , after : String , first : Int , last : Int ) : ProductTypeCountableConnection !
2019-08-12 13:07:51 +00:00
privateMeta : [ MetaStore ] !
meta : [ MetaStore ] !
input Type : AttributeInputTypeEnum
name : String
slug : String
values : [ AttributeValue ]
valueRequired : Boolean !
visibleInStorefront : Boolean !
filterableInStorefront : Boolean !
filterableInDashboard : Boolean !
availableInGrid : Boolean !
translation ( languageCode : LanguageCodeEnum ! ) : AttributeTranslation
storefrontSearchPosition : Int !
}
type AttributeAssign {
errors : [ Error ! ]
productType : ProductType
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
}
input AttributeAssignInput {
id : ID !
type : AttributeTypeEnum !
}
type AttributeBulkDelete {
errors : [ Error ! ]
count : Int !
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
}
type AttributeClearMeta {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
attribute : Attribute
}
type AttributeClearPrivateMeta {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
attribute : Attribute
}
type AttributeCountableConnection {
pageInfo : PageInfo !
edges : [ AttributeCountableEdge ! ] !
totalCount : Int
}
type AttributeCountableEdge {
node : Attribute !
cursor : String !
}
type AttributeCreate {
errors : [ Error ! ]
attribute : Attribute
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
}
input AttributeCreateInput {
input Type : AttributeInputTypeEnum
name : String !
slug : String
values : [ AttributeValueCreateInput ]
valueRequired : Boolean
isVariantOnly : Boolean
visibleInStorefront : Boolean
filterableInStorefront : Boolean
filterableInDashboard : Boolean
storefrontSearchPosition : Int
availableInGrid : Boolean
}
type AttributeDelete {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
attribute : Attribute
}
input AttributeFilterInput {
valueRequired : Boolean
isVariantOnly : Boolean
visibleInStorefront : Boolean
filterableInStorefront : Boolean
filterableInDashboard : Boolean
availableInGrid : Boolean
search : String
2019-08-28 14:53:57 +00:00
ids : [ ID ]
2019-09-26 15:06:14 +00:00
inCollection : ID
inCategory : ID
2019-08-12 13:07:51 +00:00
}
input AttributeInput {
slug : String !
value : String !
}
enum AttributeInputTypeEnum {
DROPDOWN
MULTISELECT
}
type AttributeReorderValues {
errors : [ Error ! ]
attribute : Attribute
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
}
scalar AttributeScalar
enum AttributeSortField {
NAME
SLUG
VALUE_REQUIRED
IS_VARIANT_ONLY
VISIBLE_IN_STOREFRONT
FILTERABLE_IN_STOREFRONT
FILTERABLE_IN_DASHBOARD
DASHBOARD_VARIANT_POSITION
DASHBOARD_PRODUCT_POSITION
STOREFRONT_SEARCH_POSITION
AVAILABLE_IN_GRID
}
input AttributeSortingInput {
field : AttributeSortField !
direction : OrderDirection !
}
type AttributeTranslate {
errors : [ Error ! ]
attribute : Attribute
}
type AttributeTranslation implements Node {
id : ID !
name : String !
language : LanguageDisplay !
}
enum AttributeTypeEnum {
PRODUCT
VARIANT
}
type AttributeUnassign {
errors : [ Error ! ]
productType : ProductType
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
}
type AttributeUpdate {
errors : [ Error ! ]
attribute : Attribute
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
}
input AttributeUpdateInput {
name : String
slug : String
removeValues : [ ID ]
addValues : [ AttributeValueCreateInput ]
valueRequired : Boolean
isVariantOnly : Boolean
visibleInStorefront : Boolean
filterableInStorefront : Boolean
filterableInDashboard : Boolean
storefrontSearchPosition : Int
availableInGrid : Boolean
}
type AttributeUpdateMeta {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
attribute : Attribute
}
type AttributeUpdatePrivateMeta {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
attribute : Attribute
}
type AttributeValue implements Node {
id : ID !
name : String
slug : String
type : AttributeValueType
translation ( languageCode : LanguageCodeEnum ! ) : AttributeValueTranslation
input Type : AttributeInputTypeEnum
}
type AttributeValueBulkDelete {
errors : [ Error ! ]
count : Int !
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
}
type AttributeValueCreate {
errors : [ Error ! ]
attribute : Attribute
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
attributeValue : AttributeValue
}
input AttributeValueCreateInput {
name : String !
}
type AttributeValueDelete {
errors : [ Error ! ]
attribute : Attribute
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
attributeValue : AttributeValue
}
input AttributeValueInput {
id : ID
slug : String
values : [ String ] !
}
type AttributeValueTranslate {
errors : [ Error ! ]
attributeValue : AttributeValue
}
type AttributeValueTranslation implements Node {
id : ID !
name : String !
language : LanguageDisplay !
}
enum AttributeValueType {
COLOR
GRADIENT
URL
STRING
}
type AttributeValueUpdate {
errors : [ Error ! ]
attribute : Attribute
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
attributeValue : AttributeValue
}
type AuthorizationKey {
name : AuthorizationKeyType !
key : String !
}
type AuthorizationKeyAdd {
errors : [ Error ! ]
authorizationKey : AuthorizationKey
shop : Shop
2019-09-26 10:14:07 +00:00
shopErrors : [ ShopError ! ]
2019-08-12 13:07:51 +00:00
}
type AuthorizationKeyDelete {
errors : [ Error ! ]
authorizationKey : AuthorizationKey
shop : Shop
2019-09-26 10:14:07 +00:00
shopErrors : [ ShopError ! ]
2019-08-12 13:07:51 +00:00
}
input AuthorizationKeyInput {
key : String !
password : String !
}
enum AuthorizationKeyType {
FACEBOOK
GOOGLE_OAUTH2
}
2019-09-26 15:06:14 +00:00
type BulkProductError {
field : String
message : String
code : ProductErrorCode
index : Int
}
2019-08-12 13:07:51 +00:00
input CatalogueInput {
products : [ ID ]
categories : [ ID ]
collections : [ ID ]
}
type Category implements Node {
seoTitle : String
seoDescription : String
id : ID !
name : String !
slug : String !
description : String !
descriptionJson : JSONString !
parent : Category
level : Int !
privateMeta : [ MetaStore ] !
meta : [ MetaStore ] !
ancestors ( before : String , after : String , first : Int , last : Int ) : CategoryCountableConnection
products ( before : String , after : String , first : Int , last : Int ) : ProductCountableConnection
url : String
children ( before : String , after : String , first : Int , last : Int ) : CategoryCountableConnection
backgroundImage ( size : Int ) : Image
translation ( languageCode : LanguageCodeEnum ! ) : CategoryTranslation
}
type CategoryBulkDelete {
errors : [ Error ! ]
count : Int !
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
}
type CategoryClearMeta {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
category : Category
}
type CategoryClearPrivateMeta {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
category : Category
}
type CategoryCountableConnection {
pageInfo : PageInfo !
edges : [ CategoryCountableEdge ! ] !
totalCount : Int
}
type CategoryCountableEdge {
node : Category !
cursor : String !
}
type CategoryCreate {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
category : Category
}
type CategoryDelete {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
category : Category
}
2019-09-10 11:28:18 +00:00
input CategoryFilterInput {
search : String
}
2019-08-12 13:07:51 +00:00
input CategoryInput {
description : String
descriptionJson : JSONString
name : String
slug : String
seo : SeoInput
backgroundImage : Upload
backgroundImageAlt : String
}
type CategoryTranslate {
errors : [ Error ! ]
category : Category
}
type CategoryTranslation implements Node {
seoTitle : String
seoDescription : String
id : ID !
name : String !
description : String !
descriptionJson : JSONString !
language : LanguageDisplay !
}
type CategoryUpdate {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
category : Category
}
type CategoryUpdateMeta {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
category : Category
}
type CategoryUpdatePrivateMeta {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
category : Category
}
type Checkout implements Node {
created : DateTime !
lastChange : DateTime !
user : User
token : UUID !
quantity : Int !
billingAddress : Address
shippingAddress : Address
shippingMethod : ShippingMethod
note : String !
2019-09-02 14:02:00 +00:00
discountAmount : Money @deprecated ( reason : "DEPRECATED: Will be removed in Saleor 2.10, use discount instead." )
2019-08-28 14:53:57 +00:00
discount : Money
2019-08-12 13:07:51 +00:00
discountName : String
translatedDiscountName : String
voucherCode : String
giftCards : [ GiftCard ]
id : ID !
privateMeta : [ MetaStore ] !
meta : [ MetaStore ] !
availableShippingMethods : [ ShippingMethod ] !
2019-10-09 06:56:46 +00:00
availablePaymentGateways : [ PaymentGateway ] !
2019-08-12 13:07:51 +00:00
email : String !
isShippingRequired : Boolean !
lines : [ CheckoutLine ]
shippingPrice : TaxedMoney
subtotalPrice : TaxedMoney
totalPrice : TaxedMoney
}
type CheckoutAddPromoCode {
errors : [ Error ! ]
checkout : Checkout
2019-09-26 10:14:07 +00:00
checkoutErrors : [ CheckoutError ! ]
2019-08-12 13:07:51 +00:00
}
type CheckoutBillingAddressUpdate {
errors : [ Error ! ]
checkout : Checkout
2019-09-26 10:14:07 +00:00
checkoutErrors : [ CheckoutError ! ]
2019-08-12 13:07:51 +00:00
}
2019-10-09 06:56:46 +00:00
type CheckoutClearMeta {
2019-08-12 13:07:51 +00:00
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
checkoutErrors : [ CheckoutError ! ]
2019-08-12 13:07:51 +00:00
checkout : Checkout
}
2019-10-09 06:56:46 +00:00
type CheckoutClearPrivateMeta {
2019-08-12 13:07:51 +00:00
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
checkoutErrors : [ CheckoutError ! ]
2019-08-12 13:07:51 +00:00
checkout : Checkout
}
type CheckoutComplete {
errors : [ Error ! ]
order : Order
2019-09-26 10:14:07 +00:00
checkoutErrors : [ CheckoutError ! ]
2019-08-12 13:07:51 +00:00
}
type CheckoutCountableConnection {
pageInfo : PageInfo !
edges : [ CheckoutCountableEdge ! ] !
totalCount : Int
}
type CheckoutCountableEdge {
node : Checkout !
cursor : String !
}
type CheckoutCreate {
errors : [ Error ! ]
created : Boolean
2019-09-26 10:14:07 +00:00
checkoutErrors : [ CheckoutError ! ]
2019-08-12 13:07:51 +00:00
checkout : Checkout
}
input CheckoutCreateInput {
lines : [ CheckoutLineInput ] !
email : String
shippingAddress : AddressInput
billingAddress : AddressInput
}
type CheckoutCustomerAttach {
errors : [ Error ! ]
checkout : Checkout
2019-09-26 10:14:07 +00:00
checkoutErrors : [ CheckoutError ! ]
2019-08-12 13:07:51 +00:00
}
type CheckoutCustomerDetach {
errors : [ Error ! ]
checkout : Checkout
2019-09-26 10:14:07 +00:00
checkoutErrors : [ CheckoutError ! ]
2019-08-12 13:07:51 +00:00
}
type CheckoutEmailUpdate {
errors : [ Error ! ]
checkout : Checkout
2019-09-26 10:14:07 +00:00
checkoutErrors : [ CheckoutError ! ]
}
type CheckoutError {
field : String
message : String
code : CheckoutErrorCode
}
enum CheckoutErrorCode {
BILLING_ADDRESS_NOT_SET
CHECKOUT_NOT_FULLY_PAID
GRAPHQL_ERROR
INSUFFICIENT_STOCK
INVALID
INVALID_SHIPPING_METHOD
NOT_FOUND
PAYMENT_ERROR
QUANTITY_GREATER_THAN_LIMIT
REQUIRED
SHIPPING_ADDRESS_NOT_SET
SHIPPING_METHOD_NOT_APPLICABLE
SHIPPING_METHOD_NOT_SET
SHIPPING_NOT_REQUIRED
TAX_ERROR
UNIQUE
VOUCHER_NOT_APPLICABLE
ZERO_QUANTITY
2019-08-12 13:07:51 +00:00
}
type CheckoutLine implements Node {
id : ID !
variant : ProductVariant !
quantity : Int !
totalPrice : TaxedMoney
requiresShipping : Boolean
}
type CheckoutLineCountableConnection {
pageInfo : PageInfo !
edges : [ CheckoutLineCountableEdge ! ] !
totalCount : Int
}
type CheckoutLineCountableEdge {
node : CheckoutLine !
cursor : String !
}
type CheckoutLineDelete {
errors : [ Error ! ]
checkout : Checkout
2019-09-26 10:14:07 +00:00
checkoutErrors : [ CheckoutError ! ]
2019-08-12 13:07:51 +00:00
}
input CheckoutLineInput {
quantity : Int !
variantId : ID !
}
type CheckoutLinesAdd {
errors : [ Error ! ]
checkout : Checkout
2019-09-26 10:14:07 +00:00
checkoutErrors : [ CheckoutError ! ]
2019-08-12 13:07:51 +00:00
}
type CheckoutLinesUpdate {
errors : [ Error ! ]
checkout : Checkout
2019-09-26 10:14:07 +00:00
checkoutErrors : [ CheckoutError ! ]
2019-08-12 13:07:51 +00:00
}
type CheckoutPaymentCreate {
errors : [ Error ! ]
checkout : Checkout
payment : Payment
2019-09-26 10:14:07 +00:00
paymentErrors : [ PaymentError ! ]
2019-08-12 13:07:51 +00:00
}
type CheckoutRemovePromoCode {
errors : [ Error ! ]
checkout : Checkout
2019-09-26 10:14:07 +00:00
checkoutErrors : [ CheckoutError ! ]
2019-08-12 13:07:51 +00:00
}
type CheckoutShippingAddressUpdate {
errors : [ Error ! ]
checkout : Checkout
2019-09-26 10:14:07 +00:00
checkoutErrors : [ CheckoutError ! ]
2019-08-12 13:07:51 +00:00
}
type CheckoutShippingMethodUpdate {
errors : [ Error ! ]
checkout : Checkout
2019-09-26 10:14:07 +00:00
checkoutErrors : [ CheckoutError ! ]
2019-08-12 13:07:51 +00:00
}
type CheckoutUpdateMeta {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
checkoutErrors : [ CheckoutError ! ]
2019-08-12 13:07:51 +00:00
checkout : Checkout
}
type CheckoutUpdatePrivateMeta {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
checkoutErrors : [ CheckoutError ! ]
2019-08-12 13:07:51 +00:00
checkout : Checkout
}
type CheckoutUpdateVoucher {
errors : [ Error ! ]
checkout : Checkout
2019-09-26 10:14:07 +00:00
checkoutErrors : [ CheckoutError ! ]
2019-08-12 13:07:51 +00:00
}
type ChoiceValue {
raw : String
verbose : String
}
type Collection implements Node {
publicationDate : Date
isPublished : Boolean !
seoTitle : String
seoDescription : String
id : ID !
name : String !
slug : String !
description : String !
descriptionJson : JSONString !
privateMeta : [ MetaStore ] !
meta : [ MetaStore ] !
products ( before : String , after : String , first : Int , last : Int ) : ProductCountableConnection
backgroundImage ( size : Int ) : Image
translation ( languageCode : LanguageCodeEnum ! ) : CollectionTranslation
}
type CollectionAddProducts {
errors : [ Error ! ]
collection : Collection
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
}
type CollectionBulkDelete {
errors : [ Error ! ]
count : Int !
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
}
type CollectionBulkPublish {
errors : [ Error ! ]
count : Int !
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
}
type CollectionClearMeta {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
collection : Collection
}
type CollectionClearPrivateMeta {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
collection : Collection
}
type CollectionCountableConnection {
pageInfo : PageInfo !
edges : [ CollectionCountableEdge ! ] !
totalCount : Int
}
type CollectionCountableEdge {
node : Collection !
cursor : String !
}
type CollectionCreate {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
collection : Collection
}
input CollectionCreateInput {
isPublished : Boolean
name : String
slug : String
description : String
descriptionJson : JSONString
backgroundImage : Upload
backgroundImageAlt : String
seo : SeoInput
publicationDate : Date
products : [ ID ]
}
type CollectionDelete {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
collection : Collection
}
input CollectionFilterInput {
published : CollectionPublished
search : String
}
input CollectionInput {
isPublished : Boolean
name : String
slug : String
description : String
descriptionJson : JSONString
backgroundImage : Upload
backgroundImageAlt : String
seo : SeoInput
publicationDate : Date
}
enum CollectionPublished {
PUBLISHED
HIDDEN
}
type CollectionRemoveProducts {
errors : [ Error ! ]
collection : Collection
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
}
type CollectionReorderProducts {
errors : [ Error ! ]
collection : Collection
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
}
type CollectionTranslate {
errors : [ Error ! ]
collection : Collection
}
type CollectionTranslation implements Node {
seoTitle : String
seoDescription : String
id : ID !
name : String !
description : String !
descriptionJson : JSONString !
language : LanguageDisplay !
}
type CollectionUpdate {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
collection : Collection
}
type CollectionUpdateMeta {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
collection : Collection
}
type CollectionUpdatePrivateMeta {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
collection : Collection
}
type ConfigurationItem {
name : String !
value : String !
type : ConfigurationTypeFieldEnum
helpText : String
label : String
}
input ConfigurationItemInput {
name : String !
value : String !
}
enum ConfigurationTypeFieldEnum {
STRING
BOOLEAN
}
enum CountryCode {
AF
AX
AL
DZ
AS
AD
AO
AI
AQ
AG
AR
AM
AW
AU
AT
AZ
BS
BH
BD
BB
BY
BE
BZ
BJ
BM
BT
BO
BQ
BA
BW
BV
BR
IO
BN
BG
BF
BI
CV
KH
CM
CA
KY
CF
TD
CL
CN
CX
CC
CO
KM
CG
CD
CK
CR
CI
HR
CU
CW
CY
CZ
DK
DJ
DM
DO
EC
EG
SV
GQ
ER
EE
SZ
ET
EU
FK
FO
FJ
FI
FR
GF
PF
TF
GA
GM
GE
DE
GH
GI
GR
GL
GD
GP
GU
GT
GG
GN
GW
GY
HT
HM
VA
HN
HK
HU
IS
IN
ID
IR
IQ
IE
IM
IL
IT
JM
JP
JE
JO
KZ
KE
KI
KW
KG
LA
LV
LB
LS
LR
LY
LI
LT
LU
MO
MG
MW
MY
MV
ML
MT
MH
MQ
MR
MU
YT
MX
FM
MD
MC
MN
ME
MS
MA
MZ
MM
NA
NR
NP
NL
NC
NZ
NI
NE
NG
NU
NF
KP
2019-08-28 14:53:57 +00:00
MK
2019-08-12 13:07:51 +00:00
MP
NO
OM
PK
PW
PS
PA
PG
PY
PE
PH
PN
PL
PT
PR
QA
RE
RO
RU
RW
BL
SH
KN
LC
MF
PM
VC
WS
SM
ST
SA
SN
RS
SC
SL
SG
SX
SK
SI
SB
SO
ZA
GS
KR
SS
ES
LK
SD
SR
SJ
SE
CH
SY
TW
TJ
TZ
TH
TL
TG
TK
TO
TT
TN
TR
TM
TC
TV
UG
UA
AE
GB
UM
US
UY
UZ
VU
VE
VN
VG
VI
WF
EH
YE
ZM
ZW
}
type CountryDisplay {
code : String !
country : String !
vat : VAT
}
type CreateToken {
token : String
errors : [ Error ] !
user : User
}
type CreditCard {
brand : String !
firstDigits : String !
lastDigits : String !
expMonth : Int !
expYear : Int !
}
type CustomerAddressCreate {
errors : [ Error ! ]
user : User
address : Address
}
type CustomerBulkDelete {
errors : [ Error ! ]
count : Int !
2019-09-26 10:14:07 +00:00
accountErrors : [ AccountError ! ]
2019-08-12 13:07:51 +00:00
}
type CustomerCreate {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
accountErrors : [ AccountError ! ]
2019-08-12 13:07:51 +00:00
user : User
}
type CustomerDelete {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
accountErrors : [ AccountError ! ]
2019-08-12 13:07:51 +00:00
user : User
}
type CustomerEvent implements Node {
id : ID !
date : DateTime
type : CustomerEventsEnum
user ( id : ID ) : User
message : String
count : Int
order : Order
orderLine : OrderLine
}
enum CustomerEventsEnum {
ACCOUNT_CREATED
PASSWORD_RESET_LINK_SENT
PASSWORD_RESET
PLACED_ORDER
NOTE_ADDED_TO_ORDER
DIGITAL_LINK_DOWNLOADED
CUSTOMER_DELETED
NAME_ASSIGNED
EMAIL_ASSIGNED
NOTE_ADDED
}
input CustomerFilterInput {
dateJoined : DateRangeInput
moneySpent : PriceRangeInput
numberOfOrders : IntRangeInput
placedOrders : DateRangeInput
search : String
}
input CustomerInput {
defaultBillingAddress : AddressInput
defaultShippingAddress : AddressInput
firstName : String
lastName : String
email : String
isActive : Boolean
note : String
}
type CustomerPasswordReset {
errors : [ Error ! ]
}
input CustomerPasswordResetInput {
email : String !
}
type CustomerRegister {
errors : [ Error ! ]
user : User
}
input CustomerRegisterInput {
email : String !
password : String !
}
type CustomerSetDefaultAddress {
errors : [ Error ! ]
user : User
}
type CustomerUpdate {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
accountErrors : [ AccountError ! ]
2019-08-12 13:07:51 +00:00
user : User
}
scalar Date
input DateRangeInput {
gte : Date
lte : Date
}
scalar DateTime
input DateTimeRangeInput {
gte : DateTime
lte : DateTime
}
scalar Decimal
type DigitalContent implements Node {
useDefaultSettings : Boolean !
automaticFulfillment : Boolean !
productVariant : ProductVariant !
contentFile : String !
maxDownloads : Int
urlValidDays : Int
urls : [ DigitalContentUrl ]
id : ID !
privateMeta : [ MetaStore ] !
meta : [ MetaStore ] !
}
type DigitalContentCountableConnection {
pageInfo : PageInfo !
edges : [ DigitalContentCountableEdge ! ] !
totalCount : Int
}
type DigitalContentCountableEdge {
node : DigitalContent !
cursor : String !
}
type DigitalContentCreate {
errors : [ Error ! ]
variant : ProductVariant
content : DigitalContent
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
}
type DigitalContentDelete {
errors : [ Error ! ]
variant : ProductVariant
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
}
input DigitalContentInput {
useDefaultSettings : Boolean !
maxDownloads : Int
urlValidDays : Int
automaticFulfillment : Boolean
}
type DigitalContentUpdate {
errors : [ Error ! ]
variant : ProductVariant
content : DigitalContent
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
}
input DigitalContentUploadInput {
useDefaultSettings : Boolean !
maxDownloads : Int
urlValidDays : Int
automaticFulfillment : Boolean
contentFile : Upload !
}
type DigitalContentUrl implements Node {
token : UUID !
content : DigitalContent !
created : DateTime !
downloadNum : Int !
id : ID !
url : String
}
type DigitalContentUrlCreate {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
digitalContentUrl : DigitalContentUrl
}
input DigitalContentUrlCreateInput {
content : ID !
}
enum DiscountStatusEnum {
ACTIVE
EXPIRED
SCHEDULED
}
enum DiscountValueTypeEnum {
FIXED
PERCENTAGE
}
type Domain {
host : String !
sslEnabled : Boolean !
url : String !
}
type DraftOrderBulkDelete {
errors : [ Error ! ]
count : Int !
2019-09-26 10:14:07 +00:00
orderErrors : [ OrderError ! ]
2019-08-12 13:07:51 +00:00
}
type DraftOrderComplete {
errors : [ Error ! ]
order : Order
2019-09-26 10:14:07 +00:00
orderErrors : [ OrderError ! ]
2019-08-12 13:07:51 +00:00
}
type DraftOrderCreate {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
orderErrors : [ OrderError ! ]
2019-08-12 13:07:51 +00:00
order : Order
}
input DraftOrderCreateInput {
billingAddress : AddressInput
user : ID
userEmail : String
discount : Decimal
shippingAddress : AddressInput
shippingMethod : ID
voucher : ID
lines : [ OrderLineCreateInput ]
}
type DraftOrderDelete {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
orderErrors : [ OrderError ! ]
2019-08-12 13:07:51 +00:00
order : Order
}
input DraftOrderInput {
billingAddress : AddressInput
user : ID
userEmail : String
discount : Decimal
shippingAddress : AddressInput
shippingMethod : ID
voucher : ID
}
type DraftOrderLineDelete {
errors : [ Error ! ]
order : Order
orderLine : OrderLine
2019-09-26 10:14:07 +00:00
orderErrors : [ OrderError ! ]
2019-08-12 13:07:51 +00:00
}
type DraftOrderLineUpdate {
errors : [ Error ! ]
order : Order
2019-09-26 10:14:07 +00:00
orderErrors : [ OrderError ! ]
2019-08-12 13:07:51 +00:00
orderLine : OrderLine
}
type DraftOrderLinesBulkDelete {
errors : [ Error ! ]
count : Int !
2019-09-26 10:14:07 +00:00
orderErrors : [ OrderError ! ]
2019-08-12 13:07:51 +00:00
}
type DraftOrderLinesCreate {
errors : [ Error ! ]
order : Order
orderLines : [ OrderLine ! ]
2019-09-26 10:14:07 +00:00
orderErrors : [ OrderError ! ]
2019-08-12 13:07:51 +00:00
}
type DraftOrderUpdate {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
orderErrors : [ OrderError ! ]
2019-08-12 13:07:51 +00:00
order : Order
}
type Error {
field : String
message : String
}
2019-09-26 10:14:07 +00:00
type ExtensionsError {
field : String
message : String
code : ExtensionsErrorCode
}
enum ExtensionsErrorCode {
GRAPHQL_ERROR
INVALID
PLUGIN_MISCONFIGURED
NOT_FOUND
REQUIRED
UNIQUE
}
2019-08-12 13:07:51 +00:00
type Fulfillment implements Node {
id : ID !
fulfillmentOrder : Int !
status : FulfillmentStatus !
trackingNumber : String !
shippingDate : DateTime !
lines : [ FulfillmentLine ]
statusDisplay : String
}
type FulfillmentCancel {
errors : [ Error ! ]
fulfillment : Fulfillment
order : Order
2019-09-26 10:14:07 +00:00
orderErrors : [ OrderError ! ]
2019-08-12 13:07:51 +00:00
}
input FulfillmentCancelInput {
restock : Boolean
}
type FulfillmentCreate {
errors : [ Error ! ]
fulfillment : Fulfillment
order : Order
2019-09-26 10:14:07 +00:00
orderErrors : [ OrderError ! ]
2019-08-12 13:07:51 +00:00
}
input FulfillmentCreateInput {
trackingNumber : String
notifyCustomer : Boolean
lines : [ FulfillmentLineInput ] !
}
type FulfillmentLine implements Node {
id : ID !
quantity : Int !
orderLine : OrderLine
}
input FulfillmentLineInput {
orderLineId : ID
quantity : Int
}
enum FulfillmentStatus {
FULFILLED
CANCELED
}
type FulfillmentUpdateTracking {
errors : [ Error ! ]
fulfillment : Fulfillment
order : Order
2019-09-26 10:14:07 +00:00
orderErrors : [ OrderError ! ]
2019-08-12 13:07:51 +00:00
}
input FulfillmentUpdateTrackingInput {
trackingNumber : String
notifyCustomer : Boolean
}
2019-10-09 06:56:46 +00:00
type GatewayConfigLine {
field : String !
value : String
}
2019-08-12 13:07:51 +00:00
scalar GenericScalar
type Geolocalization {
country : CountryDisplay
}
type GiftCard implements Node {
code : String
user : User
created : DateTime !
startDate : Date !
endDate : Date
lastUsedOn : DateTime
isActive : Boolean !
initialBalance : Money
currentBalance : Money
id : ID !
displayCode : String
}
type GiftCardActivate {
errors : [ Error ! ]
giftCard : GiftCard
2019-09-26 10:14:07 +00:00
giftCardErrors : [ GiftCardError ! ]
2019-08-12 13:07:51 +00:00
}
type GiftCardCountableConnection {
pageInfo : PageInfo !
edges : [ GiftCardCountableEdge ! ] !
totalCount : Int
}
type GiftCardCountableEdge {
node : GiftCard !
cursor : String !
}
type GiftCardCreate {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
giftCardErrors : [ GiftCardError ! ]
2019-08-12 13:07:51 +00:00
giftCard : GiftCard
}
input GiftCardCreateInput {
startDate : Date
endDate : Date
balance : Decimal
userEmail : String
code : String
}
type GiftCardDeactivate {
errors : [ Error ! ]
giftCard : GiftCard
2019-09-26 10:14:07 +00:00
giftCardErrors : [ GiftCardError ! ]
}
type GiftCardError {
field : String
message : String
code : GiftCardErrorCode
}
enum GiftCardErrorCode {
ALREADY_EXISTS
GRAPHQL_ERROR
INVALID
NOT_FOUND
REQUIRED
UNIQUE
2019-08-12 13:07:51 +00:00
}
type GiftCardUpdate {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
giftCardErrors : [ GiftCardError ! ]
2019-08-12 13:07:51 +00:00
giftCard : GiftCard
}
input GiftCardUpdateInput {
startDate : Date
endDate : Date
balance : Decimal
userEmail : String
}
type HomepageCollectionUpdate {
errors : [ Error ! ]
shop : Shop
2019-09-26 10:14:07 +00:00
shopErrors : [ ShopError ! ]
2019-08-12 13:07:51 +00:00
}
type Image {
url : String !
alt : String
}
input IntRangeInput {
gte : Int
lte : Int
}
scalar JSONString
enum LanguageCodeEnum {
AR
AZ
BG
BN
CA
CS
DA
DE
EL
EN
ES
ES_CO
ET
FA
FR
HI
HU
HY
ID
IS
IT
JA
KO
LT
MN
NB
NL
PL
PT
PT_BR
RO
RU
SK
SQ
SR
SW
SV
TH
TR
UK
VI
ZH_HANS
ZH_HANT
}
type LanguageDisplay {
code : LanguageCodeEnum !
language : String !
}
type LoggedUserUpdate {
errors : [ Error ! ]
user : User
}
type Margin {
start : Int
stop : Int
}
type Menu implements Node {
id : ID !
name : String !
items : [ MenuItem ]
}
type MenuBulkDelete {
errors : [ Error ! ]
count : Int !
2019-09-26 10:14:07 +00:00
menuErrors : [ MenuError ! ]
2019-08-12 13:07:51 +00:00
}
type MenuCountableConnection {
pageInfo : PageInfo !
edges : [ MenuCountableEdge ! ] !
totalCount : Int
}
type MenuCountableEdge {
node : Menu !
cursor : String !
}
type MenuCreate {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
menuErrors : [ MenuError ! ]
2019-08-12 13:07:51 +00:00
menu : Menu
}
input MenuCreateInput {
name : String !
items : [ MenuItemInput ]
}
type MenuDelete {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
menuErrors : [ MenuError ! ]
2019-08-12 13:07:51 +00:00
menu : Menu
}
2019-09-26 10:14:07 +00:00
type MenuError {
field : String
message : String
code : MenuErrorCode
}
enum MenuErrorCode {
CANNOT_ASSIGN_NODE
GRAPHQL_ERROR
INVALID
INVALID_MENU_ITEM
NO_MENU_ITEM_PROVIDED
NOT_FOUND
REQUIRED
TOO_MANY_MENU_ITEMS
UNIQUE
}
2019-09-10 11:28:18 +00:00
input MenuFilterInput {
search : String
}
2019-08-12 13:07:51 +00:00
input MenuInput {
name : String
}
type MenuItem implements Node {
id : ID !
2019-09-26 10:14:07 +00:00
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." )
2019-08-12 13:07:51 +00:00
menu : Menu !
name : String !
parent : MenuItem
category : Category
collection : Collection
page : Page
level : Int !
children : [ MenuItem ]
url : String
translation ( languageCode : LanguageCodeEnum ! ) : MenuItemTranslation
}
type MenuItemBulkDelete {
errors : [ Error ! ]
count : Int !
2019-09-26 10:14:07 +00:00
menuErrors : [ MenuError ! ]
2019-08-12 13:07:51 +00:00
}
type MenuItemCountableConnection {
pageInfo : PageInfo !
edges : [ MenuItemCountableEdge ! ] !
totalCount : Int
}
type MenuItemCountableEdge {
node : MenuItem !
cursor : String !
}
type MenuItemCreate {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
menuErrors : [ MenuError ! ]
2019-08-12 13:07:51 +00:00
menuItem : MenuItem
}
input MenuItemCreateInput {
name : String !
url : String
category : ID
collection : ID
page : ID
menu : ID !
parent : ID
}
type MenuItemDelete {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
menuErrors : [ MenuError ! ]
2019-08-12 13:07:51 +00:00
menuItem : MenuItem
}
2019-09-10 11:28:18 +00:00
input MenuItemFilterInput {
search : String
}
2019-08-12 13:07:51 +00:00
input MenuItemInput {
name : String
url : String
category : ID
collection : ID
page : ID
}
type MenuItemMove {
errors : [ Error ! ]
menu : Menu
2019-09-26 10:14:07 +00:00
menuErrors : [ MenuError ! ]
2019-08-12 13:07:51 +00:00
}
input MenuItemMoveInput {
itemId : ID !
parentId : ID
sortOrder : Int
}
type MenuItemTranslate {
errors : [ Error ! ]
menuItem : MenuItem
}
type MenuItemTranslation implements Node {
id : ID !
name : String !
language : LanguageDisplay !
}
type MenuItemUpdate {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
menuErrors : [ MenuError ! ]
2019-08-12 13:07:51 +00:00
menuItem : MenuItem
}
type MenuUpdate {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
menuErrors : [ MenuError ! ]
2019-08-12 13:07:51 +00:00
menu : Menu
}
type MetaClientStore {
name : String !
metadata : [ MetaItem ] !
}
input MetaInput {
namespace : String !
clientName : String !
key : String !
value : String !
}
type MetaItem {
key : String !
value : String !
}
input MetaPath {
namespace : String !
clientName : String !
key : String !
}
type MetaStore {
namespace : String !
clients : [ MetaClientStore ] !
}
type Money {
currency : String !
amount : Float !
localized : String !
}
type MoneyRange {
start : Money
stop : Money
}
input MoveProductInput {
productId : ID !
sortOrder : Int
}
type Mutations {
2019-09-26 15:06:14 +00:00
webhookCreate ( input : WebhookCreateInput ! ) : WebhookCreate
webhookDelete ( id : ID ! ) : WebhookDelete
webhookUpdate ( id : ID ! , input : WebhookUpdateInput ! ) : WebhookUpdate
2019-08-12 13:07:51 +00:00
authorizationKeyAdd ( input : AuthorizationKeyInput ! , keyType : AuthorizationKeyType ! ) : AuthorizationKeyAdd
authorizationKeyDelete ( keyType : AuthorizationKeyType ! ) : AuthorizationKeyDelete
homepageCollectionUpdate ( collection : ID ) : HomepageCollectionUpdate
shopDomainUpdate ( input : SiteDomainInput ) : ShopDomainUpdate
shopSettingsUpdate ( input : ShopSettingsInput ! ) : ShopSettingsUpdate
shopFetchTaxRates : ShopFetchTaxRates
shopSettingsTranslate ( input : ShopSettingsTranslationInput ! , languageCode : LanguageCodeEnum ! ) : ShopSettingsTranslate
shopAddressUpdate ( input : AddressInput ) : ShopAddressUpdate
shippingPriceCreate ( input : ShippingPriceInput ! ) : ShippingPriceCreate
shippingPriceDelete ( id : ID ! ) : ShippingPriceDelete
shippingPriceBulkDelete ( ids : [ ID ] ! ) : ShippingPriceBulkDelete
shippingPriceUpdate ( id : ID ! , input : ShippingPriceInput ! ) : ShippingPriceUpdate
shippingPriceTranslate ( id : ID ! , input : NameTranslationInput ! , languageCode : LanguageCodeEnum ! ) : ShippingPriceTranslate
shippingZoneCreate ( input : ShippingZoneInput ! ) : ShippingZoneCreate
shippingZoneDelete ( id : ID ! ) : ShippingZoneDelete
shippingZoneBulkDelete ( ids : [ ID ] ! ) : ShippingZoneBulkDelete
shippingZoneUpdate ( id : ID ! , input : ShippingZoneInput ! ) : ShippingZoneUpdate
attributeCreate ( input : AttributeCreateInput ! ) : AttributeCreate
attributeDelete ( id : ID ! ) : AttributeDelete
attributeBulkDelete ( ids : [ ID ] ! ) : AttributeBulkDelete
attributeAssign ( operations : [ AttributeAssignInput ] ! , productTypeId : ID ! ) : AttributeAssign
attributeUnassign ( attributeIds : [ ID ] ! , productTypeId : ID ! ) : AttributeUnassign
attributeUpdate ( id : ID ! , input : AttributeUpdateInput ! ) : AttributeUpdate
attributeTranslate ( id : ID ! , input : NameTranslationInput ! , languageCode : LanguageCodeEnum ! ) : AttributeTranslate
attributeUpdateMetadata ( id : ID ! , input : MetaInput ! ) : AttributeUpdateMeta
attributeClearMetadata ( id : ID ! , input : MetaPath ! ) : AttributeClearMeta
attributeUpdatePrivateMetadata ( id : ID ! , input : MetaInput ! ) : AttributeUpdatePrivateMeta
attributeClearPrivateMetadata ( id : ID ! , input : MetaPath ! ) : AttributeClearPrivateMeta
attributeValueCreate ( attribute : ID ! , input : AttributeValueCreateInput ! ) : AttributeValueCreate
attributeValueDelete ( id : ID ! ) : AttributeValueDelete
attributeValueBulkDelete ( ids : [ ID ] ! ) : AttributeValueBulkDelete
attributeValueUpdate ( id : ID ! , input : AttributeValueCreateInput ! ) : AttributeValueUpdate
attributeValueTranslate ( id : ID ! , input : NameTranslationInput ! , languageCode : LanguageCodeEnum ! ) : AttributeValueTranslate
attributeReorderValues ( attributeId : ID ! , moves : [ ReorderInput ] ! ) : AttributeReorderValues
categoryCreate ( input : CategoryInput ! , parent : ID ) : CategoryCreate
categoryDelete ( id : ID ! ) : CategoryDelete
categoryBulkDelete ( ids : [ ID ] ! ) : CategoryBulkDelete
categoryUpdate ( id : ID ! , input : CategoryInput ! ) : CategoryUpdate
categoryTranslate ( id : ID ! , input : TranslationInput ! , languageCode : LanguageCodeEnum ! ) : CategoryTranslate
categoryUpdateMetadata ( id : ID ! , input : MetaInput ! ) : CategoryUpdateMeta
categoryClearMetadata ( id : ID ! , input : MetaPath ! ) : CategoryClearMeta
categoryUpdatePrivateMetadata ( id : ID ! , input : MetaInput ! ) : CategoryUpdatePrivateMeta
categoryClearPrivateMetadata ( id : ID ! , input : MetaPath ! ) : CategoryClearPrivateMeta
collectionAddProducts ( collectionId : ID ! , products : [ ID ] ! ) : CollectionAddProducts
collectionCreate ( input : CollectionCreateInput ! ) : CollectionCreate
collectionDelete ( id : ID ! ) : CollectionDelete
collectionReorderProducts ( collectionId : ID ! , moves : [ MoveProductInput ] ! ) : CollectionReorderProducts
collectionBulkDelete ( ids : [ ID ] ! ) : CollectionBulkDelete
collectionBulkPublish ( ids : [ ID ] ! , isPublished : Boolean ! ) : CollectionBulkPublish
collectionRemoveProducts ( collectionId : ID ! , products : [ ID ] ! ) : CollectionRemoveProducts
collectionUpdate ( id : ID ! , input : CollectionInput ! ) : CollectionUpdate
collectionTranslate ( id : ID ! , input : TranslationInput ! , languageCode : LanguageCodeEnum ! ) : CollectionTranslate
collectionUpdateMetadata ( id : ID ! , input : MetaInput ! ) : CollectionUpdateMeta
collectionClearMetadata ( id : ID ! , input : MetaPath ! ) : CollectionClearMeta
collectionUpdatePrivateMetadata ( id : ID ! , input : MetaInput ! ) : CollectionUpdatePrivateMeta
collectionClearPrivateMetadata ( id : ID ! , input : MetaPath ! ) : CollectionClearPrivateMeta
productCreate ( input : ProductCreateInput ! ) : ProductCreate
productDelete ( id : ID ! ) : ProductDelete
productBulkDelete ( ids : [ ID ] ! ) : ProductBulkDelete
productBulkPublish ( ids : [ ID ] ! , isPublished : Boolean ! ) : ProductBulkPublish
productUpdate ( id : ID ! , input : ProductInput ! ) : ProductUpdate
productTranslate ( id : ID ! , input : TranslationInput ! , languageCode : LanguageCodeEnum ! ) : ProductTranslate
productUpdateMetadata ( id : ID ! , input : MetaInput ! ) : ProductUpdateMeta
productClearMetadata ( id : ID ! , input : MetaPath ! ) : ProductClearMeta
productUpdatePrivateMetadata ( id : ID ! , input : MetaInput ! ) : ProductUpdatePrivateMeta
productClearPrivateMetadata ( id : ID ! , input : MetaPath ! ) : ProductClearPrivateMeta
productImageCreate ( input : ProductImageCreateInput ! ) : ProductImageCreate
productImageDelete ( id : ID ! ) : ProductImageDelete
productImageBulkDelete ( ids : [ ID ] ! ) : ProductImageBulkDelete
productImageReorder ( imagesIds : [ ID ] ! , productId : ID ! ) : ProductImageReorder
productImageUpdate ( id : ID ! , input : ProductImageUpdateInput ! ) : ProductImageUpdate
productTypeCreate ( input : ProductTypeInput ! ) : ProductTypeCreate
productTypeDelete ( id : ID ! ) : ProductTypeDelete
productTypeBulkDelete ( ids : [ ID ] ! ) : ProductTypeBulkDelete
productTypeUpdate ( id : ID ! , input : ProductTypeInput ! ) : ProductTypeUpdate
productTypeReorderAttributes ( moves : [ ReorderInput ] ! , productTypeId : ID ! , type : AttributeTypeEnum ! ) : ProductTypeReorderAttributes
productTypeUpdateMetadata ( id : ID ! , input : MetaInput ! ) : ProductTypeUpdateMeta
productTypeClearMetadata ( id : ID ! , input : MetaPath ! ) : ProductTypeClearMeta
productTypeUpdatePrivateMetadata ( id : ID ! , input : MetaInput ! ) : ProductTypeUpdatePrivateMeta
productTypeClearPrivateMetadata ( id : ID ! , input : MetaPath ! ) : ProductTypeClearPrivateMeta
digitalContentCreate ( input : DigitalContentUploadInput ! , variantId : ID ! ) : DigitalContentCreate
digitalContentDelete ( variantId : ID ! ) : DigitalContentDelete
digitalContentUpdate ( input : DigitalContentInput ! , variantId : ID ! ) : DigitalContentUpdate
digitalContentUrlCreate ( input : DigitalContentUrlCreateInput ! ) : DigitalContentUrlCreate
productVariantCreate ( input : ProductVariantCreateInput ! ) : ProductVariantCreate
productVariantDelete ( id : ID ! ) : ProductVariantDelete
2019-09-26 15:06:14 +00:00
productVariantBulkCreate ( product : ID ! , variants : [ ProductVariantBulkCreateInput ] ! ) : ProductVariantBulkCreate
2019-08-12 13:07:51 +00:00
productVariantBulkDelete ( ids : [ ID ] ! ) : ProductVariantBulkDelete
productVariantUpdate ( id : ID ! , input : ProductVariantInput ! ) : ProductVariantUpdate
productVariantTranslate ( id : ID ! , input : NameTranslationInput ! , languageCode : LanguageCodeEnum ! ) : ProductVariantTranslate
productVariantUpdateMetadata ( id : ID ! , input : MetaInput ! ) : ProductVariantUpdateMeta
productVariantClearMetadata ( id : ID ! , input : MetaPath ! ) : ProductVariantClearMeta
productVariantUpdatePrivateMetadata ( id : ID ! , input : MetaInput ! ) : ProductVariantUpdatePrivateMeta
productVariantClearPrivateMetadata ( id : ID ! , input : MetaPath ! ) : ProductVariantClearPrivateMeta
variantImageAssign ( imageId : ID ! , variantId : ID ! ) : VariantImageAssign
variantImageUnassign ( imageId : ID ! , variantId : ID ! ) : VariantImageUnassign
paymentCapture ( amount : Decimal , paymentId : ID ! ) : PaymentCapture
paymentRefund ( amount : Decimal , paymentId : ID ! ) : PaymentRefund
paymentVoid ( paymentId : ID ! ) : PaymentVoid
2019-08-28 14:53:57 +00:00
paymentSecureConfirm ( paymentId : ID ! ) : PaymentSecureConfirm
2019-08-12 13:07:51 +00:00
pageCreate ( input : PageInput ! ) : PageCreate
pageDelete ( id : ID ! ) : PageDelete
pageBulkDelete ( ids : [ ID ] ! ) : PageBulkDelete
pageBulkPublish ( ids : [ ID ] ! , isPublished : Boolean ! ) : PageBulkPublish
pageUpdate ( id : ID ! , input : PageInput ! ) : PageUpdate
pageTranslate ( id : ID ! , input : PageTranslationInput ! , languageCode : LanguageCodeEnum ! ) : PageTranslate
draftOrderComplete ( id : ID ! ) : DraftOrderComplete
draftOrderCreate ( input : DraftOrderCreateInput ! ) : DraftOrderCreate
draftOrderDelete ( id : ID ! ) : DraftOrderDelete
draftOrderBulkDelete ( ids : [ ID ] ! ) : DraftOrderBulkDelete
draftOrderLinesBulkDelete ( ids : [ ID ] ! ) : DraftOrderLinesBulkDelete
draftOrderLinesCreate ( id : ID ! , input : [ OrderLineCreateInput ] ! ) : DraftOrderLinesCreate
draftOrderLineDelete ( id : ID ! ) : DraftOrderLineDelete
draftOrderLineUpdate ( id : ID ! , input : OrderLineInput ! ) : DraftOrderLineUpdate
draftOrderUpdate ( id : ID ! , input : DraftOrderInput ! ) : DraftOrderUpdate
orderAddNote ( order : ID ! , input : OrderAddNoteInput ! ) : OrderAddNote
orderCancel ( id : ID ! , restock : Boolean ! ) : OrderCancel
orderCapture ( amount : Decimal ! , id : ID ! ) : OrderCapture
2019-10-09 06:56:46 +00:00
orderClearPrivateMeta ( id : ID ! , input : MetaPath ! ) : OrderClearPrivateMeta
orderClearMeta ( id : ID ! , input : MetaPath ! ) : OrderClearMeta
2019-08-12 13:07:51 +00:00
orderFulfillmentCancel ( id : ID ! , input : FulfillmentCancelInput ! ) : FulfillmentCancel
orderFulfillmentCreate ( input : FulfillmentCreateInput ! , order : ID ) : FulfillmentCreate
orderFulfillmentUpdateTracking ( id : ID ! , input : FulfillmentUpdateTrackingInput ! ) : FulfillmentUpdateTracking
orderMarkAsPaid ( id : ID ! ) : OrderMarkAsPaid
orderRefund ( amount : Decimal ! , id : ID ! ) : OrderRefund
orderUpdate ( id : ID ! , input : OrderUpdateInput ! ) : OrderUpdate
2019-10-09 06:56:46 +00:00
orderUpdateMeta ( id : ID ! , input : MetaInput ! ) : OrderUpdateMeta
orderUpdatePrivateMeta ( id : ID ! , input : MetaInput ! ) : OrderUpdatePrivateMeta
2019-08-12 13:07:51 +00:00
orderUpdateShipping ( order : ID ! , input : OrderUpdateShippingInput ) : OrderUpdateShipping
orderVoid ( id : ID ! ) : OrderVoid
orderBulkCancel ( ids : [ ID ] ! , restock : Boolean ! ) : OrderBulkCancel
assignNavigation ( menu : ID , navigationType : NavigationType ! ) : AssignNavigation
menuCreate ( input : MenuCreateInput ! ) : MenuCreate
menuDelete ( id : ID ! ) : MenuDelete
menuBulkDelete ( ids : [ ID ] ! ) : MenuBulkDelete
menuUpdate ( id : ID ! , input : MenuInput ! ) : MenuUpdate
menuItemCreate ( input : MenuItemCreateInput ! ) : MenuItemCreate
menuItemDelete ( id : ID ! ) : MenuItemDelete
menuItemBulkDelete ( ids : [ ID ] ! ) : MenuItemBulkDelete
menuItemUpdate ( id : ID ! , input : MenuItemInput ! ) : MenuItemUpdate
menuItemTranslate ( id : ID ! , input : NameTranslationInput ! , languageCode : LanguageCodeEnum ! ) : MenuItemTranslate
menuItemMove ( menu : ID ! , moves : [ MenuItemMoveInput ] ! ) : MenuItemMove
giftCardActivate ( id : ID ! ) : GiftCardActivate
giftCardCreate ( input : GiftCardCreateInput ! ) : GiftCardCreate
giftCardDeactivate ( id : ID ! ) : GiftCardDeactivate
giftCardUpdate ( id : ID ! , input : GiftCardUpdateInput ! ) : GiftCardUpdate
2019-08-28 14:53:57 +00:00
pluginUpdate ( id : ID ! , input : PluginUpdateInput ! ) : PluginUpdate
2019-08-12 13:07:51 +00:00
saleCreate ( input : SaleInput ! ) : SaleCreate
saleDelete ( id : ID ! ) : SaleDelete
saleBulkDelete ( ids : [ ID ] ! ) : SaleBulkDelete
saleUpdate ( id : ID ! , input : SaleInput ! ) : SaleUpdate
saleCataloguesAdd ( id : ID ! , input : CatalogueInput ! ) : SaleAddCatalogues
saleCataloguesRemove ( id : ID ! , input : CatalogueInput ! ) : SaleRemoveCatalogues
saleTranslate ( id : ID ! , input : NameTranslationInput ! , languageCode : LanguageCodeEnum ! ) : SaleTranslate
voucherCreate ( input : VoucherInput ! ) : VoucherCreate
voucherDelete ( id : ID ! ) : VoucherDelete
voucherBulkDelete ( ids : [ ID ] ! ) : VoucherBulkDelete
voucherUpdate ( id : ID ! , input : VoucherInput ! ) : VoucherUpdate
voucherCataloguesAdd ( id : ID ! , input : CatalogueInput ! ) : VoucherAddCatalogues
voucherCataloguesRemove ( id : ID ! , input : CatalogueInput ! ) : VoucherRemoveCatalogues
voucherTranslate ( id : ID ! , input : NameTranslationInput ! , languageCode : LanguageCodeEnum ! ) : VoucherTranslate
tokenCreate ( email : String ! , password : String ! ) : CreateToken
tokenRefresh ( token : String ! ) : Refresh
tokenVerify ( token : String ! ) : VerifyToken
checkoutAddPromoCode ( checkoutId : ID ! , promoCode : String ! ) : CheckoutAddPromoCode
checkoutBillingAddressUpdate ( billingAddress : AddressInput ! , checkoutId : ID ! ) : CheckoutBillingAddressUpdate
checkoutComplete ( checkoutId : ID ! , storeSource : Boolean = false ) : CheckoutComplete
checkoutCreate ( input : CheckoutCreateInput ! ) : CheckoutCreate
checkoutCustomerAttach ( checkoutId : ID ! , customerId : ID ! ) : CheckoutCustomerAttach
checkoutCustomerDetach ( checkoutId : ID ! ) : CheckoutCustomerDetach
checkoutEmailUpdate ( checkoutId : ID , email : String ! ) : CheckoutEmailUpdate
checkoutLineDelete ( checkoutId : ID ! , lineId : ID ) : CheckoutLineDelete
checkoutLinesAdd ( checkoutId : ID ! , lines : [ CheckoutLineInput ] ! ) : CheckoutLinesAdd
checkoutLinesUpdate ( checkoutId : ID ! , lines : [ CheckoutLineInput ] ! ) : CheckoutLinesUpdate
checkoutRemovePromoCode ( checkoutId : ID ! , promoCode : String ! ) : CheckoutRemovePromoCode
checkoutPaymentCreate ( checkoutId : ID ! , input : PaymentInput ! ) : CheckoutPaymentCreate
checkoutShippingAddressUpdate ( checkoutId : ID ! , shippingAddress : AddressInput ! ) : CheckoutShippingAddressUpdate
checkoutShippingMethodUpdate ( checkoutId : ID , shippingMethodId : ID ! ) : CheckoutShippingMethodUpdate
checkoutUpdateVoucher ( checkoutId : ID ! , voucherCode : String ) : CheckoutUpdateVoucher
checkoutUpdateMetadata ( id : ID ! , input : MetaInput ! ) : CheckoutUpdateMeta
2019-10-09 06:56:46 +00:00
checkoutClearMetadata ( id : ID ! , input : MetaPath ! ) : CheckoutClearMeta
2019-08-12 13:07:51 +00:00
checkoutUpdatePrivateMetadata ( id : ID ! , input : MetaInput ! ) : CheckoutUpdatePrivateMeta
2019-10-09 06:56:46 +00:00
checkoutClearPrivateMetadata ( id : ID ! , input : MetaPath ! ) : CheckoutClearPrivateMeta
2019-08-28 14:53:57 +00:00
requestPasswordReset ( email : String ! , redirectUrl : String ! ) : RequestPasswordReset
setPassword ( token : String ! , email : String ! , password : String ! ) : SetPassword
passwordChange ( newPassword : String ! , oldPassword : String ! ) : PasswordChange
2019-08-12 13:07:51 +00:00
userUpdateMetadata ( id : ID ! , input : MetaInput ! ) : UserUpdateMeta
2019-10-09 06:56:46 +00:00
userClearMetadata ( id : ID ! , input : MetaPath ! ) : UserClearMeta
2019-08-12 13:07:51 +00:00
accountAddressCreate ( input : AddressInput ! , type : AddressTypeEnum ) : AccountAddressCreate
accountAddressUpdate ( id : ID ! , input : AddressInput ! ) : AccountAddressUpdate
accountAddressDelete ( id : ID ! ) : AccountAddressDelete
accountSetDefaultAddress ( id : ID ! , type : AddressTypeEnum ! ) : AccountSetDefaultAddress
accountRegister ( input : AccountRegisterInput ! ) : AccountRegister
accountUpdate ( input : AccountInput ! ) : AccountUpdate
2019-08-28 14:53:57 +00:00
accountRequestDeletion ( redirectUrl : String ! ) : AccountRequestDeletion
2019-08-12 13:07:51 +00:00
accountDelete ( token : String ! ) : AccountDelete
customerPasswordReset ( input : CustomerPasswordResetInput ! ) : CustomerPasswordReset
customerAddressCreate ( input : AddressInput ! , type : AddressTypeEnum ) : CustomerAddressCreate
customerSetDefaultAddress ( id : ID ! , type : AddressTypeEnum ! ) : CustomerSetDefaultAddress
customerRegister ( input : CustomerRegisterInput ! ) : CustomerRegister
loggedUserUpdate ( input : UserAddressInput ! ) : LoggedUserUpdate
addressCreate ( input : AddressInput ! , userId : ID ! ) : AddressCreate
addressUpdate ( id : ID ! , input : AddressInput ! ) : AddressUpdate
addressDelete ( id : ID ! ) : AddressDelete
addressSetDefault ( addressId : ID ! , type : AddressTypeEnum ! , userId : ID ! ) : AddressSetDefault
customerCreate ( input : UserCreateInput ! ) : CustomerCreate
customerUpdate ( id : ID ! , input : CustomerInput ! ) : CustomerUpdate
customerDelete ( id : ID ! ) : CustomerDelete
customerBulkDelete ( ids : [ ID ] ! ) : CustomerBulkDelete
staffCreate ( input : StaffCreateInput ! ) : StaffCreate
staffUpdate ( id : ID ! , input : StaffInput ! ) : StaffUpdate
staffDelete ( id : ID ! ) : StaffDelete
staffBulkDelete ( ids : [ ID ] ! ) : StaffBulkDelete
userAvatarUpdate ( image : Upload ! ) : UserAvatarUpdate
userAvatarDelete : UserAvatarDelete
userBulkSetActive ( ids : [ ID ] ! , isActive : Boolean ! ) : UserBulkSetActive
userUpdatePrivateMetadata ( id : ID ! , input : MetaInput ! ) : UserUpdatePrivateMeta
2019-10-09 06:56:46 +00:00
userClearPrivateMetadata ( id : ID ! , input : MetaPath ! ) : UserClearPrivateMeta
2019-09-10 11:28:18 +00:00
serviceAccountCreate ( input : ServiceAccountInput ! ) : ServiceAccountCreate
serviceAccountUpdate ( id : ID ! , input : ServiceAccountInput ! ) : ServiceAccountUpdate
serviceAccountDelete ( id : ID ! ) : ServiceAccountDelete
serviceAccountUpdatePrivateMetadata ( id : ID ! , input : MetaInput ! ) : ServiceAccountUpdatePrivateMeta
2019-10-09 06:56:46 +00:00
serviceAccountClearPrivateMetadata ( id : ID ! , input : MetaPath ! ) : ServiceAccountClearPrivateMeta
2019-09-26 15:06:14 +00:00
serviceAccountTokenCreate ( input : ServiceAccountTokenInput ! ) : ServiceAccountTokenCreate
serviceAccountTokenDelete ( id : ID ! ) : ServiceAccountTokenDelete
2019-08-12 13:07:51 +00:00
passwordReset ( email : String ! ) : PasswordReset
}
input NameTranslationInput {
name : String
}
type Navigation {
main : Menu
secondary : Menu
}
enum NavigationType {
MAIN
SECONDARY
}
interface Node {
id : ID !
}
type Order implements Node {
id : ID !
created : DateTime !
status : OrderStatus !
user : User
languageCode : String !
trackingClientId : String !
billingAddress : Address
shippingAddress : Address
shippingMethod : ShippingMethod
shippingMethodName : String
2019-08-28 14:53:57 +00:00
shippingPrice : TaxedMoney
2019-08-12 13:07:51 +00:00
token : String !
voucher : Voucher
giftCards : [ GiftCard ]
2019-08-28 14:53:57 +00:00
discount : Money
2019-08-12 13:07:51 +00:00
discountName : String !
translatedDiscountName : String !
displayGrossPrices : Boolean !
customerNote : String !
weight : Weight
2019-10-09 06:56:46 +00:00
privateMeta : [ MetaStore ] !
meta : [ MetaStore ] !
2019-08-12 13:07:51 +00:00
fulfillments : [ Fulfillment ] !
lines : [ OrderLine ] !
actions : [ OrderAction ] !
availableShippingMethods : [ ShippingMethod ]
number : String
isPaid : Boolean
paymentStatus : PaymentChargeStatusEnum
paymentStatusDisplay : String
payments : [ Payment ]
total : TaxedMoney
subtotal : TaxedMoney
statusDisplay : String
canFinalize : Boolean !
totalAuthorized : Money
totalCaptured : Money
events : [ OrderEvent ]
totalBalance : Money !
userEmail : String
isShippingRequired : Boolean !
2019-09-02 14:02:00 +00:00
discountAmount : Money ! @deprecated ( reason : "DEPRECATED: Will be removed in Saleor 2.10, use discount instead." )
2019-08-12 13:07:51 +00:00
}
enum OrderAction {
CAPTURE
MARK_AS_PAID
REFUND
VOID
}
type OrderAddNote {
errors : [ Error ! ]
order : Order
event : OrderEvent
2019-09-26 10:14:07 +00:00
orderErrors : [ OrderError ! ]
2019-08-12 13:07:51 +00:00
}
input OrderAddNoteInput {
message : String
}
type OrderBulkCancel {
errors : [ Error ! ]
count : Int !
2019-09-26 10:14:07 +00:00
orderErrors : [ OrderError ! ]
2019-08-12 13:07:51 +00:00
}
type OrderCancel {
errors : [ Error ! ]
order : Order
2019-09-26 10:14:07 +00:00
orderErrors : [ OrderError ! ]
2019-08-12 13:07:51 +00:00
}
type OrderCapture {
errors : [ Error ! ]
order : Order
2019-09-26 10:14:07 +00:00
orderErrors : [ OrderError ! ]
2019-08-12 13:07:51 +00:00
}
2019-10-09 06:56:46 +00:00
type OrderClearMeta {
errors : [ Error ! ]
order : Order
}
type OrderClearPrivateMeta {
errors : [ Error ! ]
order : Order
}
2019-08-12 13:07:51 +00:00
type OrderCountableConnection {
pageInfo : PageInfo !
edges : [ OrderCountableEdge ! ] !
totalCount : Int
}
type OrderCountableEdge {
node : Order !
cursor : String !
}
enum OrderDirection {
ASC
DESC
}
input OrderDraftFilterInput {
customer : String
created : DateRangeInput
2019-09-10 11:28:18 +00:00
search : String
2019-08-12 13:07:51 +00:00
}
2019-09-26 10:14:07 +00:00
type OrderError {
field : String
message : String
code : OrderErrorCode
}
enum OrderErrorCode {
CANNOT_CANCEL_FULFILLMENT
CANNOT_CANCEL_ORDER
CANNOT_DELETE
CANNOT_REFUND
CAPTURE_INACTIVE_PAYMENT
NOT_EDITABLE
FULFILL_ORDER_LINE
GRAPHQL_ERROR
INVALID
NOT_FOUND
ORDER_NO_SHIPPING_ADDRESS
PAYMENT_ERROR
PAYMENT_MISSING
REQUIRED
SHIPPING_METHOD_NOT_APPLICABLE
SHIPPING_METHOD_REQUIRED
UNIQUE
VOID_INACTIVE_PAYMENT
ZERO_QUANTITY
}
2019-08-12 13:07:51 +00:00
type OrderEvent implements Node {
id : ID !
date : DateTime
type : OrderEventsEnum
user ( id : ID ) : User
message : String
email : String
emailType : OrderEventsEmailsEnum
amount : Float
paymentId : String
paymentGateway : String
quantity : Int
composedId : String
orderNumber : String
oversoldItems : [ String ]
lines : [ OrderEventOrderLineObject ]
fulfilledItems : [ FulfillmentLine ]
}
type OrderEventCountableConnection {
pageInfo : PageInfo !
edges : [ OrderEventCountableEdge ! ] !
totalCount : Int
}
type OrderEventCountableEdge {
node : OrderEvent !
cursor : String !
}
type OrderEventOrderLineObject {
quantity : Int
orderLine : OrderLine
itemName : String
}
enum OrderEventsEmailsEnum {
PAYMENT_CONFIRMATION
SHIPPING_CONFIRMATION
TRACKING_UPDATED
ORDER_CONFIRMATION
FULFILLMENT_CONFIRMATION
DIGITAL_LINKS
}
enum OrderEventsEnum {
DRAFT_CREATED
DRAFT_ADDED_PRODUCTS
DRAFT_REMOVED_PRODUCTS
PLACED
PLACED_FROM_DRAFT
OVERSOLD_ITEMS
CANCELED
ORDER_MARKED_AS_PAID
ORDER_FULLY_PAID
UPDATED_ADDRESS
EMAIL_SENT
PAYMENT_CAPTURED
PAYMENT_REFUNDED
PAYMENT_VOIDED
PAYMENT_FAILED
FULFILLMENT_CANCELED
FULFILLMENT_RESTOCKED_ITEMS
FULFILLMENT_FULFILLED_ITEMS
TRACKING_UPDATED
NOTE_ADDED
OTHER
}
input OrderFilterInput {
paymentStatus : [ PaymentChargeStatusEnum ]
status : [ OrderStatusFilter ]
customer : String
created : DateRangeInput
2019-09-10 11:28:18 +00:00
search : String
2019-08-12 13:07:51 +00:00
}
type OrderLine implements Node {
id : ID !
productName : String !
2019-09-10 11:28:18 +00:00
variantName : String !
2019-08-12 13:07:51 +00:00
productSku : String !
isShippingRequired : Boolean !
quantity : Int !
quantityFulfilled : Int !
taxRate : Float !
digitalContentUrl : DigitalContentUrl
thumbnail ( size : Int ) : Image
unitPrice : TaxedMoney
variant : ProductVariant
2019-09-10 11:28:18 +00:00
translatedProductName : String !
translatedVariantName : String !
2019-08-12 13:07:51 +00:00
}
input OrderLineCreateInput {
quantity : Int !
variantId : ID !
}
input OrderLineInput {
quantity : Int !
}
type OrderMarkAsPaid {
errors : [ Error ! ]
order : Order
2019-09-26 10:14:07 +00:00
orderErrors : [ OrderError ! ]
2019-08-12 13:07:51 +00:00
}
type OrderRefund {
errors : [ Error ! ]
order : Order
2019-09-26 10:14:07 +00:00
orderErrors : [ OrderError ! ]
2019-08-12 13:07:51 +00:00
}
enum OrderStatus {
DRAFT
UNFULFILLED
PARTIALLY_FULFILLED
FULFILLED
CANCELED
}
enum OrderStatusFilter {
READY_TO_FULFILL
READY_TO_CAPTURE
UNFULFILLED
PARTIALLY_FULFILLED
FULFILLED
CANCELED
}
type OrderUpdate {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
orderErrors : [ OrderError ! ]
2019-08-12 13:07:51 +00:00
order : Order
}
input OrderUpdateInput {
billingAddress : AddressInput
userEmail : String
shippingAddress : AddressInput
}
2019-10-09 06:56:46 +00:00
type OrderUpdateMeta {
errors : [ Error ! ]
order : Order
}
type OrderUpdatePrivateMeta {
errors : [ Error ! ]
order : Order
}
2019-08-12 13:07:51 +00:00
type OrderUpdateShipping {
errors : [ Error ! ]
order : Order
2019-09-26 10:14:07 +00:00
orderErrors : [ OrderError ! ]
2019-08-12 13:07:51 +00:00
}
input OrderUpdateShippingInput {
shippingMethod : ID
}
type OrderVoid {
errors : [ Error ! ]
order : Order
2019-09-26 10:14:07 +00:00
orderErrors : [ OrderError ! ]
2019-08-12 13:07:51 +00:00
}
type Page implements Node {
publicationDate : Date
isPublished : Boolean !
seoTitle : String
seoDescription : String
id : ID !
slug : String !
title : String !
content : String !
contentJson : JSONString !
created : DateTime !
translation ( languageCode : LanguageCodeEnum ! ) : PageTranslation
}
type PageBulkDelete {
errors : [ Error ! ]
count : Int !
}
type PageBulkPublish {
errors : [ Error ! ]
count : Int !
}
type PageCountableConnection {
pageInfo : PageInfo !
edges : [ PageCountableEdge ! ] !
totalCount : Int
}
type PageCountableEdge {
node : Page !
cursor : String !
}
type PageCreate {
errors : [ Error ! ]
page : Page
}
type PageDelete {
errors : [ Error ! ]
page : Page
}
2019-09-10 11:28:18 +00:00
input PageFilterInput {
search : String
}
2019-08-12 13:07:51 +00:00
type PageInfo {
hasNextPage : Boolean !
hasPreviousPage : Boolean !
startCursor : String
endCursor : String
}
input PageInput {
slug : String
title : String
content : String
contentJson : JSONString
isPublished : Boolean
publicationDate : String
seo : SeoInput
}
type PageTranslate {
errors : [ Error ! ]
page : Page
}
type PageTranslation implements Node {
seoTitle : String
seoDescription : String
id : ID !
title : String !
content : String !
contentJson : JSONString !
language : LanguageDisplay !
}
input PageTranslationInput {
seoTitle : String
seoDescription : String
title : String
content : String
contentJson : JSONString
}
type PageUpdate {
errors : [ Error ! ]
page : Page
}
2019-08-28 14:53:57 +00:00
type PasswordChange {
errors : [ Error ! ]
user : User
2019-09-26 10:14:07 +00:00
accountErrors : [ AccountError ! ]
2019-08-28 14:53:57 +00:00
}
2019-08-12 13:07:51 +00:00
type PasswordReset {
errors : [ Error ! ]
}
type Payment implements Node {
id : ID !
gateway : String !
isActive : Boolean !
created : DateTime !
modified : DateTime !
token : String !
checkout : Checkout
order : Order
billingEmail : String !
customerIpAddress : String
extraData : String !
chargeStatus : PaymentChargeStatusEnum !
actions : [ OrderAction ] !
total : Money
capturedAmount : Money
billingAddress : Address
transactions : [ Transaction ]
availableCaptureAmount : Money
availableRefundAmount : Money
creditCard : CreditCard
}
type PaymentCapture {
errors : [ Error ! ]
payment : Payment
2019-09-26 10:14:07 +00:00
paymentErrors : [ PaymentError ! ]
2019-08-12 13:07:51 +00:00
}
enum PaymentChargeStatusEnum {
NOT_CHARGED
PARTIALLY_CHARGED
FULLY_CHARGED
PARTIALLY_REFUNDED
FULLY_REFUNDED
}
type PaymentCountableConnection {
pageInfo : PageInfo !
edges : [ PaymentCountableEdge ! ] !
totalCount : Int
}
type PaymentCountableEdge {
node : Payment !
cursor : String !
}
2019-09-26 10:14:07 +00:00
type PaymentError {
field : String
message : String
code : PaymentErrorCode
}
enum PaymentErrorCode {
BILLING_ADDRESS_NOT_SET
GRAPHQL_ERROR
INVALID
NOT_FOUND
PARTIAL_PAYMENT_NOT_ALLOWED
PAYMENT_ERROR
REQUIRED
UNIQUE
}
2019-10-09 06:56:46 +00:00
type PaymentGateway {
name : String !
config : [ GatewayConfigLine ! ] !
}
2019-08-12 13:07:51 +00:00
input PaymentInput {
2019-09-26 15:06:14 +00:00
gateway : String !
2019-08-12 13:07:51 +00:00
token : String !
amount : Decimal
billingAddress : AddressInput
}
type PaymentRefund {
errors : [ Error ! ]
payment : Payment
2019-09-26 10:14:07 +00:00
paymentErrors : [ PaymentError ! ]
2019-08-12 13:07:51 +00:00
}
2019-08-28 14:53:57 +00:00
type PaymentSecureConfirm {
errors : [ Error ! ]
payment : Payment
2019-09-26 10:14:07 +00:00
paymentErrors : [ PaymentError ! ]
2019-08-28 14:53:57 +00:00
}
2019-08-12 13:07:51 +00:00
type PaymentSource {
gateway : String !
creditCardInfo : CreditCard
}
type PaymentVoid {
errors : [ Error ! ]
payment : Payment
2019-09-26 10:14:07 +00:00
paymentErrors : [ PaymentError ! ]
2019-08-12 13:07:51 +00:00
}
type PermissionDisplay {
code : PermissionEnum !
name : String !
}
enum PermissionEnum {
MANAGE_USERS
MANAGE_STAFF
2019-09-10 11:28:18 +00:00
MANAGE_SERVICE_ACCOUNTS
2019-08-12 13:07:51 +00:00
IMPERSONATE_USERS
MANAGE_DISCOUNTS
MANAGE_GIFT_CARD
MANAGE_PLUGINS
MANAGE_MENUS
MANAGE_ORDERS
MANAGE_PAGES
MANAGE_PRODUCTS
MANAGE_SHIPPING
MANAGE_SETTINGS
MANAGE_TRANSLATIONS
2019-09-26 15:06:14 +00:00
MANAGE_WEBHOOKS
2019-08-12 13:07:51 +00:00
}
2019-08-28 14:53:57 +00:00
type Plugin implements Node {
2019-08-12 13:07:51 +00:00
name : String !
description : String !
active : Boolean !
configuration : [ ConfigurationItem ]
id : ID !
}
2019-08-28 14:53:57 +00:00
type PluginCountableConnection {
2019-08-12 13:07:51 +00:00
pageInfo : PageInfo !
2019-08-28 14:53:57 +00:00
edges : [ PluginCountableEdge ! ] !
2019-08-12 13:07:51 +00:00
totalCount : Int
}
2019-08-28 14:53:57 +00:00
type PluginCountableEdge {
node : Plugin !
2019-08-12 13:07:51 +00:00
cursor : String !
}
2019-09-10 11:28:18 +00:00
input PluginFilterInput {
active : Boolean
search : String
}
2019-08-28 14:53:57 +00:00
type PluginUpdate {
2019-08-12 13:07:51 +00:00
errors : [ Error ! ]
2019-08-28 14:53:57 +00:00
plugin : Plugin
2019-09-26 10:14:07 +00:00
extensionsErrors : [ ExtensionsError ! ]
2019-08-12 13:07:51 +00:00
}
2019-08-28 14:53:57 +00:00
input PluginUpdateInput {
2019-08-12 13:07:51 +00:00
active : Boolean
configuration : [ ConfigurationItemInput ]
}
input PriceRangeInput {
gte : Float
lte : Float
}
type Product implements Node {
id : ID !
publicationDate : Date
isPublished : Boolean !
seoTitle : String
seoDescription : String
productType : ProductType !
name : String !
description : String !
descriptionJson : JSONString !
category : Category !
updatedAt : DateTime
chargeTaxes : Boolean !
weight : Weight
privateMeta : [ MetaStore ] !
meta : [ MetaStore ] !
url : String !
thumbnail ( size : Int ) : Image
2019-10-09 06:56:46 +00:00
availability : ProductPricingInfo @deprecated ( reason : "DEPRECATED: Will be removed in Saleor 2.10, Has been renamed to `pricing`." )
2019-08-12 13:07:51 +00:00
pricing : ProductPricingInfo
isAvailable : Boolean
basePrice : Money
2019-10-09 06:56:46 +00:00
price : Money @deprecated ( reason : "DEPRECATED: Will be removed in Saleor 2.10, has been replaced by `basePrice`" )
2019-08-28 14:53:57 +00:00
minimalVariantPrice : Money
2019-08-12 13:07:51 +00:00
taxType : TaxType
attributes : [ SelectedAttribute ! ] !
purchaseCost : MoneyRange
margin : Margin
imageById ( id : ID ) : ProductImage
variants : [ ProductVariant ]
images : [ ProductImage ]
collections : [ Collection ]
translation ( languageCode : LanguageCodeEnum ! ) : ProductTranslation
slug : String !
}
type ProductBulkDelete {
errors : [ Error ! ]
count : Int !
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
}
type ProductBulkPublish {
errors : [ Error ! ]
count : Int !
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
}
type ProductClearMeta {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
product : Product
}
type ProductClearPrivateMeta {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
product : Product
}
type ProductCountableConnection {
pageInfo : PageInfo !
edges : [ ProductCountableEdge ! ] !
totalCount : Int
}
type ProductCountableEdge {
node : Product !
cursor : String !
}
type ProductCreate {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
product : Product
}
input ProductCreateInput {
attributes : [ AttributeValueInput ]
publicationDate : Date
category : ID
chargeTaxes : Boolean
collections : [ ID ]
description : String
descriptionJson : JSONString
isPublished : Boolean
name : String
basePrice : Decimal
taxCode : String
seo : SeoInput
weight : WeightScalar
sku : String
quantity : Int
trackInventory : Boolean
productType : ID !
}
type ProductDelete {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
product : Product
}
2019-09-26 10:14:07 +00:00
type ProductError {
field : String
message : String
code : ProductErrorCode
}
enum ProductErrorCode {
ALREADY_EXISTS
ATTRIBUTE_ALREADY_ASSIGNED
ATTRIBUTE_CANNOT_BE_ASSIGNED
ATTRIBUTE_VARIANTS_DISABLED
GRAPHQL_ERROR
INVALID
NOT_PRODUCTS_IMAGE
NOT_FOUND
REQUIRED
UNIQUE
VARIANT_NO_DIGITAL_CONTENT
}
2019-08-12 13:07:51 +00:00
input ProductFilterInput {
isPublished : Boolean
collections : [ ID ]
categories : [ ID ]
price : PriceRangeInput
attributes : [ AttributeInput ]
stockAvailability : StockAvailability
productType : ID
search : String
2019-08-28 14:53:57 +00:00
minimalPrice : PriceRangeInput
2019-08-12 13:07:51 +00:00
}
type ProductImage implements Node {
sortOrder : Int
id : ID !
alt : String !
url ( size : Int ) : String !
}
type ProductImageBulkDelete {
errors : [ Error ! ]
count : Int !
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
}
type ProductImageCreate {
errors : [ Error ! ]
product : Product
image : ProductImage
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
}
input ProductImageCreateInput {
alt : String
image : Upload !
product : ID !
}
type ProductImageDelete {
errors : [ Error ! ]
product : Product
image : ProductImage
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
}
type ProductImageReorder {
errors : [ Error ! ]
product : Product
images : [ ProductImage ]
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
}
type ProductImageUpdate {
errors : [ Error ! ]
product : Product
image : ProductImage
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
}
input ProductImageUpdateInput {
alt : String
}
input ProductInput {
attributes : [ AttributeValueInput ]
publicationDate : Date
category : ID
chargeTaxes : Boolean
collections : [ ID ]
description : String
descriptionJson : JSONString
isPublished : Boolean
name : String
basePrice : Decimal
taxCode : String
seo : SeoInput
weight : WeightScalar
sku : String
quantity : Int
trackInventory : Boolean
}
input ProductOrder {
2019-09-26 10:14:07 +00:00
field : ProductOrderField
attributeId : ID
2019-08-12 13:07:51 +00:00
direction : OrderDirection !
}
enum ProductOrderField {
NAME
PRICE
2019-08-28 14:53:57 +00:00
MINIMAL_PRICE
2019-08-12 13:07:51 +00:00
DATE
2019-09-10 11:28:18 +00:00
TYPE
PUBLISHED
2019-08-12 13:07:51 +00:00
}
type ProductPricingInfo {
2019-09-02 14:02:00 +00:00
available : Boolean @deprecated ( reason : "DEPRECATED: Will be removed in Saleor 2.10, this has been moved to the parent type as 'isAvailable'." )
2019-08-12 13:07:51 +00:00
on Sale : Boolean
discount : TaxedMoney
discountLocalCurrency : TaxedMoney
priceRange : TaxedMoneyRange
priceRangeUndiscounted : TaxedMoneyRange
priceRangeLocalCurrency : TaxedMoneyRange
}
type ProductTranslate {
errors : [ Error ! ]
product : Product
}
type ProductTranslation implements Node {
id : ID !
seoTitle : String
seoDescription : String
name : String !
description : String !
descriptionJson : JSONString !
language : LanguageDisplay !
}
type ProductType implements Node {
id : ID !
name : String !
hasVariants : Boolean !
isShippingRequired : Boolean !
isDigital : Boolean !
weight : Weight
privateMeta : [ MetaStore ] !
meta : [ MetaStore ] !
products ( before : String , after : String , first : Int , last : Int ) : ProductCountableConnection
taxRate : TaxRateType
taxType : TaxType
variantAttributes : [ Attribute ]
productAttributes : [ Attribute ]
availableAttributes ( filter : AttributeFilterInput , before : String , after : String , first : Int , last : Int ) : AttributeCountableConnection
}
type ProductTypeBulkDelete {
errors : [ Error ! ]
count : Int !
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
}
type ProductTypeClearMeta {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
productType : ProductType
}
type ProductTypeClearPrivateMeta {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
productType : ProductType
}
enum ProductTypeConfigurable {
CONFIGURABLE
SIMPLE
}
type ProductTypeCountableConnection {
pageInfo : PageInfo !
edges : [ ProductTypeCountableEdge ! ] !
totalCount : Int
}
type ProductTypeCountableEdge {
node : ProductType !
cursor : String !
}
type ProductTypeCreate {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
productType : ProductType
}
type ProductTypeDelete {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
productType : ProductType
}
enum ProductTypeEnum {
DIGITAL
SHIPPABLE
}
input ProductTypeFilterInput {
2019-08-28 14:53:57 +00:00
search : String
2019-08-12 13:07:51 +00:00
configurable : ProductTypeConfigurable
productType : ProductTypeEnum
}
input ProductTypeInput {
name : String
hasVariants : Boolean
productAttributes : [ ID ]
variantAttributes : [ ID ]
isShippingRequired : Boolean
isDigital : Boolean
weight : WeightScalar
taxCode : String
}
type ProductTypeReorderAttributes {
errors : [ Error ! ]
productType : ProductType
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
}
type ProductTypeUpdate {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
productType : ProductType
}
type ProductTypeUpdateMeta {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
productType : ProductType
}
type ProductTypeUpdatePrivateMeta {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
productType : ProductType
}
type ProductUpdate {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
product : Product
}
type ProductUpdateMeta {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
product : Product
}
type ProductUpdatePrivateMeta {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
product : Product
}
type ProductVariant implements Node {
id : ID !
sku : String !
name : String !
product : Product !
trackInventory : Boolean !
quantityAllocated : Int !
weight : Weight
privateMeta : [ MetaStore ] !
meta : [ MetaStore ] !
2019-10-10 11:40:31 +00:00
quantity : Int !
2019-08-12 13:07:51 +00:00
stockQuantity : Int !
priceOverride : Money
2019-09-02 14:02:00 +00:00
price : Money @deprecated ( reason : "DEPRECATED: Will be removed in Saleor 2.10, has been replaced by 'pricing.priceUndiscounted'" )
2019-10-09 06:56:46 +00:00
availability : VariantPricingInfo @deprecated ( reason : "DEPRECATED: Will be removed in Saleor 2.10, has been renamed to `pricing`." )
2019-08-12 13:07:51 +00:00
pricing : VariantPricingInfo
isAvailable : Boolean
attributes : [ SelectedAttribute ! ] !
costPrice : Money
margin : Int
quantityOrdered : Int
revenue ( period : ReportingPeriod ) : TaxedMoney
images : [ ProductImage ]
translation ( languageCode : LanguageCodeEnum ! ) : ProductVariantTranslation
digitalContent : DigitalContent
}
2019-09-26 15:06:14 +00:00
type ProductVariantBulkCreate {
errors : [ Error ! ]
count : Int !
productVariants : [ ProductVariant ! ] !
bulkProductErrors : [ BulkProductError ! ]
}
input ProductVariantBulkCreateInput {
attributes : [ AttributeValueInput ] !
costPrice : Decimal
priceOverride : Decimal
sku : String !
quantity : Int
trackInventory : Boolean
weight : WeightScalar
}
2019-08-12 13:07:51 +00:00
type ProductVariantBulkDelete {
errors : [ Error ! ]
count : Int !
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
}
type ProductVariantClearMeta {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
productVariant : ProductVariant
}
type ProductVariantClearPrivateMeta {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
productVariant : ProductVariant
}
type ProductVariantCountableConnection {
pageInfo : PageInfo !
edges : [ ProductVariantCountableEdge ! ] !
totalCount : Int
}
type ProductVariantCountableEdge {
node : ProductVariant !
cursor : String !
}
type ProductVariantCreate {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
productVariant : ProductVariant
}
input ProductVariantCreateInput {
attributes : [ AttributeValueInput ] !
costPrice : Decimal
priceOverride : Decimal
sku : String
quantity : Int
trackInventory : Boolean
weight : WeightScalar
product : ID !
}
type ProductVariantDelete {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
productVariant : ProductVariant
}
input ProductVariantInput {
attributes : [ AttributeValueInput ]
costPrice : Decimal
priceOverride : Decimal
sku : String
quantity : Int
trackInventory : Boolean
weight : WeightScalar
}
type ProductVariantTranslate {
errors : [ Error ! ]
productVariant : ProductVariant
}
type ProductVariantTranslation implements Node {
id : ID !
name : String !
language : LanguageDisplay !
}
type ProductVariantUpdate {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
productVariant : ProductVariant
}
type ProductVariantUpdateMeta {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
productVariant : ProductVariant
}
type ProductVariantUpdatePrivateMeta {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
productVariant : ProductVariant
}
type Query {
2019-09-26 15:06:14 +00:00
webhook ( id : ID ! ) : Webhook
2019-10-15 10:06:19 +00:00
webhooks ( filter : WebhookFilterInput , before : String , after : String , first : Int , last : Int ) : WebhookCountableConnection
2019-08-12 13:07:51 +00:00
translations ( kind : TranslatableKinds ! , before : String , after : String , first : Int , last : Int ) : TranslatableItemConnection
shop : Shop
shippingZone ( id : ID ! ) : ShippingZone
shippingZones ( before : String , after : String , first : Int , last : Int ) : ShippingZoneCountableConnection
digitalContent ( id : ID ! ) : DigitalContent
2019-09-26 10:14:07 +00:00
digitalContents ( before : String , after : String , first : Int , last : Int ) : DigitalContentCountableConnection
2019-08-12 13:07:51 +00:00
attributes ( query : String , inCategory : ID , inCollection : ID , filter : AttributeFilterInput , sortBy : AttributeSortingInput , before : String , after : String , first : Int , last : Int ) : AttributeCountableConnection
attribute ( id : ID ! ) : Attribute
2019-09-10 11:28:18 +00:00
categories ( query : String , filter : CategoryFilterInput , level : Int , before : String , after : String , first : Int , last : Int ) : CategoryCountableConnection
2019-08-12 13:07:51 +00:00
category ( id : ID ! ) : Category
collection ( id : ID ! ) : Collection
collections ( filter : CollectionFilterInput , query : String , before : String , after : String , first : Int , last : Int ) : CollectionCountableConnection
product ( id : ID ! ) : Product
2019-09-02 14:02:00 +00:00
products ( filter : ProductFilterInput , attributes : [ AttributeScalar ] , categories : [ ID ] , collections : [ ID ] , sortBy : ProductOrder , stockAvailability : StockAvailability , query : String , before : String , after : String , first : Int , last : Int ) : ProductCountableConnection
2019-08-12 13:07:51 +00:00
productType ( id : ID ! ) : ProductType
2019-08-28 14:53:57 +00:00
productTypes ( filter : ProductTypeFilterInput , query : String , before : String , after : String , first : Int , last : Int ) : ProductTypeCountableConnection
2019-08-12 13:07:51 +00:00
productVariant ( id : ID ! ) : ProductVariant
productVariants ( ids : [ ID ] , before : String , after : String , first : Int , last : Int ) : ProductVariantCountableConnection
reportProductSales ( period : ReportingPeriod ! , before : String , after : String , first : Int , last : Int ) : ProductVariantCountableConnection
2019-09-26 10:14:07 +00:00
payment ( id : ID ! ) : Payment
2019-08-12 13:07:51 +00:00
payments ( before : String , after : String , first : Int , last : Int ) : PaymentCountableConnection
2019-10-09 06:56:46 +00:00
paymentClientToken ( gateway : String ! ) : String @deprecated ( reason : "DEPRECATED: Will be removed in Saleor 2.10, use payment gateway config instead in availablePaymentGateways." )
2019-08-12 13:07:51 +00:00
page ( id : ID , slug : String ) : Page
2019-09-10 11:28:18 +00:00
pages ( query : String , filter : PageFilterInput , before : String , after : String , first : Int , last : Int ) : PageCountableConnection
2019-08-12 13:07:51 +00:00
homepageEvents ( before : String , after : String , first : Int , last : Int ) : OrderEventCountableConnection
order ( id : ID ! ) : Order
orders ( filter : OrderFilterInput , query : String , created : ReportingPeriod , status : OrderStatusFilter , before : String , after : String , first : Int , last : Int ) : OrderCountableConnection
draftOrders ( filter : OrderDraftFilterInput , query : String , created : ReportingPeriod , before : String , after : String , first : Int , last : Int ) : OrderCountableConnection
ordersTotal ( period : ReportingPeriod ) : TaxedMoney
2019-09-26 10:14:07 +00:00
orderByToken ( token : UUID ! ) : Order
2019-08-12 13:07:51 +00:00
menu ( id : ID , name : String ) : Menu
2019-09-10 11:28:18 +00:00
menus ( query : String , filter : MenuFilterInput , before : String , after : String , first : Int , last : Int ) : MenuCountableConnection
2019-08-12 13:07:51 +00:00
menuItem ( id : ID ! ) : MenuItem
2019-09-10 11:28:18 +00:00
menuItems ( query : String , filter : MenuItemFilterInput , before : String , after : String , first : Int , last : Int ) : MenuItemCountableConnection
2019-08-12 13:07:51 +00:00
giftCard ( id : ID ! ) : GiftCard
giftCards ( before : String , after : String , first : Int , last : Int ) : GiftCardCountableConnection
2019-08-28 14:53:57 +00:00
plugin ( id : ID ! ) : Plugin
2019-09-10 11:28:18 +00:00
plugins ( filter : PluginFilterInput , before : String , after : String , first : Int , last : Int ) : PluginCountableConnection
2019-08-12 13:07:51 +00:00
sale ( id : ID ! ) : Sale
sales ( filter : SaleFilterInput , query : String , before : String , after : String , first : Int , last : Int ) : SaleCountableConnection
voucher ( id : ID ! ) : Voucher
vouchers ( filter : VoucherFilterInput , query : String , before : String , after : String , first : Int , last : Int ) : VoucherCountableConnection
taxTypes : [ TaxType ]
checkout ( token : UUID ) : Checkout
checkouts ( before : String , after : String , first : Int , last : Int ) : CheckoutCountableConnection
checkoutLine ( id : ID ) : CheckoutLine
checkoutLines ( before : String , after : String , first : Int , last : Int ) : CheckoutLineCountableConnection
2019-08-28 14:53:57 +00:00
addressValidationRules ( countryCode : CountryCode ! , countryArea : String , city : String , cityArea : String ) : AddressValidationData
2019-08-12 13:07:51 +00:00
customers ( filter : CustomerFilterInput , query : String , before : String , after : String , first : Int , last : Int ) : UserCountableConnection
me : User
staffUsers ( filter : StaffUserInput , query : String , before : String , after : String , first : Int , last : Int ) : UserCountableConnection
2019-09-10 11:28:18 +00:00
serviceAccounts ( filter : ServiceAccountFilterInput , before : String , after : String , first : Int , last : Int ) : ServiceAccountCountableConnection
serviceAccount ( id : ID ! ) : ServiceAccount
2019-08-12 13:07:51 +00:00
user ( id : ID ! ) : User
node ( id : ID ! ) : Node
}
type ReducedRate {
rate : Float !
rateType : TaxRateType !
}
type Refresh {
token : String
payload : GenericScalar
}
input ReorderInput {
id : ID !
sortOrder : Int
}
enum ReportingPeriod {
TODAY
THIS_MONTH
}
type RequestPasswordReset {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
accountErrors : [ AccountError ! ]
2019-08-12 13:07:51 +00:00
}
type Sale implements Node {
id : ID !
name : String !
type : SaleType !
value : Float !
startDate : DateTime !
endDate : DateTime
categories ( before : String , after : String , first : Int , last : Int ) : CategoryCountableConnection
collections ( before : String , after : String , first : Int , last : Int ) : CollectionCountableConnection
products ( before : String , after : String , first : Int , last : Int ) : ProductCountableConnection
translation ( languageCode : LanguageCodeEnum ! ) : SaleTranslation
}
type SaleAddCatalogues {
errors : [ Error ! ]
sale : Sale
}
type SaleBulkDelete {
errors : [ Error ! ]
count : Int !
}
type SaleCountableConnection {
pageInfo : PageInfo !
edges : [ SaleCountableEdge ! ] !
totalCount : Int
}
type SaleCountableEdge {
node : Sale !
cursor : String !
}
type SaleCreate {
errors : [ Error ! ]
sale : Sale
}
type SaleDelete {
errors : [ Error ! ]
sale : Sale
}
input SaleFilterInput {
status : [ DiscountStatusEnum ]
saleType : DiscountValueTypeEnum
started : DateTimeRangeInput
search : String
}
input SaleInput {
name : String
type : DiscountValueTypeEnum
value : Decimal
products : [ ID ]
categories : [ ID ]
collections : [ ID ]
startDate : DateTime
endDate : DateTime
}
type SaleRemoveCatalogues {
errors : [ Error ! ]
sale : Sale
}
type SaleTranslate {
errors : [ Error ! ]
sale : Sale
}
type SaleTranslation implements Node {
id : ID !
name : String
language : LanguageDisplay !
}
enum SaleType {
FIXED
PERCENTAGE
}
type SaleUpdate {
errors : [ Error ! ]
sale : Sale
}
type SelectedAttribute {
attribute : Attribute !
2019-09-02 14:02:00 +00:00
value : AttributeValue @deprecated ( reason : "DEPRECATED: Will be removed in Saleor 2.10, use values instead." )
2019-08-12 13:07:51 +00:00
values : [ AttributeValue ] !
}
input SeoInput {
title : String
description : String
}
2019-09-10 11:28:18 +00:00
type ServiceAccount implements Node {
id : ID !
created : DateTime
isActive : Boolean
2019-09-26 15:06:14 +00:00
tokens : [ ServiceAccountToken ]
2019-09-10 11:28:18 +00:00
privateMeta : [ MetaStore ] !
meta : [ MetaStore ] !
permissions : [ PermissionDisplay ]
name : String
}
2019-10-09 06:56:46 +00:00
type ServiceAccountClearPrivateMeta {
2019-09-10 11:28:18 +00:00
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
accountErrors : [ AccountError ! ]
2019-09-10 11:28:18 +00:00
serviceAccount : ServiceAccount
}
type ServiceAccountCountableConnection {
pageInfo : PageInfo !
edges : [ ServiceAccountCountableEdge ! ] !
totalCount : Int
}
type ServiceAccountCountableEdge {
node : ServiceAccount !
cursor : String !
}
type ServiceAccountCreate {
errors : [ Error ! ]
authToken : String
2019-09-26 10:14:07 +00:00
accountErrors : [ AccountError ! ]
2019-09-10 11:28:18 +00:00
serviceAccount : ServiceAccount
}
type ServiceAccountDelete {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
accountErrors : [ AccountError ! ]
2019-09-10 11:28:18 +00:00
serviceAccount : ServiceAccount
}
input ServiceAccountFilterInput {
search : String
isActive : Boolean
}
input ServiceAccountInput {
name : String
isActive : Boolean
permissions : [ PermissionEnum ]
}
2019-09-26 15:06:14 +00:00
type ServiceAccountToken implements Node {
name : String
authToken : String
id : ID !
}
type ServiceAccountTokenCreate {
errors : [ Error ! ]
authToken : String
accountErrors : [ AccountError ! ]
serviceAccountToken : ServiceAccountToken
}
type ServiceAccountTokenDelete {
errors : [ Error ! ]
accountErrors : [ AccountError ! ]
serviceAccountToken : ServiceAccountToken
}
input ServiceAccountTokenInput {
name : String
serviceAccount : ID !
}
2019-09-10 11:28:18 +00:00
type ServiceAccountUpdate {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
accountErrors : [ AccountError ! ]
2019-09-10 11:28:18 +00:00
serviceAccount : ServiceAccount
}
type ServiceAccountUpdatePrivateMeta {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
accountErrors : [ AccountError ! ]
2019-09-10 11:28:18 +00:00
serviceAccount : ServiceAccount
}
2019-08-12 13:07:51 +00:00
type SetPassword {
2019-08-28 14:53:57 +00:00
token : String
errors : [ Error ] !
2019-08-12 13:07:51 +00:00
user : User
2019-09-26 10:14:07 +00:00
accountErrors : [ AccountError ! ]
}
type ShippingError {
field : String
message : String
code : ShippingErrorCode
}
enum ShippingErrorCode {
ALREADY_EXISTS
GRAPHQL_ERROR
INVALID
MAX_LESS_THAN_MIN
NOT_FOUND
REQUIRED
UNIQUE
2019-08-12 13:07:51 +00:00
}
type ShippingMethod implements Node {
id : ID !
name : String !
price : Money
minimumOrderPrice : Money
maximumOrderPrice : Money
minimumOrderWeight : Weight
maximumOrderWeight : Weight
type : ShippingMethodTypeEnum
translation ( languageCode : LanguageCodeEnum ! ) : ShippingMethodTranslation
}
type ShippingMethodTranslation implements Node {
id : ID !
name : String
language : LanguageDisplay !
}
enum ShippingMethodTypeEnum {
PRICE
WEIGHT
}
type ShippingPriceBulkDelete {
errors : [ Error ! ]
count : Int !
2019-09-26 10:14:07 +00:00
shippingErrors : [ ShippingError ! ]
2019-08-12 13:07:51 +00:00
}
type ShippingPriceCreate {
errors : [ Error ! ]
shippingZone : ShippingZone
2019-09-26 10:14:07 +00:00
shippingErrors : [ ShippingError ! ]
2019-08-12 13:07:51 +00:00
shippingMethod : ShippingMethod
}
type ShippingPriceDelete {
errors : [ Error ! ]
shippingMethod : ShippingMethod
shippingZone : ShippingZone
2019-09-26 10:14:07 +00:00
shippingErrors : [ ShippingError ! ]
2019-08-12 13:07:51 +00:00
}
input ShippingPriceInput {
name : String
price : Decimal
minimumOrderPrice : Decimal
maximumOrderPrice : Decimal
minimumOrderWeight : WeightScalar
maximumOrderWeight : WeightScalar
type : ShippingMethodTypeEnum
shippingZone : ID
}
type ShippingPriceTranslate {
errors : [ Error ! ]
shippingMethod : ShippingMethod
}
type ShippingPriceUpdate {
errors : [ Error ! ]
shippingZone : ShippingZone
2019-09-26 10:14:07 +00:00
shippingErrors : [ ShippingError ! ]
2019-08-12 13:07:51 +00:00
shippingMethod : ShippingMethod
}
type ShippingZone implements Node {
id : ID !
name : String !
default : Boolean !
priceRange : MoneyRange
countries : [ CountryDisplay ]
shippingMethods : [ ShippingMethod ]
}
type ShippingZoneBulkDelete {
errors : [ Error ! ]
count : Int !
2019-09-26 10:14:07 +00:00
shippingErrors : [ ShippingError ! ]
2019-08-12 13:07:51 +00:00
}
type ShippingZoneCountableConnection {
pageInfo : PageInfo !
edges : [ ShippingZoneCountableEdge ! ] !
totalCount : Int
}
type ShippingZoneCountableEdge {
node : ShippingZone !
cursor : String !
}
type ShippingZoneCreate {
errors : [ Error ! ]
shippingZone : ShippingZone
2019-09-26 10:14:07 +00:00
shippingErrors : [ ShippingError ! ]
2019-08-12 13:07:51 +00:00
}
type ShippingZoneDelete {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
shippingErrors : [ ShippingError ! ]
2019-08-12 13:07:51 +00:00
shippingZone : ShippingZone
}
input ShippingZoneInput {
name : String
countries : [ String ]
default : Boolean
}
type ShippingZoneUpdate {
errors : [ Error ! ]
shippingZone : ShippingZone
2019-09-26 10:14:07 +00:00
shippingErrors : [ ShippingError ! ]
2019-08-12 13:07:51 +00:00
}
type Shop {
geolocalization : Geolocalization
authorizationKeys : [ AuthorizationKey ] !
2019-09-13 11:33:07 +00:00
countries ( languageCode : LanguageCodeEnum ) : [ CountryDisplay ] !
2019-08-12 13:07:51 +00:00
currencies : [ String ] !
defaultCurrency : String !
defaultCountry : CountryDisplay
description : String
domain : Domain !
homepageCollection : Collection
languages : [ LanguageDisplay ] !
name : String !
navigation : Navigation
permissions : [ PermissionDisplay ] !
phonePrefixes : [ String ] !
headerText : String
includeTaxesInPrices : Boolean !
displayGrossPrices : Boolean !
chargeTaxesOnShipping : Boolean !
trackInventoryByDefault : Boolean
defaultWeightUnit : WeightUnitsEnum
translation ( languageCode : LanguageCodeEnum ! ) : ShopTranslation
automaticFulfillmentDigitalProducts : Boolean
defaultDigitalMaxDownloads : Int
defaultDigitalUrlValidDays : Int
companyAddress : Address
}
type ShopAddressUpdate {
errors : [ Error ! ]
shop : Shop
2019-09-26 10:14:07 +00:00
shopErrors : [ ShopError ! ]
2019-08-12 13:07:51 +00:00
}
type ShopDomainUpdate {
errors : [ Error ! ]
shop : Shop
2019-09-26 10:14:07 +00:00
shopErrors : [ ShopError ! ]
}
type ShopError {
field : String
message : String
code : ShopErrorCode
}
enum ShopErrorCode {
ALREADY_EXISTS
CANNOT_FETCH_TAX_RATES
GRAPHQL_ERROR
INVALID
NOT_FOUND
REQUIRED
UNIQUE
2019-08-12 13:07:51 +00:00
}
type ShopFetchTaxRates {
errors : [ Error ! ]
shop : Shop
2019-09-26 10:14:07 +00:00
shopErrors : [ ShopError ! ]
2019-08-12 13:07:51 +00:00
}
input ShopSettingsInput {
headerText : String
description : String
includeTaxesInPrices : Boolean
displayGrossPrices : Boolean
chargeTaxesOnShipping : Boolean
trackInventoryByDefault : Boolean
defaultWeightUnit : WeightUnitsEnum
automaticFulfillmentDigitalProducts : Boolean
defaultDigitalMaxDownloads : Int
defaultDigitalUrlValidDays : Int
}
type ShopSettingsTranslate {
errors : [ Error ! ]
shop : Shop
}
input ShopSettingsTranslationInput {
headerText : String
description : String
}
type ShopSettingsUpdate {
errors : [ Error ! ]
shop : Shop
2019-09-26 10:14:07 +00:00
shopErrors : [ ShopError ! ]
2019-08-12 13:07:51 +00:00
}
type ShopTranslation implements Node {
id : ID !
headerText : String !
description : String !
language : LanguageDisplay !
}
input SiteDomainInput {
domain : String
name : String
}
type StaffBulkDelete {
errors : [ Error ! ]
count : Int !
2019-09-26 10:14:07 +00:00
accountErrors : [ AccountError ! ]
2019-08-12 13:07:51 +00:00
}
type StaffCreate {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
accountErrors : [ AccountError ! ]
2019-08-12 13:07:51 +00:00
user : User
}
input StaffCreateInput {
firstName : String
lastName : String
email : String
isActive : Boolean
note : String
permissions : [ PermissionEnum ]
sendPasswordEmail : Boolean
2019-09-10 11:28:18 +00:00
redirectUrl : String
2019-08-12 13:07:51 +00:00
}
type StaffDelete {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
accountErrors : [ AccountError ! ]
2019-08-12 13:07:51 +00:00
user : User
}
input StaffInput {
firstName : String
lastName : String
email : String
isActive : Boolean
note : String
permissions : [ PermissionEnum ]
}
enum StaffMemberStatus {
ACTIVE
DEACTIVATED
}
type StaffUpdate {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
accountErrors : [ AccountError ! ]
2019-08-12 13:07:51 +00:00
user : User
}
input StaffUserInput {
status : StaffMemberStatus
search : String
}
enum StockAvailability {
IN_STOCK
OUT_OF_STOCK
}
enum TaxRateType {
ACCOMMODATION
ADMISSION_TO_CULTURAL_EVENTS
ADMISSION_TO_ENTERTAINMENT_EVENTS
ADMISSION_TO_SPORTING_EVENTS
ADVERTISING
AGRICULTURAL_SUPPLIES
BABY_FOODSTUFFS
BIKES
BOOKS
CHILDRENS_CLOTHING
DOMESTIC_FUEL
DOMESTIC_SERVICES
E_BOOKS
FOODSTUFFS
HOTELS
MEDICAL
NEWSPAPERS
PASSENGER_TRANSPORT
PHARMACEUTICALS
PROPERTY_RENOVATIONS
RESTAURANTS
SOCIAL_HOUSING
STANDARD
WATER
WINE
}
type TaxType {
description : String
taxCode : String
}
type TaxedMoney {
currency : String !
gross : Money !
net : Money !
tax : Money !
}
type TaxedMoneyRange {
start : TaxedMoney
stop : TaxedMoney
}
type Transaction implements Node {
id : ID !
created : DateTime !
payment : Payment !
token : String !
kind : TransactionKind !
isSuccess : Boolean !
error : TransactionError
gatewayResponse : JSONString !
amount : Money
}
enum TransactionError {
TRANSACTIONERROR_INCORRECT_NUMBER
TRANSACTIONERROR_INVALID_NUMBER
TRANSACTIONERROR_INCORRECT_CVV
TRANSACTIONERROR_INVALID_CVV
TRANSACTIONERROR_INCORRECT_ZIP
TRANSACTIONERROR_INCORRECT_ADDRESS
TRANSACTIONERROR_INVALID_EXPIRY_DATE
TRANSACTIONERROR_EXPIRED
TRANSACTIONERROR_PROCESSING_ERROR
TRANSACTIONERROR_DECLINED
}
enum TransactionKind {
AUTH
REFUND
CAPTURE
VOID
2019-08-28 14:53:57 +00:00
CONFIRM
2019-08-12 13:07:51 +00:00
}
union TranslatableItem = Product | Category | Collection | Attribute | AttributeValue | ProductVariant | Page | ShippingMethod | Sale | Voucher | MenuItem
type TranslatableItemConnection {
pageInfo : PageInfo !
edges : [ TranslatableItemEdge ! ] !
totalCount : Int
}
type TranslatableItemEdge {
node : TranslatableItem !
cursor : String !
}
enum TranslatableKinds {
ATTRIBUTE
ATTRIBUTE_VALUE
CATEGORY
COLLECTION
MENU_ITEM
PAGE
PRODUCT
SALE
SHIPPING_METHOD
VARIANT
VOUCHER
}
input TranslationInput {
seoTitle : String
seoDescription : String
name : String
description : String
descriptionJson : JSONString
}
scalar UUID
scalar Upload
type User implements Node {
id : ID !
lastLogin : DateTime
email : String !
firstName : String !
lastName : String !
isStaff : Boolean !
isActive : Boolean !
note : String
dateJoined : DateTime !
defaultShippingAddress : Address
defaultBillingAddress : Address
privateMeta : [ MetaStore ] !
meta : [ MetaStore ] !
addresses : [ Address ]
checkout : Checkout
giftCards ( before : String , after : String , first : Int , last : Int ) : GiftCardCountableConnection
orders ( before : String , after : String , first : Int , last : Int ) : OrderCountableConnection
permissions : [ PermissionDisplay ]
avatar ( size : Int ) : Image
events : [ CustomerEvent ]
storedPaymentSources : [ PaymentSource ]
}
input UserAddressInput {
defaultBillingAddress : AddressInput
defaultShippingAddress : AddressInput
}
type UserAvatarDelete {
errors : [ Error ! ]
user : User
2019-09-26 10:14:07 +00:00
accountErrors : [ AccountError ! ]
2019-08-12 13:07:51 +00:00
}
type UserAvatarUpdate {
errors : [ Error ! ]
user : User
2019-09-26 10:14:07 +00:00
accountErrors : [ AccountError ! ]
2019-08-12 13:07:51 +00:00
}
type UserBulkSetActive {
errors : [ Error ! ]
count : Int !
2019-09-26 10:14:07 +00:00
accountErrors : [ AccountError ! ]
2019-08-12 13:07:51 +00:00
}
2019-10-09 06:56:46 +00:00
type UserClearMeta {
2019-08-12 13:07:51 +00:00
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
accountErrors : [ AccountError ! ]
2019-08-12 13:07:51 +00:00
user : User
}
2019-10-09 06:56:46 +00:00
type UserClearPrivateMeta {
2019-08-12 13:07:51 +00:00
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
accountErrors : [ AccountError ! ]
2019-08-12 13:07:51 +00:00
user : User
}
type UserCountableConnection {
pageInfo : PageInfo !
edges : [ UserCountableEdge ! ] !
totalCount : Int
}
type UserCountableEdge {
node : User !
cursor : String !
}
input UserCreateInput {
defaultBillingAddress : AddressInput
defaultShippingAddress : AddressInput
firstName : String
lastName : String
email : String
isActive : Boolean
note : String
sendPasswordEmail : Boolean
2019-09-10 11:28:18 +00:00
redirectUrl : String
2019-08-12 13:07:51 +00:00
}
type UserUpdateMeta {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
accountErrors : [ AccountError ! ]
2019-08-12 13:07:51 +00:00
user : User
}
type UserUpdatePrivateMeta {
errors : [ Error ! ]
2019-09-26 10:14:07 +00:00
accountErrors : [ AccountError ! ]
2019-08-12 13:07:51 +00:00
user : User
}
type VAT {
countryCode : String !
standardRate : Float
reducedRates : [ ReducedRate ] !
}
type VariantImageAssign {
errors : [ Error ! ]
productVariant : ProductVariant
image : ProductImage
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
}
type VariantImageUnassign {
errors : [ Error ! ]
productVariant : ProductVariant
image : ProductImage
2019-09-26 10:14:07 +00:00
productErrors : [ ProductError ! ]
2019-08-12 13:07:51 +00:00
}
type VariantPricingInfo {
2019-09-02 14:02:00 +00:00
available : Boolean @deprecated ( reason : "DEPRECATED: Will be removed in Saleor 2.10, this has been moved to the parent type as 'isAvailable'." )
2019-08-12 13:07:51 +00:00
on Sale : Boolean
discount : TaxedMoney
discountLocalCurrency : TaxedMoney
price : TaxedMoney
priceUndiscounted : TaxedMoney
priceLocalCurrency : TaxedMoney
}
type VerifyToken {
payload : GenericScalar
user : User
}
type Voucher implements Node {
id : ID !
type : VoucherTypeEnum !
name : String
code : String !
usageLimit : Int
used : Int !
startDate : DateTime !
endDate : DateTime
applyOncePerOrder : Boolean !
applyOncePerCustomer : Boolean !
discountValueType : DiscountValueTypeEnum !
discountValue : Float !
2019-08-28 14:53:57 +00:00
minSpent : Money
2019-08-12 13:07:51 +00:00
minCheckoutItemsQuantity : Int
categories ( before : String , after : String , first : Int , last : Int ) : CategoryCountableConnection
collections ( before : String , after : String , first : Int , last : Int ) : CollectionCountableConnection
products ( before : String , after : String , first : Int , last : Int ) : ProductCountableConnection
countries : [ CountryDisplay ]
translation ( languageCode : LanguageCodeEnum ! ) : VoucherTranslation
2019-09-02 14:02:00 +00:00
minAmountSpent : Money @deprecated ( reason : "DEPRECATED: Will be removed in Saleor 2.10, use the minSpent field instead." )
2019-08-12 13:07:51 +00:00
}
type VoucherAddCatalogues {
errors : [ Error ! ]
voucher : Voucher
}
type VoucherBulkDelete {
errors : [ Error ! ]
count : Int !
}
type VoucherCountableConnection {
pageInfo : PageInfo !
edges : [ VoucherCountableEdge ! ] !
totalCount : Int
}
type VoucherCountableEdge {
node : Voucher !
cursor : String !
}
type VoucherCreate {
errors : [ Error ! ]
voucher : Voucher
}
type VoucherDelete {
errors : [ Error ! ]
voucher : Voucher
}
enum VoucherDiscountType {
FIXED
PERCENTAGE
SHIPPING
}
input VoucherFilterInput {
status : [ DiscountStatusEnum ]
timesUsed : IntRangeInput
discountType : [ VoucherDiscountType ]
started : DateTimeRangeInput
search : String
}
input VoucherInput {
type : VoucherTypeEnum
name : String
code : String
startDate : DateTime
endDate : DateTime
discountValueType : DiscountValueTypeEnum
discountValue : Decimal
products : [ ID ]
collections : [ ID ]
categories : [ ID ]
minAmountSpent : Decimal
minCheckoutItemsQuantity : Int
countries : [ String ]
applyOncePerOrder : Boolean
applyOncePerCustomer : Boolean
usageLimit : Int
}
type VoucherRemoveCatalogues {
errors : [ Error ! ]
voucher : Voucher
}
type VoucherTranslate {
errors : [ Error ! ]
voucher : Voucher
}
type VoucherTranslation implements Node {
id : ID !
name : String
language : LanguageDisplay !
}
enum VoucherTypeEnum {
SHIPPING
ENTIRE_ORDER
SPECIFIC_PRODUCT
}
type VoucherUpdate {
errors : [ Error ! ]
voucher : Voucher
}
2019-09-26 15:06:14 +00:00
type Webhook implements Node {
2019-10-09 06:56:46 +00:00
name : String
2019-09-26 15:06:14 +00:00
serviceAccount : ServiceAccount !
targetUrl : String !
isActive : Boolean !
secretKey : String
id : ID !
events : [ WebhookEvent ]
}
type WebhookCountableConnection {
pageInfo : PageInfo !
edges : [ WebhookCountableEdge ! ] !
totalCount : Int
}
type WebhookCountableEdge {
node : Webhook !
cursor : String !
}
type WebhookCreate {
errors : [ Error ! ]
webhookErrors : [ WebhookError ! ]
webhook : Webhook
}
input WebhookCreateInput {
2019-10-09 06:56:46 +00:00
name : String
2019-09-26 15:06:14 +00:00
targetUrl : String
events : [ WebhookEventTypeEnum ]
serviceAccount : ID
isActive : Boolean
secretKey : String
}
type WebhookDelete {
errors : [ Error ! ]
webhook : Webhook
webhookErrors : [ WebhookError ! ]
}
type WebhookError {
field : String
message : String
code : WebhookErrorCode
}
enum WebhookErrorCode {
GRAPHQL_ERROR
INVALID
NOT_FOUND
REQUIRED
UNIQUE
}
type WebhookEvent {
2019-10-10 11:40:31 +00:00
eventType : WebhookEventTypeEnum
2019-09-26 15:06:14 +00:00
}
enum WebhookEventTypeEnum {
2019-10-15 10:06:19 +00:00
ANY_EVENTS
2019-09-26 15:06:14 +00:00
ORDER_CREATED
ORDER_FULLY_PAID
ORDER_UPDATED
ORDER_CANCELLED
CUSTOMER_CREATED
PRODUCT_CREATED
}
2019-10-15 10:06:19 +00:00
input WebhookFilterInput {
search : String
isActive : Boolean
}
2019-09-26 15:06:14 +00:00
type WebhookUpdate {
errors : [ Error ! ]
webhook : Webhook
webhookErrors : [ WebhookError ! ]
}
input WebhookUpdateInput {
2019-10-09 06:56:46 +00:00
name : String
2019-09-26 15:06:14 +00:00
targetUrl : String
events : [ WebhookEventTypeEnum ]
serviceAccount : ID
isActive : Boolean
secretKey : String
}
2019-08-12 13:07:51 +00:00
type Weight {
unit : String !
value : Float !
}
scalar WeightScalar
enum WeightUnitsEnum {
KG
LB
OZ
G
}