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.unlink('integrationId', {
id: 'id',
});
console.log(customerIntegrationResponse.data);{
"data": {
"id": "<string>",
"vendorIdentifier": "AUTH0",
"syncedEntityId": "<string>",
"syncData": {
"billingId": "<string>",
"billingLinkUrl": "<string>",
"priceGroupPackageBillingId": "<string>"
}
}
}Removes the link between a customer and an external integration.
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.unlink('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 removed customer integration object.
Response object
External billing or CRM integration link
Show child attributes