Delete product type

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

FieldTypeDescription
deleteCountnumberThe 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 StatusMeaning
400Request parameters are malformed
500Cannot retrieve the product type info because of an error on the server
Language
Click Try It! to start a request and see the response here!