curl --request PUT \ --url https://api.datacrazy.io/v1/api/api/v1/lists/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "compradores recorrentes", "description": "Lista de cliente que compram há cada 3 meses"}'
Copy
{ "id": "382ab912-826a-4aa2-8462-e9ca8f71db94", "name": "compradores recorrentes", "description": "Lista de cliente que compram há cada 3 meses", "createdAt": "2025-03-05T17:10:34.158Z"}
Listas
Atualizar lista
PUT
/
api
/
v1
/
lists
/
{id}
Atualizar lista
Copy
curl --request PUT \ --url https://api.datacrazy.io/v1/api/api/v1/lists/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "compradores recorrentes", "description": "Lista de cliente que compram há cada 3 meses"}'
Copy
{ "id": "382ab912-826a-4aa2-8462-e9ca8f71db94", "name": "compradores recorrentes", "description": "Lista de cliente que compram há cada 3 meses", "createdAt": "2025-03-05T17:10:34.158Z"}