> ## Documentation Index
> Fetch the complete documentation index at: https://docs.solvapay.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete a product

> 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.



## OpenAPI

````yaml /api-reference/openapi.json delete /v1/sdk/products/{productRef}
openapi: 3.0.0
info:
  contact: {}
  description: The SolvaPay REST API specification
  title: SolvaPay REST API
  version: '1.0'
servers: []
security: []
tags: []
paths:
  /v1/sdk/products/{productRef}:
    delete:
      tags:
        - Products
      summary: Delete a product
      description: >-
        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.
      operationId: ProductSdkController_deleteProduct
      parameters:
        - description: Product reference or ID
          in: path
          name: productRef
          required: true
          schema:
            example: prd_1A2B3C4D
            type: string
      responses:
        '200':
          description: Product deleted or deactivated successfully
        '404':
          description: Product not found
      security:
        - bearer: []
components: {}

````