action sinao_app_catalog_categories_update { label: "Update a product category" description: "Update a product category by id" provider: sinao method: POST path: "/apps/{appId}/productcategory/{id}" encoding: json input: { type: "object" properties: { id: { type: "integer" } image: { type: "object" } name: { type: "string" } parent_category_id: { type: "integer" } } required: ["id", "name"] additionalProperties: false } output: { type: "object" properties: { id: { type: "integer" } image: { type: "object" } name: { type: "string" } parent: { type: "object" additionalProperties: true } products: { type: "object" properties: { accounting_number: { type: "string" } amount_accurately: { type: "integer" description: "Price without taxes in milli-cents" } category: { type: "object" additionalProperties: true } currency: { type: "string" } description: { type: "string" } id: { type: "integer" } image: { type: "object" } intangible: { type: "boolean" description: "Is a service or a product ?" } lifetime: { type: "integer" description: "Product life time in seconds" } metadata: { type: "array" items: { type: "object" } } name: { type: "string" } quantity_name: { type: "string" description: "Name of the quantity: days, liters, m2, m3..." } reference: { type: "string" } tags: { type: "array" items: { type: "string" } } unity: { type: "string" description: "Unity, hours, days, meters, liters.." } vat_percent: { type: "integer" description: "VAT rate in cents" } } } } } }