v1

latestOpenAPI 3.0.32026-07-24198357534.7 KB
Data Model

Create a new Attribute.

post/eav-attributes

Request body

namestring required
control_typestring required

Type of the field among those values => textfield_notranslate,textfield,textarea,htmleditor,integer,decimal,date,time,combo,multicombo,boolean,brut

codestring required

Unique identifier of the attribute

eav_attribute_group_idinteger required
linked_classstring required

Entity on which the attribute apply. Possible value => Article, DamMedia, Sku

descriptionstring
help_textstring
attribute_setsinteger[]

List of attribute set ids to which the eav attribute should be associate

text_sizeinteger
decimal_digit_afterinteger
document_type_metadataboolean
mandatoryboolean
filterableboolean
internal_viewboolean
internal_editboolean

Response

Attribute created

successboolean required