Check the complete list of parameters and responses of the GET customers endpoint to get customer data, and the POST customer endpoint to register a new customer.

const response = await fetch("https://api.masivo.ai/customers", {
  method: "GET",
  headers: { Authorization: `Bearer ${accessToken}` }
});

Using the customers data

When a customer wants to check their details in Masivo, you’ll need to integrate a GET request to the customers endpoint. This endpoint retrieves data such as their current tier and wallet balance.

This can be useful in scenarios like displaying a points dashboard, showing tier progression, or presenting reward balances within your ecommerce platform.

Flow diagram example

Show customer data