cURL
curl --request DELETE \ --url https://faisalshop.mvp-apps.ae/api/v2/admin/products/{id} \ --header 'Authorization: Bearer <token>' \ --header 'X-Tenant-ID: <x-tenant-id>'
curl -X DELETE \ https://faisalshop.mvp-apps.ae/api/v2/admin/products/42 \ -H 'Authorization: Bearer YOUR_TOKEN' \ -H 'X-Tenant-ID: 123'
await axios.delete( `/api/v2/admin/products/${productId}`, { headers: { Authorization: `Bearer ${token}`, 'X-Tenant-ID': tenantId } } );
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Tenant ID for multi-tenancy
Product deleted