action api2cart_category_image_add { label: "CategoryImageAdd" description: "Add image to category" provider: api2cart method: POST path: "/category.image.add.json" encoding: json input: { type: "object" properties: { category_id: { type: "string" } image_name: { type: "string" } label: { type: "string" } mime: { type: "string" } position: { type: "integer" } store_id: { type: "string" } type: { type: "string" enum: ["base", "thumbnail"] } url: { type: "string" } } required: ["category_id", "image_name", "type", "url"] additionalProperties: false } output: { type: "object" properties: { result: { type: "object" properties: { image_path: { type: "string" } } } return_code: { type: "integer" } return_message: { type: "string" } } } }