GET
/
customers
/
{customer_id}
/
contacts
List Contacts
curl --request GET \
  --url https://api.wizcommerce.com/v1/customers/{customer_id}/contacts \
  --header 'X-API-Key: <api-key>'
{
  "data": [
    {
      "id": "0c05a9a7-84ed-46f0-819b-653545730920",
      "reference_id": "CUS123",
      "first_name": "John",
      "last_name": "Doe",
      "email": "john.doe@example.com",
      "phone": "+14155552671",
      "designation": "Sales Manager",
      "status": "active",
      "is_default": false,
      "created_at": "2025-01-01T15:04:05Z",
      "updated_at": "2025-01-01T15:04:05Z"
    }
  ],
  "pagination": {
    "total_records": 100,
    "total_pages": 10,
    "current_page": 1,
    "next_page": 2,
    "prev_page": 0,
    "page_size": 10
  }
}

Authorizations

X-API-Key
string
header
required

API Key for authentication

Path Parameters

customer_id
string
required

customer_id

Query Parameters

page
integer
Required range: x >= 1
created_after
string

format: 2006-01-02T15:04:05Z (ISO 8601) UTC

created_before
string

format: 2006-01-02T15:04:05Z (ISO 8601) UTC

page_size
integer
Required range: 1 <= x <= 100
updated_after
string

format: 2006-01-02T15:04:05Z (ISO 8601) UTC

updated_before
string

format: 2006-01-02T15:04:05Z (ISO 8601) UTC

sort
enum<string>
default:desc
Available options:
asc,
desc
sort_by
enum<string>
default:updated_at
Available options:
created_at,
updated_at
status
enum<string>
default:active
Available options:
active,
inactive

Response

200
application/json

OK

The response is of type object.