Delete Product

Delete a product by its ID.

🔒

Requires write_product access scope. For more access scope

The Delete Product API allows users to remove a specific product from the catalog by providing its unique product_id. This operation is irreversible and permanently deletes the product and its associated data, such as variants and images, from the system. It is crucial to ensure the product_id is valid and correct before making this request.This API is especially useful for:

  1. Deleting obsolete or incorrect product entries to maintain catalog accuracy.

  2. Cleaning up test or sample products from the system.

  3. Removing products no longer available in inventory or for sale.

Request Parameters

Public Request Parameters

📘

Path Parameters

ParameterTypeRequiredDescriptionExample
product_idstringyesSpecifies which product is to be retrieved."prod_123"

Response Explanation

Public Response Parameters

📘

Successful Response

ParameterTypeExampleDescription
codestring"200"HTTP status code
messagestring"Success"Operation result message
data-

Error Response

FieldTypeExampleDescription
codestringInvalidParameterError http message
messagestring``Error message
Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!