cURL
curl --request POST \ --url https://api.example.com/admin/attributes/{id}/values \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "value": "<string>", "rank": 123, "metadata": {} } '
{ "attribute_possible_value": { "id": "<string>", "value": "<string>", "rank": 123, "metadata": {}, "created_at": "2023-11-07T05:31:56Z" } }
Creates a new possible value for a specific attribute.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the attribute.
The value of the possible value.
1
The rank/order of the possible value.
Additional metadata for the possible value.
Created
Attribute possible value object
Show child attributes