Taxes > Tax Rules > taxRules
Commerce APITaxesTax RulestaxRules
taxRules
GET:tax_rules.json

Description

Get all or specific tax rules for a given shop.

This is a typical bulk get endpoint.

Permission bit: "tax_rules.read"

Topic: Tax Rules

Arguments

ids: [String!]

List of tax rule ids. See also: Unique Identifiers

Example: ["tr_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

[TaxRule!]

Preview (typescript)

Loading module