Skip to content
View as Markdown
View as Markdown

@salesforce/b2c-tooling-sdk / operations/metrics / getThirdPartyMetrics

Function: getThirdPartyMetrics()

getThirdPartyMetrics(client, tenantId, options?): Promise<{ }>

Defined in: packages/b2c-tooling-sdk/src/operations/metrics/index.ts:530

Retrieves third-party service call metrics for an organization.

Parameters

client

MetricsClient

Metrics API client from createMetricsClient

tenantId

string

Tenant ID (with or without the f_ecom_ prefix)

options?

ThirdPartyMetricsOptions

Optional time window and thirdPartyServiceId filter

Returns

Promise<{ }>

The metrics data response

Throws

Error if the request fails

Released under the Apache-2.0 License.