Docs
Dashboard

ShippingMethodCreateInput

Input

Input for creating a new shipping method.

#

Fields


channels
[ID!]

A list of channel IDs that this shipping method applies to.

description
String

An optional description of the shipping method.

metadata
[KeyValuePairOfStringAndStringInput!]

Optional metadata associated with the shipping method, represented as a dictionary of key-value pairs.

name
String!

The name of the shipping method.

predicate
String

An optional predicate that can be used to filter the shipping method.

Thor predicates are boolean expressions. Cart discounts and shipping rules evaluate against cart context; product discounts evaluate against price and product context. Cart predicate language and product predicate language.
rates
[ShippingMethodRateCreateInput!]

A list of shipping method rates associated with this shipping method.

sku
String!

The SKU (Stock Keeping Unit) of the shipping method.

zones
[ID!]

A list of zone IDs that this shipping method applies to.