Products

Deletes a product. Only products with no memberships, entries, reviews, or invoices can be deleted.

delete/products/{id}

Request

  • Base URL: https://api.whop.com/api/v1
  • URL: https://api.whop.com/api/v1/products/{id}
  • Auth: HTTP bearer

Response

product deleted

deletedboolean required

Always true.

idstring required

ID of the deleted product.

Example response

{
  "deleted": true,
  "id": "prod_xxxxxxxxxxxxxx"
}

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      the security scope access_pass:delete was added to the endpoint's security scheme bearerAuth

    • info

      the security scope product:delete was removed from the endpoint's security scheme bearerAuth