Optimizely Category Attribute Types API
The Category Attribute Types API from Optimizely — 7 operation(s) for category attribute types.
Operations 11
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
GET
/api/v1/admin/CategoryAttributeTypes
List attribute types assigned to categories · Returns the EntitySet CategoryAttributeTypes
#
Ask an LLM
“How do I list which attribute types are attached to product categories?”
“Can I filter category attribute assignments to one category with OData?”
Tell an agent
List all category attribute type assignments.
List category attribute types matching {filter}.
POST
/api/v1/admin/CategoryAttributeTypes
Assign an attribute type to a category · Post a new entity to EntitySet CategoryAttributeTypes
#
Ask an LLM
“How do I attach an attribute type like color or size to a product category?”
“Can I set the display order when adding an attribute type to a category?”
Tell an agent
Assign attribute type {attributeTypeId} to category {categoryId}.
Add attribute type {attributeTypeId} to category {categoryId} with sort order {sortOrder}.
GET
/api/v1/admin/CategoryAttributeTypes({id})
Get one category attribute type assignment · Returns the entity with the key from CategoryAttributeTypes
#
Ask an LLM
“How do I look up a single category-to-attribute-type link by its id?”
“Can I see the sort order of one category attribute assignment?”
Tell an agent
Get category attribute type {id}.
Show the category attribute assignment with id {id}.
PUT
/api/v1/admin/CategoryAttributeTypes({id})
Replace a category attribute type assignment · Replace entity in EntitySet CategoryAttributeTypes
#
Ask an LLM
“How do I overwrite a category attribute type assignment entirely?”
“Is there a full replace for a category's attribute type link?”
Tell an agent
Replace category attribute type {id} so it links category {categoryId} to attribute type {attributeTypeId}.
Overwrite the full record of category attribute type {id}.
DELETE
/api/v1/admin/CategoryAttributeTypes({id})
Remove an attribute type from a category · Delete entity in EntitySet CategoryAttributeTypes
#
Ask an LLM
“How do I detach one attribute type from a category?”
“Can I delete a category attribute assignment only when the ETag matches?”
Tell an agent destructive · confirm first
Delete category attribute type {id}.
Delete category attribute type {id} if its ETag is {etag}.
PATCH
/api/v1/admin/CategoryAttributeTypes({id})
Update fields on a category attribute type · Update entity in EntitySet CategoryAttributeTypes
#
Ask an LLM
“How do I deactivate an attribute type on a category without resending everything?”
“Can I just change the detail display sequence of a category attribute?”
Tell an agent
Set isActive to {isActive} on category attribute type {id}.
Patch category attribute type {id} with detail display sequence {detailDisplaySequence}.
GET
/api/v1/admin/CategoryAttributeTypes/Default.Default()
Get the default category attribute type record · Call operation Default
#
Ask an LLM
“What does a default category attribute type record look like?”
“Can I fetch the starting values for a new category attribute assignment?”
Tell an agent
Get the default category attribute type record.
Show the template values for a new category attribute type.
POST
/api/v1/admin/CategoryAttributeTypes/Default.archive
Archive category attribute types via action · Call operation archive
#
Ask an LLM
“How do I archive category attribute assignments with the OData archive action?”
“Can I archive several category attribute types instead of deleting them?”
Tell an agent
Run the archive action on category attribute types {ids}.
Archive category attribute types {ids} with the POST archive call.
DELETE
/api/v1/admin/categoryattributetypes/archive
Archive category attribute types via route · Category attribute types archive route
#
Ask an LLM
“Is there a DELETE archive route for category attribute types?”
“How do I archive category attribute assignments through the archive endpoint?”
Tell an agent destructive · confirm first
Archive category attribute types {ids} through the DELETE archive route.
Send category attribute types {ids} to the archive route.
DELETE
/api/v1/admin/categoryattributetypes/delete
Bulk delete category attribute types · Category attribute types delete route
#
Ask an LLM
“How do I delete many category attribute assignments in one call?”
“Can I bulk remove category attribute types by a list of ids?”
Tell an agent destructive · confirm first
Bulk delete category attribute types {ids}.
Remove these category attribute assignments at once: {ids}.
GET
/api/v1/admin/categoryattributetypes({key})/customproperties({custompropertyKey})
Get a custom property on a category attribute type · Category attribute types get custom property by key and custompropertykey
#
Ask an LLM
“How do I read a custom property stored on a category attribute type?”
“Can I fetch one extension property of a category attribute assignment?”
Tell an agent
Get custom property {custompropertyKey} on category attribute type {key}.
Show the value of custom property {custompropertyKey} for category attribute type {key}.