Types > ShippingRuleCreate
Commerce APITypesShippingRuleCreate
ShippingRuleCreate

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


name: String!

Name of the shipping rule

Example: "FedEx everywhere"

Valid when: name is not empty

Valid when: name's length doesn't exceed 250 characters


priority: Int

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

Example: 0


zones: [ZoneCreate!]


Used By

Mutations

shippingRulesCreate

Preview (typescript)

Loading module