cURL
curl --request DELETE \ --url https://api-eu.flexportal.io/v1/products/{productId} \ --header 'Authorization: Bearer <token>' \ --header 'Tenant-ID: <tenant-id>'
{ "success": true, "message": "<string>", "productId": "<string>", "productSku": "<string>" }
Soft deletes a product by setting status to discontinued. Also deactivates all associated variants.
API key obtained from FlexPortal dashboard
Your tenant identifier
The product ID
Product deleted
true
false