GET /V1/taxRules/{ruleId}
curl \
-X GET https://magento2.winkelstraat.mac/rest/all/V1/taxRules/{ruleId}
Response examples (200)
{
"id": 42,
"code": "string",
"priority": 42,
"position": 42,
"customer_tax_class_ids": [
42
],
"product_tax_class_ids": [
42
],
"tax_rate_ids": [
42
],
"calculate_subtotal": true,
"extension_attributes": {}
}
Response examples (401)
{
"message": "string",
"errors": [
{
"message": "string",
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
]
}
],
"code": 42,
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
],
"trace": "string"
}
Response examples (default)
{
"message": "string",
"errors": [
{
"message": "string",
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
]
}
],
"code": 42,
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
],
"trace": "string"
}