Types > ShippingRule
Commerce APITypesShippingRule
ShippingRule

Description

Topic: Shipping Rules

Fields

components: String!

Shipping rule components (custom JSON format)

Example: "[]"


group_policy: ShippingRateGroupPolicy!

What to do with multiple shipping rate groups

Example: "multiple_groups"


id: String!

Unique shipping rule identifier. See also: Unique Identifiers

Example: "sr_EQzGqWoY"


name: String!

Name of the shipping rule

Example: "FedEx everywhere"


priority: Int!

Priority of the rule (rule with higher priority is to be evaluated first)

Example: 0


zones: [Zone!]!


Used By

Mutations

shippingRulesCreate, shippingRulesModify

Queries

shippingRules

Preview (typescript)

Loading module