Skip to main content
DELETE
/
api
/
v1
/
product
/
{id}
Excluir Produto
curl --request DELETE \
  --url https://api.selltrust.com.br/api/v1/product/{id} \
  --header 'Authorization: <authorization>'
{
  "id": "uuid-do-produto",
  "store_id": "uuid-da-loja",
  "category_id": "uuid-da-categoria",
  "title": "Meu Produto",
  "slug": "meu-produto",
  "description": "<p>Detalhes...</p>",
  "images": [],
  "hide_product": false,
  "is_bundle": false,
  "price": 99.9,
  "comparison_price": 129.9,
  "min_quantity": null,
  "inventory_amount": 10,
  "parent_id": null,
  "sales_count": 0,
  "chat_enabled": false,
  "chat_welcome_message": null,
  "instructions": null,
  "created_at": "2024-01-01T00:00:00.000Z",
  "updated_at": "2024-01-01T00:00:00.000Z"
}
Exclui permanentemente o produto e, caso seja bundle, suas variantes vinculadas em cascata.
Authorization
string
required
Token de acesso no formato Bearer <seu_token>.
{
  "id": "uuid-do-produto",
  "store_id": "uuid-da-loja",
  "category_id": "uuid-da-categoria",
  "title": "Meu Produto",
  "slug": "meu-produto",
  "description": "<p>Detalhes...</p>",
  "images": [],
  "hide_product": false,
  "is_bundle": false,
  "price": 99.9,
  "comparison_price": 129.9,
  "min_quantity": null,
  "inventory_amount": 10,
  "parent_id": null,
  "sales_count": 0,
  "chat_enabled": false,
  "chat_welcome_message": null,
  "instructions": null,
  "created_at": "2024-01-01T00:00:00.000Z",
  "updated_at": "2024-01-01T00:00:00.000Z"
}