curl --location --request PATCH '/api/rest/v1/asset-families//attributes/' \
--header 'Content-Type: application/json' \
--data-raw '{
"code": "model_is_wearing_size",
"is_required_for_completeness": true,
"labels": {
"en_US": "Model is wearing size",
"fr_FR": "Le mannequin porte la taille"
},
"type": "single_option",
"value_per_channel": false,
"value_per_locale": false
}'
{}
media_file
number
text
text
localeCode
text
media_file
number
media_link
attribute type, it is the type of the media behind the url, to allow its preview in the PIM. For the media_file
attribute type, it is the type of the file.number
media_link
attribute type. The common url root that prefixes the link to the mediamedia_link
attribute type. The common url suffix for the mediatext
text