Delete Categories

You already able to insert and update the categories, but you haven't be able to delete any categories. So, here is the endpoint to delete your categories.

DELETE#

https://api.altoshift.com/api/delete/categories

Header#

FieldTypeDescription
x-tokenStringtoken Users unique token

Request Header Example#

{
"x-token": "2b46ad0b537229cf450777dcc655a8620571e18556c473f065f44739"
}

Request Body#

FieldTypeDescription
ids optionalString[]String of category ids

Request Body Example#

{
"ids": [
"101",
"102"
]
}

Success 200#

FieldTypeDescription
successBooleanRequest was successful

Success Response Example#

{
"success": true
}