Products

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.

delete/v1/sdk/products/{productRef}

Path parameters

productRefstring required
Example:prd_1A2B3C4D

Product reference or ID

Response

Product deleted or deactivated successfully

action'deleted' | 'deactivated' | 'soft_deleted'

Outcome of the delete: hard delete in sandbox, soft-delete or deactivation in live depending on existing purchases

successboolean

Changes

Changed in 2 of the 27 revisions of this API.4

    • the endpoint scheme security SecretKey was added to the API

      api-security-added

    • the endpoint scheme security bearer was removed from the API

      api-security-removed

    • added the media type application/json for the response with the status

      response-media-type-added

    This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added

    This revision also has 7 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog