title | description | author | ms.topic | ms.devlang | ms.date | ms.author | ms.reviewer |
---|---|---|---|---|---|---|---|
itemVariant resource type |
An item variant object in Dynamics 365 Business Central. |
SusanneWindfeldPedersen |
reference |
al |
04/09/2024 |
solsen |
solsen |
[!INCLUDEapi_v2_note]
Represents an item variant in [!INCLUDEprod_short].
Note
For information about enabling APIs for [!INCLUDEprod_short] see Enabling the APIs for Dynamics 365 Business Central.
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. |
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. |
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