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":["abc123"],"class":"INHERIT_CART","compound":false,"country":"abc123","databaseId":123,"id":4,"name":"abc123","order":123,"postcode":["xyz789"],"priority":123,"rate":"abc123","shipping":true,"state":"abc123"}}}