action apacta_get_products_product_id_variants { label: "Get a product's variants" provider: apacta method: GET path: "/products/{product_id}/variants" encoding: json input: { type: "object" properties: { product_id: { type: "string" format: "uuid" } } required: ["product_id"] additionalProperties: false } output: { type: "object" properties: { data: { type: "array" items: { type: "object" properties: { name: { type: "string" } price: { type: "number" format: "double" } product_number: { type: "string" } variant_id: { type: "string" format: "uuid" } variant_type: { type: "string" enum: ["expense_line", "vendor_product"] } } } } pagination: { type: "object" properties: { count: { type: "integer" } current_page: { type: "string" } has_next_page: { type: "boolean" } has_prev_page: { type: "boolean" } limit: { type: "integer" } page_count: { type: "string" } } } success: { type: "boolean" } } } }