Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Inventory /CreateCategory

Allows 150 calls per minute

Response: Category



Use this call to create new category

Parameters

NameTypeDescription
categoryNameStringCategory name

Example Request

The following request format is required for this method.

Endpoint URL

GET | POST https://eu-ext.linnworks.net/api/Inventory/CreateCategory

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.

categoryName=sample string 1

Response

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

{
  "CategoryId": "d7f1710a-2f94-418d-a8c7-43f1e17b79eb",
  "CategoryName": "sample string 2",
  "StructureCategoryId": 1,
  "ProductCategoryId": 1
}