Products

Delete Product

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

delete/products/{id}

Response

product deleted

deletedboolean required

Always true.

idstring required

ID of the deleted product.

Example response

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

Changes

Changed in 3 of the 74 revisions of this API.16

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

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

    • ○

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

      api-security-scope-added

    • ○

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

      api-security-scope-removed

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

  • 60bbb4a6ffbc12See the full diff
    • ▲

      the response's body type changed from boolean to object for status

      response-body-type-changed

    • ○

      added the required property to the response with the status

      response-required-property-added

    • ○

      added the required property to the response with the status

      response-required-property-added

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

Of the 74 revisions, 1 has no diff computed.