Shop
Represents a shop resource containing general shop data and configuration.
type Shop {
availablePaymentGateways(
currency: String
channel: String
): [PaymentGateway!]!
availableExternalAuthentications: [ExternalAuthentication!]!
availableShippingMethods(
channel: String!
address: AddressInput
): [ShippingMethod!]
countries(
languageCode: LanguageCodeEnum
filter: CountryFilterInput
): [CountryDisplay!]!
defaultCountry: CountryDisplay
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
companyAddress: Address
customerSetPasswordUrl: String
schemaVersion: String!
includeTaxesInPrices: Boolean! @deprecated
displayGrossPrices: Boolean! @deprecated
chargeTaxesOnShipping: Boolean! @deprecated
}
Fields
Shop.availablePaymentGateways ● [PaymentGateway!]! non-null object
List of available payment gateways.
Shop.availablePaymentGateways.currency●StringscalarA 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
Slug of a channel for which the data should be returned.
Shop.availableExternalAuthentications ● [ExternalAuthentication!]! non-null object
List of available external authentications.
Shop.availableShippingMethods ● [ShippingMethod!] list object
Shipping methods that are available for the shop.
Shop.availableShippingMethods.channel●String!non-null scalarSlug of a channel for which the data should be returned.
Shop.availableShippingMethods.address ● AddressInput input
Address for which available shipping methods should be returned.
Shop.countries ● [CountryDisplay!]! non-null object
List of countries available in the shop.
Shop.countries.languageCode●LanguageCodeEnumenumA language code to return the translation for.
DEPRECATED: this field will be removed in Saleor 4.0.
Shop.countries.filter ● CountryFilterInput input
Filtering options for countries
Shop.defaultCountry ● CountryDisplay object
Shop's default country.
Shop.description ● String scalar
Shop's description.
Shop.domain ● Domain! non-null object
Shop's domain data.
Shop.languages ● [LanguageDisplay!]! non-null object
List of the shops's supported languages.
Shop.name ● String! non-null scalar
Shop's name.
Shop.permissions ● [Permission!]! non-null object
List of available permissions.
Shop.phonePrefixes ● [String!]! non-null scalar
List of possible phone prefixes.
Shop.headerText ● String scalar
Header text.
Shop.fulfillmentAutoApprove ● Boolean! non-null scalar
Automatically approve all new fulfillments.
Added in Saleor 3.1
Shop.fulfillmentAllowUnpaid ● Boolean! non-null scalar
Allow to approve fulfillments which are unpaid.
Added in Saleor 3.1
Shop.trackInventoryByDefault ● Boolean scalar
Enable inventory tracking.
Shop.defaultWeightUnit ● WeightUnitsEnum enum
Default weight unit.
Shop.translation ● ShopTranslation object
Returns translated shop fields for the given language code.
Shop.translation.languageCode●LanguageCodeEnum!non-null enumA language code to return the translation for shop.
Shop.companyAddress ● Address object
Company address.
Shop.customerSetPasswordUrl ● String scalar
URL of a view where customers can set their password.
Shop.schemaVersion ● String! non-null scalar
Minor Saleor API version.
Added in Saleor 3.5
Shop.includeTaxesInPrices ● Boolean! deprecated non-null scalar
DEPRECATEDThis field will be removed in Saleor 4.0. Use
Channel.taxConfiguration.pricesEnteredWithTaxto determine whether prices are entered with tax.Include taxes in prices.
Shop.displayGrossPrices ● Boolean! deprecated non-null scalar
DEPRECATEDThis field will be removed in Saleor 4.0. Use
Channel.taxConfigurationto determine whether to display gross or net prices.Display prices with tax in store.
Shop.chargeTaxesOnShipping ● Boolean! deprecated non-null scalar
DEPRECATEDThis field will be removed in Saleor 4.0. Use
ShippingMethodType.taxClassto determine whether taxes are calculated for shipping methods; if a tax class is set, the taxes will be calculated, otherwise no tax rate will be applied.Charge taxes on shipping.
Returned by
shop query