cURL
curl --request PATCH \ --url https://api.dooki.com.br/v2/{alias}/catalog/reviews/{id} \ --header 'Content-Type: application/json' \ --header 'User-Secret-Key: <api-key>' \ --header 'User-Token: <api-key>' \ --data '{ "approved": true }'
{ "id": 123, "product_id": 123, "product_name": "<string>", "approved": true, "rating": 123, "name": "<string>", "email": "jsmith@example.com", "message": "<string>", "total": 123 }
Aprova ou desaprova uma review do produto
Alias da loja
ID da review
Review atualizado com sucesso
Was this page helpful?