cURL
curl --request POST \ --url https://api.dooki.com.br/v2/{alias}/catalog/filters/{filterId}/values \ --header 'Content-Type: application/json' \ --header 'User-Secret-Key: <api-key>' \ --header 'User-Token: <api-key>' \ --data '{ "name": "Azul", "color": "#32706F9", "image_url": "https://example.com/image.jpg" }'
{ "data": [ { "id": 1, "name": "P", "color": "#FFFFFF", "image_url": "https://image-url.com/image.jpg" } ] }
Cria um novo valor associado a um filtro específico
Alias da loja
ID do filtro
Valor de filtro criado com sucesso
The response is of type object.
object
Was this page helpful?