Modifier

Partager via


itemVariant resource type

Represents an item variant in Business Central.

Note

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

Methods

Method Return Type Description
GET itemVariant itemVariant Gets a item variant object.
DELETE itemVariant none Deletes a item variant object.
POST itemVariant itemVariant Creates a item variant object.
PATCH itemVariant itemVariant Updates a item variant object.
Navigation Return Type Description
item item Gets the item of the itemVariant.

Properties

Property Type Description
id GUID The unique ID of the item variant. Non-editable.
itemId GUID The ID of the item in the item variant.
itemNumber string The name of the item in the item variant.
code string The code of the item variant.
description string Specifies the description of the item variant.
lastModifiedDateTime datetime The last datetime the item variant was modified. Read-Only.

JSON representation

Here is a JSON representation of the itemVariant resource.

{
    "id": "GUID",
    "itemId": "GUID",
    "itemNumber": "string",
    "code": "string",
    "description": "string",
    "lastModifiedDateTime": "datetime"
}

GET itemVariant
DELETE itemVariant
POST itemVariant
PATCH itemVariant