action vtex_specifications_tree_by_category_id { label: "Get Specifications Tree By Category ID" description: "Lists all specifications including the current category and the level zero specifications from a category by its ID. \n \n## Response body example \n \n```json \n[ \n { \n \"Name\": \"Specification A\", \n \"CategoryId\": 1, \n \"FieldId\": 33, \n \"IsActive\": true, \n \"IsStockKeepingUnit\": false \n }, \n { \n \"Name\": \"Specification B\", \n \"CategoryId\": 1, \n \"FieldId\": 34, \n \"IsActive\": true, \n \"IsStockKeepingUnit\": false \n }, \n { \n \"Name\": \"Specification C\", \n \"CategoryId\": 1, \n \"FieldId\": 35, \n \"IsActive\": false, \n \"IsStockKeepingUnit\": false \n } \n] \n```" provider: vtex method: GET path: "/api/catalog_system/pub/specification/field/listTreeByCategoryId/{categoryId}" encoding: json input: { type: "object" properties: { Accept: { type: "string" } "Content-Type": { type: "string" } categoryId: { type: "integer" } } required: ["Accept", "Content-Type", "categoryId"] additionalProperties: false } output: { type: "array" description: "Array of objects." required: ["CategoryId", "FieldId", "IsActive", "IsStockKeepingUnit", "Name"] items: { type: "object" description: "Object containing Specification information." properties: { CategoryId: { type: "integer" description: "Category ID." } FieldId: { type: "integer" description: "Specification ID." } IsActive: { type: "boolean" description: "Defines if the specification is active." } IsStockKeepingUnit: { type: "boolean" description: "Defines if it is an SKU specification." } Name: { type: "string" description: "Specification name." } } } } }