Products

Delete a product

Changed on

Soft-deletes a product (hides it from listings, restorable). If the product has any purchases, deactivates it instead so the catalog row stays resolvable. Same rule in sandbox and live.

delete/v1/sdk/products/{productRef}

Request

Path parameters

productRefstring required
Example:prd_1A2B3C4D

Product reference or ID

Response

Product deleted or deactivated successfully

action'deactivated' | 'soft_deleted'

Outcome of the delete: deactivation when purchases exist, otherwise soft-delete. Same in sandbox and live.

successboolean

Changes

    • info

      removed the deleted enum value from the response property for the response status

    • info

      the endpoint scheme security SecretKey was added to the API

    • info

      the endpoint scheme security bearer was removed from the API

    • info

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