Delete products

Products and their variants can be deleted both from the user interface, as well as programmatically through the Product Library API. You can delete a single product, or multiple products in one request.

Prerequisites

  • Authorisation setup with the correct scope, and a valid authorisation token. See Product library concept.
  • Required access right: READ:PRODUCT, WRITE:PRODUCT.
  • The UUID for the product(s) to delete. See Fetch products.

Delete a single product

The request deletes a specific product with a known UUID from the product library.

1
DELETE /organizations/self/products/{productUuid}

Example: This request deletes a product with the UUID 038c9108-8b7a-148d-8d90-55b492326863.

Request

1
DELETE /organizations/self/products/038c9108-8b7a-148d-8d90-55b492326863

Response

The response returns on 204 No content message after succesful deletion. If needed, confirm the deletion using GET /organizations/self/products/{productUuid}.

Delete multiple products in one request

The request deletes a list products with a given UUIDs, from the product library. The list is created by adding the product UUIDs separated by "&", like organizations/self/products?uuid=UUID&uuid=UUID&uuid=UUID&uuid....

1
DELETE /organizations/self/products

Example: This requests deletes two product with UUIDs 69aa5acd-6aec-1a68-8510-aa7a4eb62231 and 00bb7009-6848-14f0-a718-7ae1099b2155.

Request

1
DELETE /organizations/self/products?uuid=69aa5acd-6aec-1a68-8510-aa7a4eb62231&uuid=00bb7009-6848-14f0-a718-7ae1099b2155

Response

The response returns on 204 No content message after succesful deletion. If needed, confirm the deletion using GET /organizations/self/products/{productUuid}.