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.

Headers

NameTypeDescription
AuthorizationstringoAuth token with mandatory Bearer before it. Example: Bearer e***s0, where e***s0 should be replaced with your oAuth token.

Response

A JSON object of type 'DeleteStatus' 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
Authorization
Query