action api2cart_product_variant_delete { label: "ProductVariantDelete" description: "Delete variant." provider: api2cart method: DELETE path: "/product.variant.delete.json" encoding: json input: { type: "object" properties: { id: { type: "string" } product_id: { type: "string" } } required: ["id", "product_id"] additionalProperties: false } output: { type: "object" properties: { result: { type: "object" properties: { deleted: { type: "string" } } } return_code: { type: "integer" } return_message: { type: "string" } } } }