Shipping > Shipping Rules > shippingRules
Commerce APIShippingShipping RulesshippingRules
shippingRules
GET:shipping_rules.json

Description

Get all or specific shipping rules.

This is a typical bulk get endpoint.

Permission bit: "shipping_rules.read"

Topic: Shipping Rules

Arguments

ids: [String!]

List of shipping rule ids. See also: Unique Identifiers

Example: ["sr_EQzGqWoY"]


loose: Boolean

When asking for multiple items, allow returning less than was asked (in case some are missing)


shop_id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


Result

[ShippingRule!]

Preview (typescript)

Loading module