Update an attribute definition
Identified by the path key + entity_type in the body. Provide only the fields to change; array fields replace wholesale.
Scope: write:attributes.
patch/attributes/{key}
Request
- Base URLhttps://www.merchkit.com/api/v1
- AuthHTTP bearer
Request body
Response
The updated attribute definition (full config).
Example response
{
"data": {
"id": "a3d81c22-5f6e-4b09-8d17-c40a92e5b613",
"name": "Material",
"key": "material",
"data_type": "single_select_list",
"tool": "manual",
"entity_type": "product",
"channel": null,
"is_primary": false,
"custom_instructions": null,
"acceptable_values": "White Oak,Smoked Oak,Walnut",
"default_value": null,
"constraints": {},
"source_attributes": null
}
}Changes
No recorded changes to this operation across all 1 revision of this API.