delete https://app.ecwid.com/api/v3//classes/
Delete a specific product type and its assigned attributes. The products that belong to this type will not be removed. They will be re-assigned to the General type.
Access scopes
Requires the following access scope: update_catalog
Response
A JSON object with the following fields:
DeleteStatus
Field | Type | Description |
---|---|---|
deleteCount | number | The number of deleted types (1 or 0 depending on whether the request was successful). It returns 0 when the type with the given ID is not found |
Errors
In case of error, Ecwid responds with an error HTTP status code
HTTP codes
HTTP Status | Meaning |
---|---|
400 | Request parameters are malformed |
500 | Cannot retrieve the product type info because of an error on the server |