curl --location --request DELETE 'https://integrations.projectcor.com/v2/integrations/products/EXT-PROD-12345' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"metadata": {
"source": "MICROSOFT_DYNAMICS"
}
}'
import requests
url = "https://integrations.projectcor.com/v2/integrations/products/EXT-PROD-12345"
payload = {
"metadata": {
"source": "MICROSOFT_DYNAMICS"
}
}
headers = {
"Authorization": "Bearer YOUR_ACCESS_TOKEN",
"Content-Type": "application/json"
}
response = requests.delete(url, json=payload, headers=headers)
print(response.status_code)
const response = await fetch(
'https://integrations.projectcor.com/v2/integrations/products/EXT-PROD-12345',
{
method: 'DELETE',
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Content-Type': 'application/json'
},
body: JSON.stringify({
metadata: {
source: 'MICROSOFT_DYNAMICS'
}
})
}
);
console.log(response.status);
{
"message": "Entity deleted successfully"
}
{
"error": "ProductNotFoundError",
"message": "Product with external ID 'EXT-PROD-12345' not found",
"code": "ZC004"
}
Products
Delete Product
Deletes a product from your COR instance using its external ID
DELETE
/
v2
/
integrations
/
products
/
{id}
curl --location --request DELETE 'https://integrations.projectcor.com/v2/integrations/products/EXT-PROD-12345' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"metadata": {
"source": "MICROSOFT_DYNAMICS"
}
}'
import requests
url = "https://integrations.projectcor.com/v2/integrations/products/EXT-PROD-12345"
payload = {
"metadata": {
"source": "MICROSOFT_DYNAMICS"
}
}
headers = {
"Authorization": "Bearer YOUR_ACCESS_TOKEN",
"Content-Type": "application/json"
}
response = requests.delete(url, json=payload, headers=headers)
print(response.status_code)
const response = await fetch(
'https://integrations.projectcor.com/v2/integrations/products/EXT-PROD-12345',
{
method: 'DELETE',
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Content-Type': 'application/json'
},
body: JSON.stringify({
metadata: {
source: 'MICROSOFT_DYNAMICS'
}
})
}
);
console.log(response.status);
{
"message": "Entity deleted successfully"
}
{
"error": "ProductNotFoundError",
"message": "Product with external ID 'EXT-PROD-12345' not found",
"code": "ZC004"
}
Deletes a product from your COR instance using its external ID. This performs a soft delete, marking the product as deleted while preserving historical data for audit purposes.
Path Parameters
string
required
External product ID that was used when creating the product
Request Body Requirements
object
required
Show properties
Show properties
string
required
Integration source identifier. Must be one of:
JIRA, SALESFORCE, ADVERTMIND, QUICKBOOKS, ZAPIER, OKTA, MICROSOFT_DYNAMICS, GITHUB, MICROSOFT_TEAMS, VBS, SAP, GLOBANTKnown Errors
ProductNotFoundError— No product found with the specified external ID for this sourceValidationError— Missing requiredmetadata.sourcefieldDeletionError— Product cannot be deleted due to existing project associations
curl --location --request DELETE 'https://integrations.projectcor.com/v2/integrations/products/EXT-PROD-12345' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"metadata": {
"source": "MICROSOFT_DYNAMICS"
}
}'
import requests
url = "https://integrations.projectcor.com/v2/integrations/products/EXT-PROD-12345"
payload = {
"metadata": {
"source": "MICROSOFT_DYNAMICS"
}
}
headers = {
"Authorization": "Bearer YOUR_ACCESS_TOKEN",
"Content-Type": "application/json"
}
response = requests.delete(url, json=payload, headers=headers)
print(response.status_code)
const response = await fetch(
'https://integrations.projectcor.com/v2/integrations/products/EXT-PROD-12345',
{
method: 'DELETE',
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Content-Type': 'application/json'
},
body: JSON.stringify({
metadata: {
source: 'MICROSOFT_DYNAMICS'
}
})
}
);
console.log(response.status);
{
"message": "Entity deleted successfully"
}
{
"error": "ProductNotFoundError",
"message": "Product with external ID 'EXT-PROD-12345' not found",
"code": "ZC004"
}
Was this page helpful?
⌘I

