TypeScript
import { Autumn } from 'autumn-js';
const autumn = new Autumn();
const { data, error } = await autumn.products.delete('product_id');{
"success": true
}Products
Delete Product
DELETE
/
products
/
{product_id}
TypeScript
import { Autumn } from 'autumn-js';
const autumn = new Autumn();
const { data, error } = await autumn.products.delete('product_id');{
"success": true
}If the product has been attached to a customer before, then it cannot be deleted, and an error will be returned.
all_versions query parameter.⌘I

