---
title: "Search customer context"
method: GET
path: "/customers/context"
tags: ["Customers"]
---

# Search customer context

`GET /customers/context`

## Request

- Base URL: `https://app-sandbox.resolvepay.com/api`
- URL: `https://app-sandbox.resolvepay.com/api/customers/context`
- Auth: one of:
  - HTTP bearer
  - HTTP basic
- TypeScript: <https://skmtc.dev/resolvepay/apis/resolve-api-reference/docs/customers/context/get.ts> (a function with typed inputs; its response is checked against the schema)

Search customer relationships for invoice creation context.

## Query parameters

- `search` string
- `limit` integer

## Response `200`

Customer relationships available for invoice creation.

- CustomerContextResponse
  - `results` object[], required
    - `id` string, required: Merchant customer relationship ID.
    - `name` string, nullable, required
    - `email` string, email, nullable
    - `phone` string, nullable
    - `address` string, nullable
    - `available_credit` number, nullable
    - `advance_rate` number, nullable

## Other responses

- `401`: Unauthorized error
- `429`: Rate limit error

---

[API](https://skmtc.dev/resolvepay/apis/resolve-api-reference.md) - [All operations](https://skmtc.dev/resolvepay/apis/resolve-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/resolvepay/apis/resolve-api-reference/revisions/c62edc454aaa?raw)
