---
title: ODPClient
slug: data-platform/connect-platform/node-sdk-api-reference-classes-odpclient
docTags: 
createdAt: 2026-08-05T20:06:33.394Z
---

[ODP Node SDK](docId\:gxEU_0AA37IEZJK-uoVcT)

***

[ODP Node SDK](docId\:gxEU_0AA37IEZJK-uoVcT) / ODPClient

# Class: ODPClient

Defined in: [src/Api/ODPClient.ts:24](https://github.com/ZaiusInc/node-sdk/blob/8c86908a179d8d1a3a54466e27e16762587be133/src/Api/ODPClient.ts#L24)

## Extended by

- [`` `ReconfigurableODPClient` ``](docId\:WMVcegjR_bxfAG7BL31lY)

## Constructors

### Constructor

:::BlockQuote
**new ODPClient**(`config`): `ODPClient`
:::

Defined in: [src/Api/ODPClient.ts:45](https://github.com/ZaiusInc/node-sdk/blob/8c86908a179d8d1a3a54466e27e16762587be133/src/Api/ODPClient.ts#L45)

### Parameters

### config

`null` | `Config` | `InternalConfig`

### Returns

`ODPClient`

## Properties

### identifier

:::BlockQuote
**identifier**: `Identifier`
:::

Defined in: [src/Api/ODPClient.ts:33](https://github.com/ZaiusInc/node-sdk/blob/8c86908a179d8d1a3a54466e27e16762587be133/src/Api/ODPClient.ts#L33)

Manage customer identifiers using the v3 APIs

***

### list

:::BlockQuote
**list**: `Lists`
:::

Defined in: [src/Api/ODPClient.ts:38](https://github.com/ZaiusInc/node-sdk/blob/8c86908a179d8d1a3a54466e27e16762587be133/src/Api/ODPClient.ts#L38)

Manage list subscriptions using the v3 APIs

***

### schema

:::BlockQuote
**schema**: [`` `Schema` ``](docId\:UULNm1auFRYe2dOWFaYC5)
:::

Defined in: [src/Api/ODPClient.ts:28](https://github.com/ZaiusInc/node-sdk/blob/8c86908a179d8d1a3a54466e27e16762587be133/src/Api/ODPClient.ts#L28)

Manage schema (ODP domain objects and fields) using the v3 APIs

***

### v3Api

:::BlockQuote
**v3Api**: [`` `API` ``](docId\:M8TiC_ggD3UbZu73jyhGi)
:::

Defined in: [src/Api/ODPClient.ts:43](https://github.com/ZaiusInc/node-sdk/blob/8c86908a179d8d1a3a54466e27e16762587be133/src/Api/ODPClient.ts#L43)

Direct access to query any API by path using the v3 API helper

## Methods

### customer()

:::BlockQuote
**customer**(`payload`, `opts?`): `Promise`\<[`` `HttpResponse` ``](docId\:kJVh4unow0AlnsLM0c91Q)\<[`` `CustomerResponse` ``](docId\:gS1GIMgA4RWyuT-H0RK_E)>>
:::

Defined in: [src/Api/ODPClient.ts:62](https://github.com/ZaiusInc/node-sdk/blob/8c86908a179d8d1a3a54466e27e16762587be133/src/Api/ODPClient.ts#L62)

Create or Update a customer profile in ODP using the v3 profiles API

### Parameters

### payload

[`` `CustomerPayload` ``](docId\:jkvJViw_1GsOowIRu6oja) | [`` `CustomerPayload` ``](docId\:jkvJViw_1GsOowIRu6oja)\[]

### opts?

[`` `PayloadOptions` ``](docId:5qPanRhjTFsuT38y6Gy-G)

### Returns

`Promise`\<[`` `HttpResponse` ``](docId\:kJVh4unow0AlnsLM0c91Q)\<[`` `CustomerResponse` ``](docId\:gS1GIMgA4RWyuT-H0RK_E)>>

***

### event()

:::BlockQuote
**event**(`payload`): `Promise`\<[`` `HttpResponse` ``](docId\:kJVh4unow0AlnsLM0c91Q)\<[`` `EventResponse` ``](docId\:NV6r9sjdc_6Dhs0_dvf6S)>>
:::

Defined in: [src/Api/ODPClient.ts:55](https://github.com/ZaiusInc/node-sdk/blob/8c86908a179d8d1a3a54466e27e16762587be133/src/Api/ODPClient.ts#L55)

Send an event to ODP using the v3 event API

### Parameters

### payload

[`` `EventPayload` ``](docId\:wPncjf6QwaPMeEmbswmmx) | [`` `EventPayload` ``](docId\:wPncjf6QwaPMeEmbswmmx)\[]

### Returns

`Promise`\<[`` `HttpResponse` ``](docId\:kJVh4unow0AlnsLM0c91Q)\<[`` `EventResponse` ``](docId\:NV6r9sjdc_6Dhs0_dvf6S)>>

***

### graphql()

:::BlockQuote
**graphql**\<`T`>(`query`, `variables?`): `Promise`\<`GqlHttpResponse`\<`T`>>
:::

Defined in: [src/Api/ODPClient.ts:79](https://github.com/ZaiusInc/node-sdk/blob/8c86908a179d8d1a3a54466e27e16762587be133/src/Api/ODPClient.ts#L79)

Query data using the GraphQL API

### Type Parameters

### T

`T` *extends* [`` `V3Response` ``](docId\:Ymt8R5EsKRYBHwqG3pJkL)

### Parameters

### query

`string`

### variables?

### Returns

`Promise`\<`GqlHttpResponse`\<`T`>>

***

### object()

:::BlockQuote
**object**(`type`, `payload`, `opts?`): `Promise`\<[`` `HttpResponse` ``](docId\:kJVh4unow0AlnsLM0c91Q)\<[`` `ObjectResponse` ``](docId\:Fg0htEGqcx00Vcvflv-lB)>>
:::

Defined in: [src/Api/ODPClient.ts:70](https://github.com/ZaiusInc/node-sdk/blob/8c86908a179d8d1a3a54466e27e16762587be133/src/Api/ODPClient.ts#L70)

Create or Update an object in ODP using the v3 objects API

### Parameters

### type

`string`

### payload

[`` `ObjectPayload` ``](docId\:jkvJViw_1GsOowIRu6oja) | [`` `ObjectPayload` ``](docId\:jkvJViw_1GsOowIRu6oja)\[]

### opts?

[`` `PayloadOptions` ``](docId:5qPanRhjTFsuT38y6Gy-G)

### Returns

`Promise`\<[`` `HttpResponse` ``](docId\:kJVh4unow0AlnsLM0c91Q)\<[`` `ObjectResponse` ``](docId\:Fg0htEGqcx00Vcvflv-lB)>>
