Skip to main content
GET
/
dev
/
v1
/
customers
/
{id}
Get customer
curl --request GET \
  --url https://api.shoppex.io/dev/v1/customers/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "cus_1",
    "shop_id": "shop_1",
    "email": "[email protected]",
    "name": "Berlin Buyer",
    "surname": null,
    "phone": "+491234567",
    "phone_country_code": null,
    "country_code": "DE",
    "street_address": "Teststrasse 1",
    "additional_address_info": null,
    "city": "Berlin",
    "postal_code": "10115",
    "state": null,
    "affiliate_revenue": 0,
    "affiliate_revenue_currency": "USD",
    "affiliate_revenue_percent": 0,
    "customer_balance": 12,
    "customer_balance_currency": "EUR",
    "created_at": 1710686400
  }
}

Authorizations

Authorization
string
header
required

Use your Shoppex API key in the Authorization header.

Path Parameters

id
string
required

Query Parameters

include_affiliate
string
includeAffiliate
string

Response

200 - application/json

Successful response

data
object