action api2cart_product_tax_add { label: "ProductTaxAdd" description: "Add tax class and tax rate to store and assign to product." provider: api2cart method: POST path: "/product.tax.add.json" encoding: json input: { type: "object" required: ["name", "tax_rates"] properties: { name: { type: "string" description: "Defines tax class name where tax has to be added" } product_id: { type: "string" description: "Defines products specified by product id" } tax_rates: { type: "array" description: "Defines tax rates of specified tax classes" items: { type: "object" properties: { name: { type: "string" } type: { type: "string" } value: { type: "number" } } } } } } output: { type: "object" properties: { result: { type: "object" properties: { tax_class_id: { type: "string" } } } return_code: { type: "integer" } return_message: { type: "string" } } } }