import Stigg from '@stigg/typescript';
const client = new Stigg({
apiKey: process.env['STIGG_API_KEY'], // This is the default and can be omitted
});
const customerIntegrationResponse = await client.v1.customers.integrations.retrieve(
'integrationId',
{ id: 'id' },
);
console.log(customerIntegrationResponse.data);{
"data": {
"id": "<string>",
"vendorIdentifier": "AUTH0",
"syncedEntityId": "<string>",
"syncData": {
"billingId": "<string>",
"billingLinkUrl": "<string>",
"priceGroupPackageBillingId": "<string>"
}
}
}Retrieves a specific integration for a customer by integration ID.
import Stigg from '@stigg/typescript';
const client = new Stigg({
apiKey: process.env['STIGG_API_KEY'], // This is the default and can be omitted
});
const customerIntegrationResponse = await client.v1.customers.integrations.retrieve(
'integrationId',
{ id: 'id' },
);
console.log(customerIntegrationResponse.data);{
"data": {
"id": "<string>",
"vendorIdentifier": "AUTH0",
"syncedEntityId": "<string>",
"syncData": {
"billingId": "<string>",
"billingLinkUrl": "<string>",
"priceGroupPackageBillingId": "<string>"
}
}
}Server API Key
Customer slug
1 - 255^[a-zA-Z0-9][a-zA-Z0-9_|.@-]*$Integration details
255The customer integration object.
Response object
External billing or CRM integration link
Show child attributes