Customer data in order details
Last updated
Was this helpful?
Last updated
Was this helpful?
Get the following data about the customer who placed the order with Ecwid API:
Customer email
Shipping and billing address left by the customer at the checkout
Customer's phone number
Order comments left by the customer at the checkout
Internal IDs of the customer and their group for REST API calls
Browser/device used by the customer to place the order
Customer's IP address
You can filter out everything in the order details except for the customer data with the responseFields
query param.
Change STOREID
with your store ID, ORDERID
with the order ID (), and the secret_token
with the secret access token of your app.
If some fields are missing in the response, Ecwid couldn't get these details at the checkout, or the order wasn't placed through it. The only fields that should always be in the response are: email
and customerId
.