v1

latestOpenAPI 3.0.12026-07-26381328555.2 KB
CategoryAttributeDefinition

Create Attribute

Add a new category attribute definition.

post/commerce/catalog/admin/categoryattributedefinition/attributes

Query parameters

responseFieldsstring

limits which fields are returned in the response body

Request body

adminNamestring nullable
attributeCodestring required
attributeFQNstring nullable
availableForDiscountsboolean
availableForOrderRoutingboolean
dataTypestring nullable
displayGroupstring required
idinteger nullable
inputTypestring nullable
isActiveboolean nullable
isMultiValuedboolean nullable
isReadOnlyboolean
isRequiredboolean nullable
isVisibleboolean nullable
namespacestring nullable
orderinteger nullable
valueTypestring required

Response

OK

adminNamestring nullable
attributeCodestring required
attributeFQNstring nullable
availableForDiscountsboolean
availableForOrderRoutingboolean
dataTypestring nullable
displayGroupstring required
idinteger nullable
inputTypestring nullable
isActiveboolean nullable
isMultiValuedboolean nullable
isReadOnlyboolean
isRequiredboolean nullable
isVisibleboolean nullable
namespacestring nullable
orderinteger nullable
valueTypestring required