API Request

I’m integrating with a platform where I receive the orderId, but to request customer details, I need the email.

How can I get the customer’s email in order to make a request to this endpoint?

Hi @gabrieltelesc, how’s it going?

For integrations, the most common approach is to use the Get order API, which receives the orderId in the route and returns all order data, including customer information such as the email address, which can be found at:

clientProfileData.email

So if you need any information from the “Retrieve user order details” API, you can grab the buyer’s email using “Get Order” first.

Cheers!