---
title: "Delete a product"
method: DELETE
path: "/v1/sdk/products/{productRef}"
tags: ["Products"]
---

# Delete a product

`DELETE /v1/sdk/products/{productRef}`

Deletes a product permanently in sandbox. In live mode, soft-deletes (preserves data but hides from listings). If the product has purchases in live mode, deactivates instead.

## Path parameters

- `productRef` string, required

## Response `200`

Product deleted or deactivated successfully

- object
  - `action` 'deleted' | 'deactivated' | 'soft_deleted' — Outcome of the delete: hard delete in sandbox, soft-delete or deactivation in live depending on existing purchases
  - `success` boolean

## Other responses

- `404` — Product not found

## Changes

- **2026-07-04** `a30b6aef464d` — 3 info
  - the endpoint scheme security `SecretKey` was added to the API
  - the endpoint scheme security `bearer` was removed from the API
  - added the media type `application/json` for the response with the status `200`
- **2026-02-27** `9079f361f51c` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/solvapay/apis/solvapay-rest-api/changes/v1/sdk/products/:productRef/delete.md)

---

[API](https://skmtc.dev/solvapay/apis/solvapay-rest-api.md) · [All operations](https://skmtc.dev/solvapay/apis/solvapay-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/solvapay/solvapay-rest-api/revisions/d29ab7373802/schema)
