ShippingMethodCreateInput
InputInput for creating a new shipping method.
#
Fields
- [ID!]
channels A list of channel IDs that this shipping method applies to.
- String
description An optional description of the shipping method.
- [KeyValuePairOfStringAndStringInput!]
metadata Optional metadata associated with the shipping method, represented as a dictionary of key-value pairs.
- String!
name The name of the shipping method.
- String
predicate 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.- [ShippingMethodRateCreateInput!]
rates A list of shipping method rates associated with this shipping method.
- String!
sku The SKU (Stock Keeping Unit) of the shipping method.
- [ID!]
zones A list of zone IDs that this shipping method applies to.