cURL
curl --request PUT \ --url https://api.dooki.com.br/v2/{alias}/queues/{id} \ --header 'Content-Type: application/json' \ --header 'User-Secret-Key: <api-key>' \ --header 'User-Token: <api-key>' \ --data '{ "token": "ecd73150-e747-11e7-9221-0361c8d4d388", "total_sent": 5, "total_processed": 5, "title": "Importing products", "redirect_url": "https://site.com", "finished_at": "2017-04-03 00:00:00" }'
{ "id": 123, "store_id": "1", "user_id": 123, "token": "ecd73150-e747-11e7-9221-0361c8d4d388", "total_sent": 5, "total_processed": 5, "title": "Importando produtos", "redirect_url": "https://site.com", "finished_at": "2017-04-03 00:00:00", "created_at": "2017-04-03 00:00:00", "updated_at": "2017-04-03 00:00:00" }
Atualiza os detalhes de uma fila específica
Alias da loja
ID da fila
Dados necessários para criar uma fila
Fila atualizada com sucesso
Resposta contendo os dados da fila
Was this page helpful?