Shop
Represents a shop resource containing general shop data and configuration.
type Shop implements ObjectWithMetadata {
privateMetadata: [MetadataItem!]!
privateMetafield(key: String!): String
privateMetafields(keys: [String!]): Metadata
metadata: [MetadataItem!]!
metafield(key: String!): String
metafields(keys: [String!]): Metadata
id: ID!
availablePaymentGateways(
currency: String
channel: String
): [PaymentGateway!]!
availableExternalAuthentications: [ExternalAuthentication!]!
availableShippingMethods(
channel: String!
address: AddressInput
): [ShippingMethod!]
channelCurrencies: [String!]!
countries(
languageCode: LanguageCodeEnum
filter: CountryFilterInput
): [CountryDisplay!]!
defaultCountry: CountryDisplay
defaultMailSenderName: String
defaultMailSenderAddress: String
description: String
domain: Domain!
languages: [LanguageDisplay!]!
name: String!
permissions: [Permission!]!
phonePrefixes: [String!]!
headerText: String
fulfillmentAutoApprove: Boolean!
fulfillmentAllowUnpaid: Boolean!
trackInventoryByDefault: Boolean
defaultWeightUnit: WeightUnitsEnum
translation(languageCode: LanguageCodeEnum!): ShopTranslation
automaticFulfillmentDigitalProducts: Boolean
reserveStockDurationAnonymousUser: Int
reserveStockDurationAuthenticatedUser: Int
limitQuantityPerCheckout: Int
defaultDigitalMaxDownloads: Int
defaultDigitalUrlValidDays: Int
companyAddress: Address
customerSetPasswordUrl: String
staffNotificationRecipients: [StaffNotificationRecipient!]
enableAccountConfirmationByEmail: Boolean
allowLoginWithoutConfirmation: Boolean
limits: LimitInfo!
version: String!
schemaVersion: String!
availableTaxApps: [App!]!
includeTaxesInPrices: Boolean! @deprecated
displayGrossPrices: Boolean! @deprecated
chargeTaxesOnShipping: Boolean! @deprecated
}
Fields
Shop.privateMetadata ● [MetadataItem!]! non-null object miscellaneous
List of private metadata items. Requires staff permissions to access.
Shop.privateMetafield ● String scalar miscellaneous
A single key from private metadata. Requires staff permissions to access.
Tip: Use GraphQL aliases to fetch multiple keys.
Shop.privateMetafield.key●String!non-null scalar miscellaneous
Shop.privateMetafields ● Metadata scalar miscellaneous
Private metadata. Requires staff permissions to access. Use
keysto control which fields you want to include. The default is to include everything.
Shop.privateMetafields.keys●[String!]list scalar miscellaneous
Shop.metadata ● [MetadataItem!]! non-null object miscellaneous
List of public metadata items. Can be accessed without permissions.
Shop.metafield ● String scalar miscellaneous
A single key from public metadata.
Tip: Use GraphQL aliases to fetch multiple keys.
Shop.metafield.key●String!non-null scalar miscellaneous
Shop.metafields ● Metadata scalar miscellaneous
Public metadata. Use
keysto control which fields you want to include. The default is to include everything.
Shop.metafields.keys●[String!]list scalar miscellaneous
Shop.id ● ID! non-null scalar miscellaneous
ID of the shop.
Shop.availablePaymentGateways ● [PaymentGateway!]! non-null object payments
List of available payment gateways.
Shop.availablePaymentGateways.currency●Stringscalar miscellaneousA currency for which gateways will be returned.
DEPRECATED: this field will be removed in Saleor 4.0. Use
channelargument instead.
Shop.availablePaymentGateways.channel ● String scalar miscellaneous
Slug of a channel for which the data should be returned.
Shop.availableExternalAuthentications ● [ExternalAuthentication!]! non-null object authentication
List of available external authentications.
Shop.availableShippingMethods ● [ShippingMethod!] list object shipping
Shipping methods that are available for the shop.
Shop.availableShippingMethods.channel●String!non-null scalar miscellaneousSlug of a channel for which the data should be returned.
Shop.availableShippingMethods.address ● AddressInput input miscellaneous
Address for which available shipping methods should be returned.
Shop.channelCurrencies ● [String!]! non-null scalar miscellaneous
List of all currencies supported by shop's channels.
Added in Saleor 3.1
Shop.countries ● [CountryDisplay!]! non-null object miscellaneous
List of countries available in the shop.
Shop.countries.languageCode●LanguageCodeEnumenum miscellaneousA language code to return the translation for.
DEPRECATED: this field will be removed in Saleor 4.0.