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
Path Params
Attribute-Id
stringÂ
required
The unique identifier for the attribute to which the preset belongs.
Example:
1
Preset-Id
stringÂ
required
The unique identifier for the preset to be updated.
Example:
794e96c3-227e-4abc-9521-725d147f1e61
Header Params
Store-Id
numberÂ
required
The unique identifier of the store where the attribute preset is being updated.
Example:
37213
Body Params application/json
value
objectÂ
optional
An object containing the updated localized values for the attribute preset in both Arabic and English.
ar
stringÂ
optional
The updated attribute preset value in Arabic.
Example:
الØجم
en
stringÂ
optional
The updated attribute preset value in English.
Example:
Size
Example
{
"value": {
"ar": "الØجم",
"en": "Size"
}
}
Request samples
Responses
Includes the new Attribute Preset Values.(200)
Includes the new Attribute Preset Values.
HTTP Code:Â 200
Content Type :Â JSONapplication/json
Data Schema
No schema defined
Example
Not configured
Last modified: a month ago