Update Attribute Preset
PATCH
v1/attributes/{Attribute-Id}/presets/{Preset-Id}/Use this endpoint to update an existing attribute preset by specifying both the preset ID and the attribute ID. The request allows you to update the preset values in different languages.
Request
The unique identifier for the attribute to which the preset belongs.
The unique identifier for the preset to be updated.
The unique identifier of the store where the attribute preset is being updated.
An object containing the updated localized values for the attribute preset in both Arabic and English.
The updated attribute preset value in Arabic.
The updated attribute preset value in English.
{
"value": {
"ar": "الحجم",
"en": "Size"
}
}
Request samples
Responses
The unique identifier for the attribute preset.
An object containing the attribute preset values in both Arabic and English.
The attribute preset value in Arabic.
The attribute preset value in English.