Lister les comptes CLIENTS
myHeaders.append("Authorization", "Bearer <token>");
const customers = [];
fetch("https://api.sinao.app/v1/apps/:appId/relationships?expand[0]=count_uses&expand[1]=contact&expand[2]=category&expand[3]=credit&expand[4]=debit&filters[0][name]=is_customer&offset=0&limit=25", {
method: 'GET',
headers: myHeaders
})
.then(response => response.json())
.then(result => customers.push(...result.data));Updated about 5 hours ago
