Schema Documentation
taxRate
Description
A tax rate object
Response
Returns a
TaxRate
Arguments
Name | Description |
---|---|
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":["xyz789"],"class":"INHERIT_CART","compound":false,"country":"xyz789","databaseId":987,"id":4,"name":"abc123","order":123,"postcode":["xyz789"],"priority":987,"rate":"abc123","shipping":true,"state":"xyz789"}}}