Referencia APIv1ProductsBy ID

Delete a product

Permanently remove a product from the store.

DELETE
/v1/products/{id}
X-API-Key<token>

Per-store API key created in the dashboard at Settings > Developer > API Keys.

In: header

Path Parameters

id*string
Length1 <= length

Response Body

application/json

application/json

curl -X DELETE "https://api.whatalo.com/v1/products/472819365047"
{
  "data": {
    "deleted": true
  }
}
{
  "error": {
    "code": "VALIDATION_ERROR",
    "message": "Invalid request body",
    "details": [
      {
        "field": "string",
        "message": "string"
      }
    ]
  }
}