---
title: "Create a Inventory Item Detail"
slug: "create-a-inventory-item-detail"
updated: 2026-05-26T12:53:14Z
published: 2026-05-26T12:53:48Z
canonical: "developers.cmicglobal.com/create-a-inventory-item-detail"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://developers.cmicglobal.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a Inventory Item Detail

Post/ci-rest-api/rest/1/ciitemdetail

## Create Inventory Item Details

UI Location: ASSET MANAGEMENT - Inventory - Setup - Item Master

### 

SecurityHTTPType basic

Basic authentication

Header parametersContent-TypestringExampleapplication/vnd.oracle.adf.resourceItem+json

Body parameters<select class='api-response-data' aria-label='Media type'><option value='97cda971-f83e-4ecf-919c-3b3b09a53dd7'>application/json</option>
</select>object  Example{
  "CitemdCompCode": "001",
  "CitemdItemCode": "1261",
  "CitemdItemTypeCode": "MA",
  "CitemdLocCode": "MAIN",
  "CitemdCostUpdateLevelCode": "I",
  "CitemdRevAccCode": "40015",
  "CitemdVarAccCode": "50720",
  "CitemdSuspAccCode": "20010",
  "CitemdWriAccCode": "50700",
  "CitemdInvAccCode": "17010",
  "CitemdAdjAccCode": "50710",
  "CitemdSoldAtCostAccCode": "50600",
  "CitemdAffilRevAccCode": "40015",
  "CitemdCustRevAccCode": "40015",
  "CitemdSerialFlag": "N",
  "CitemdLotCtrlFlag": "N",
  "CitemdMsAvailableFlag": "N",
  "CitemdUsageCode": "N",
  "CitemdVUuid": ""
}CitemdVUuidstring    Required

Unique Row ID, leave blank

💻 UI Fieldname: CitemdVUuid

Max length64
CitemdItemTypeCodestring    Required

Key Value 3; Reference (with CITEMD_COMP_CODE) to the CIITEMTYPE table.

💻 UI Fieldname: CitemdItemTypeCode

Max length2
CitemdAffilRevAccCodestring    Required

Affiliate sales revenue account. Reference to the ACCOUNT table.

💻 UI Fieldname: CitemdAffilRevAccCode

Max length16
CitemdCostUpdateLevelCodestring    Required

If using the Average Cost method of inventory valuation, specify whether to update the average cost of this inventory item by the total inventory (‘I’), or by the inventory within a specified location (‘L’).

💻 UI Fieldname: CitemdCostUpdateLevelCode

Max length1
CitemdRevAccCodestring    Required

Revenue account. Reference to the ACCOUNT table.

💻 UI Fieldname: CitemdRevAccCode

Max length16
CitemdItemCodestring    Required

Key value 2; Inventory item code or number. If the fixed length flag is set in the control file, this code must be of the length specified in the control file.

💻 UI Fieldname: CitemdItemCode

Max length16
CitemdLocCodestring    Required

Location code where this item is stored. Reference (with CITEMD_COMP_CODE) to the CILOCATION table.

💻 UI Fieldname: CitemdLocCode

Max length7
CitemdSoldAtCostAccCodestring    Required

Cost of goods sold account. Reference to the ACCOUNT table.

💻 UI Fieldname: CitemdSoldAtCostAccCode

Max length16
CitemdSuspAccCodestring    Required

Suspense account. Reference to the ACCOUNT table.

💻 UI Fieldname: CitemdSuspAccCode

Max length16
CitemdWriAccCodestring    Required

Write-off account. Reference to the ACCOUNT table.

💻 UI Fieldname: CitemdWriAccCode

Max length16
CitemdVarAccCodestring    Required

Variance account. Reference to the ACCOUNT table.

💻 UI Fieldname: CitemdVarAccCode

Max length16
CitemdMsAvailableFlagstring    Required

💻 UI Fieldname: CitemdMsAvailableFlag

Max length1
CitemdUsageCodestring    Required

Not used. Set this to ‘N’

💻 UI Fieldname: CitemdUsageCode

Max length1
CitemdCompCodestring    Required

Key value 1; Company code

💻 UI Fieldname: CitemdCompCode

Max length8
CitemdInvAccCodestring    Required

Inventory account. Reference to the ACCOUNT table.

💻 UI Fieldname: CitemdInvAccCode

Max length16
CitemdLotCtrlFlagstring    Required

‘Y’ or ‘N’. Set this to ‘N’ unless CITEMD_SERIAL_FLAG = ‘Y’ and CITEMD_COST_METH_CODE = ’F’

💻 UI Fieldname: CitemdLotCtrlFlag

Max length1
CitemdCustRevAccCodestring    Required

Customer sales revenue account. Reference to the ACCOUNT table.

💻 UI Fieldname: CitemdCustRevAccCode

Max length16
CitemdSerialFlagstring    Required

💻 UI Fieldname: CitemdSerialFlag

Max length1
CitemdAdjAccCodestring    Required

Adjustment account. Reference to the ACCOUNT table.

💻 UI Fieldname: CitemdAdjAccCode

Max length16

Responses201

Successful response

<select class='api-response-data' aria-label='Media type'><option value='52d65700-5d7a-45f3-8e21-a49bb5a44a91'>application/json</option>
</select>
