ShippingMethodType
Shipping method are the methods you'll use to get customer's orders to them. They are directly exposed to the customers.
type ShippingMethodType implements Node, ObjectWithMetadata {
id: ID!
privateMetadata: [MetadataItem!]!
privateMetafield(key: String!): String
privateMetafields(keys: [String!]): Metadata
metadata: [MetadataItem!]!
metafield(key: String!): String
metafields(keys: [String!]): Metadata
name: String!
description: JSONString
type: ShippingMethodTypeEnum
translation(languageCode: LanguageCodeEnum!): ShippingMethodTranslation
maximumOrderPrice: Money
minimumOrderPrice: Money
postalCodeRules: [ShippingMethodPostalCodeRule!]
minimumOrderWeight: Weight
maximumOrderWeight: Weight
maximumDeliveryDays: Int
minimumDeliveryDays: Int
}
Fields
ShippingMethodType.id
● ID!
non-null scalar
Shipping method ID.
ShippingMethodType.privateMetadata
● [MetadataItem!]!
non-null object
List of private metadata items. Requires staff permissions to access.
ShippingMethodType.privateMetafield
● String
scalar
A single key from private metadata. Requires staff permissions to access.
Tip: Use GraphQL aliases to fetch multiple keys.
Added in Saleor 3.3This API is currently in Feature Preview and can be subject to changes at later point.
ShippingMethodType.privateMetafield.key
●String!
non-null scalar
ShippingMethodType.privateMetafields
● Metadata
scalar
Private metadata. Requires staff permissions to access. Use
Added in Saleor 3.3keys
to control which fields you want to include. The default is to include everything.This API is currently in Feature Preview and can be subject to changes at later point.
ShippingMethodType.privateMetafields.keys
●[String!]
list scalar
ShippingMethodType.metadata
● [MetadataItem!]!
non-null object
List of public metadata items. Can be accessed without permissions.
ShippingMethodType.metafield
● String
scalar
A single key from public metadata.
Tip: Use GraphQL aliases to fetch multiple keys.
Added in Saleor 3.3This API is currently in Feature Preview and can be subject to changes at later point.
ShippingMethodType.metafield.key
●String!
non-null scalar
ShippingMethodType.metafields
● Metadata
scalar
Public metadata. Use
Added in Saleor 3.3keys
to control which fields you want to include. The default is to include everything.This API is currently in Feature Preview and can be subject to changes at later point.
ShippingMethodType.metafields.keys
●[String!]
list scalar
ShippingMethodType.name
● String!
non-null scalar
Shipping method name.
ShippingMethodType.description
● JSONString
scalar
Shipping method description.
Rich text format. For reference see https://editorjs.io/
ShippingMethodType.type
● ShippingMethodTypeEnum
enum
Type of the shipping method.
ShippingMethodType.translation
● ShippingMethodTranslation
object
Returns translated shipping method fields for the given language code.
ShippingMethodType.translation.languageCode
●LanguageCodeEnum!
non-null enumA language code to return the translation for shipping method.
ShippingMethodType.maximumOrderPrice
● Money
object
The price of the cheapest variant (including discounts).
ShippingMethodType.minimumOrderPrice
● Money
object
The price of the cheapest variant (including discounts).
ShippingMethodType.postalCodeRules
● [ShippingMethodPostalCodeRule!]
list object
Postal code ranges rule of exclusion or inclusion of the shipping method.
ShippingMethodType.minimumOrderWeight
● Weight
object
Minimum order weight to use this shipping method.
ShippingMethodType.maximumOrderWeight
● Weight
object
Maximum order weight to use this shipping method.
ShippingMethodType.maximumDeliveryDays
● Int
scalar
Maximum number of days for delivery.
ShippingMethodType.minimumDeliveryDays
● Int
scalar
Minimal number of days for delivery.
Interfaces
Node
interface
An object with an ID
ObjectWithMetadata
interface
Member of
ShippingZone
object