---
title: "Soft-delete (deactivate) a product"
method: DELETE
path: "/api/v1/products/{id}"
tags: ["Money"]
---

# Soft-delete (deactivate) a product

`DELETE /api/v1/products/{id}`

## Request

- Base URL: `https://saltapp.ai`
- URL: `https://saltapp.ai/api/v1/products/{id}`
- Auth: one of:
  - API key in header `api-key`
  - OAuth 2 (authorization code, authorization URL `https://saltapp.ai/oauth2/authorize`, token URL `https://saltapp.ai/api/oauth2/token`, scopes: `money`)

Sets active:false; never hard-deletes, since past invoices snapshot this row.

## Path parameters

- `id` string, required

## Response `200`

OK

- Product: Product#as_chat_resource -- a seller's shop listing (one_time/metered/subscription).
  - `id` string, uuid, required
  - `seller_id` string, uuid, required
  - `name` string, required
  - `description` string, nullable
  - `kind` 'one_time' | 'metered' | 'subscription', required
  - `price` string, required: A plain human-decimal amount, e.g. "1.50" -- never a float, never scientific notation.
  - `unit` string, nullable
  - `interval` string, nullable
  - `covers_messages` boolean
  - `active` boolean
  - `wallet` object, nullable
    - `id` string, uuid
    - `chain` string
    - `testnet` boolean
    - `public_address` string
    - `wallet_type` string, nullable
    - `name_3` string

## Other responses

- `401`: Missing or invalid credentials.

---

[API](https://skmtc.dev/saltapp/apis/salt-agent-api.md) · [All operations](https://skmtc.dev/saltapp/apis/salt-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/saltapp/apis/salt-agent-api/revisions/a8b8642ab7f8?raw)
