Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Inventory /DeleteScrapCategories

Allows 150 calls per minute

Response: Void



Used to delete scrap categories

Parameters

NameTypeDescription
requestDeleteScrapCategoriesRequestObject with List of scrap category ids

Permissions

GlobalPermissions.Inventory.ScrapItems.ScrapCategoriesNode

Example Request

The following request format is required for this method.

Get

Endpoint URL

This is an example of the request structure. Results will vary depending on your data.

GET https://eu-ext.linnworks.net/api/Inventory/DeleteScrapCategories?request=%7B%0D%0A%20%20%22CategoryIds%22%3A%20%5B%0D%0A%20%20%20%201%0D%0A%20%20%5D%0D%0A%7D

Headers

Connection: keep-alive
Accept: application/json
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE

Post

Endpoint URL

POST https://eu-ext.linnworks.net/api/Inventory/DeleteScrapCategories

Headers

Connection: keep-alive
Accept: application/json
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE

Request Body

This is an example of the request structure. Results will vary depending on your data.

request={
  "CategoryIds": [
    1
  ]
}

Response

This is an example of the response JSON. Results will vary depending on your data.