itemCategories resource type (v1.0)

NEW VERSION This is v1.0 of the Business Central API. For the newest version, see Business Central API (V2.0).

Represents a category for a number of items in Business Central.

Note


For information about enabling APIs for Business Central see Enabling the APIs for Dynamics 365 Business Central.

Methods

MethodReturn TypeDescription
GET itemCategoriesitemCategoriesGet an item category.
POST itemCategoriesitemCategoriesCreate an item category.
PATCH itemCategoriesitemCategoriesUpdate an item category.
DELETE itemCategoriesnoneDelete an item category.

Properties

PropertyTypeDescription
idGUIDThe unique ID of the itemCategory. Non-editable.
codestringThe itemCategory code.
displayNamestringThe itemCategories display name.
lastModifiedDateTimedatetimeThe last datetime the itemCategory was modified. Read-Only.

Relationships

None

JSON representation

Here is a JSON representation of the itemCategories.

{
  "id": "GUID",
  "code": "string",
  "displayName": "string",
  "lastModifiedDateTime": "datetime"
}

Error Codes
Get Item Categories
Create Item Categories
Update Item Categories
Delete Item Categories