action api2cart_product_variant_count { label: "ProductVariantCount" description: "Get count variants." provider: api2cart method: GET path: "/product.variant.count.json" encoding: json input: { type: "object" properties: { category_id: { type: "string" } created_from: { type: "string" } created_to: { type: "string" } modified_from: { type: "string" } modified_to: { type: "string" } product_id: { type: "string" } store_id: { type: "string" } } required: ["product_id"] additionalProperties: false } output: { type: "object" properties: { result: { type: "object" properties: { variants_count: { type: "string" } } } return_code: { type: "integer" } return_message: { type: "string" } } } }