Skip to main content
DELETE
/
products
/
{productId}
Delete Product
curl --request DELETE \
  --url https://staging-api.puppetvendors.com/products/{productId} \
  --header 'x-access-token: <api-key>'
V2 Preview — This endpoint is part of the V2 API preview. Breaking changes may occur.

Overview

Delete a product from Shopify and soft-delete it in the local database. Accepts a Shopify numeric ID, Shopify GID, or MongoDB ObjectId. Vendor tokens can only delete their own products.

Path Parameters

productId
string
required
Product ID (Shopify numeric, GID, or MongoDB ObjectId).

Response

200
{
  "success": true,
  "data": { "deleted": true }
}

Example

curl -X DELETE "https://staging-api.puppetvendors.com/products/507f1f77bcf86cd799439013" \
  -H "x-access-token: YOUR_VENDOR_JWT"