Soft deletes a product by setting status to discontinued. Also deactivates all associated variants.
discontinuedinactive| Error Code | Cause | Solution |
|---|---|---|
NOT_FOUND | Product doesn’t exist | Verify product ID |
PRODUCT_HAS_ACTIVE_ORDERS | Cannot delete with pending orders | Complete or cancel orders first |
API key obtained from FlexPortal dashboard
Your tenant identifier
The product ID