Schema Documentation

taxRate

Description

A tax rate object

Response

Returns a TaxRate

Arguments
NameDescription
id - ID The ID for identifying the tax rate
idType - TaxRateIdTypeEnum Type of ID being used identify tax rate

Example

Query
query taxRate(  $id: ID,  $idType: TaxRateIdTypeEnum){  taxRate(    id: $id,    idType: $idType  ){    cityclasscompoundcountrydatabaseIdidnameorderpostcodepriorityrateshippingstate  }}
Variables
{"id":4,"idType":"DATABASE_ID"}
Response
{"data":{"taxRate":{"city":["abc123"],"class":"INHERIT_CART","compound":false,"country":"abc123","databaseId":123,"id":4,"name":"xyz789","order":123,"postcode":["xyz789"],"priority":987,"rate":"abc123","shipping":true,"state":"xyz789"}}}