# Get TaxRule **GET /V1/taxRules/{ruleId}** Get TaxRule ## Servers - https://magento2.winkelstraat.mac/rest/all: https://magento2.winkelstraat.mac/rest/all () ## Parameters ### Path parameters - **ruleId** (integer) ## Responses ### 200 200 Success. #### Body: (object) - **id** (integer) Id - **code** (string) Tax rule code - **priority** (integer) Priority - **position** (integer) Sort order. - **customer_tax_class_ids** (array[integer]) Customer tax class id - **product_tax_class_ids** (array[integer]) Product tax class id - **tax_rate_ids** (array[integer]) Tax rate ids - **calculate_subtotal** (boolean) Calculate subtotal. - **extension_attributes** (object) ExtensionInterface class for @see \Magento\Tax\Api\Data\TaxRuleInterface ### 401 401 Unauthorized #### Body: (object) - **message** (string) Error message - **errors** (array[object]) Error details - **code** (integer) Error code - **parameters** (array[object]) Error parameters item - **trace** (string) Stack trace ### default Unexpected error #### Body: (object) - **message** (string) Error message - **errors** (array[object]) Error details - **code** (integer) Error code - **parameters** (array[object]) Error parameters item - **trace** (string) Stack trace [Powered by Bump.sh](https://bump.sh)