Rotate the customer session (family rotation + reuse-detection)
POST
/store/v1/customers/refresh
const url = 'https://your-store.example.com/store/v1/customers/refresh';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://your-store.example.com/store/v1/customers/refresh