delete
https://{subdomain}.myshoplaza.com/openapi/2025-06/products/
Delete a product by its ID.
Requireswrite_productaccess 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:
-
Deleting obsolete or incorrect product entries to maintain catalog accuracy.
-
Cleaning up test or sample products from the system.
-
Removing products no longer available in inventory or for sale.
Request Parameters
Public Request Parameters
Path Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
product_id | string | yes | Specifies which product is to be retrieved. | "prod_123" |
Response Explanation
Public Response Parameters
Successful Response
| Parameter | Type | Example | Description |
|---|---|---|---|
code | string | "200" | HTTP status code |
message | string | "Success" | Operation result message |
data | - |
Error Response
| Field | Type | Example | Description |
|---|---|---|---|
code | string | InvalidParameter | Error http message |
message | string | `` | Error message |
