POST api/item/add
Request Information
URI Parameters
None.
Body Parameters
ItemModel| Name | Description | Type | Additional information |
|---|---|---|---|
| item_id | globally unique identifier |
None. |
|
| parent_item_id | globally unique identifier |
None. |
|
| type_id | integer |
None. |
|
| name_txt | string |
None. |
|
| description_txt | string |
None. |
|
| active_ind | boolean |
None. |
|
| UPC_txt | string |
None. |
|
| FPC_txt | string |
None. |
|
| vendor_id | globally unique identifier |
None. |
|
| manufacturer_id | globally unique identifier |
None. |
|
| brand | string |
None. |
|
| collection | string |
None. |
|
| cost_amt | decimal number |
None. |
|
| reg_price_amt | decimal number |
None. |
|
| wholesale_amt | decimal number |
None. |
|
| price_amt | decimal number |
None. |
|
| sales_price_amt | decimal number |
None. |
|
| asset_acct | string |
None. |
|
| reorder_point | integer |
None. |
|
| inventory_ind | boolean |
None. |
|
| monitor_ind | boolean |
None. |
|
| created_dt | date |
None. |
|
| created_by | globally unique identifier |
None. |
|
| updated_dt | date |
None. |
|
| updated_by | globally unique identifier |
None. |
|
| taxable_ind | boolean |
None. |
|
| code_txt | string |
None. |
|
| selected_price_txt | string |
None. |
|
| price_calc1_amt | decimal number |
None. |
|
| price_calc2_amt | decimal number |
None. |
|
| price_calc3_amt | decimal number |
None. |
|
| sales_price_calc1_amt | decimal number |
None. |
|
| inventory_onhand_cnt | integer |
None. |
|
| inventory_total_val | decimal number |
None. |
|
| inventory_physical_cnt | integer |
None. |
|
| cogs_acct | string |
None. |
|
| income_acct | string |
None. |
|
| avg_cost | decimal number |
None. |
|
| cogs_acct1 | string |
None. |
|
| cogs_acct2 | string |
None. |
|
| income_acct1 | string |
None. |
|
| income_acct2 | string |
None. |
|
| asset_acct1 | string |
None. |
|
| asset_acct2 | string |
None. |
|
| Item_ContactsData | Item_ContactsDataModel |
None. |
|
| Item_FramesData | Item_FramesDataModel |
None. |
|
| Item1 | Collection of ItemModel |
None. |
|
| Item2 | ItemModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"item_id": "d8a2794e-2ff4-4100-8ff4-caa372ad2a5c",
"parent_item_id": "6e74c1cc-6ba1-48e6-ac00-fd9defab984a",
"type_id": 2,
"name_txt": "sample string 3",
"description_txt": "sample string 4",
"active_ind": true,
"upC_txt": "sample string 6",
"fpC_txt": "sample string 7",
"vendor_id": "706b3f31-3e94-4d63-8547-9efed4d7047a",
"manufacturer_id": "e6c0f360-0a5f-4a62-a447-c84984d83408",
"brand": "sample string 8",
"collection": "sample string 9",
"cost_amt": 1.0,
"reg_price_amt": 1.0,
"wholesale_amt": 1.0,
"price_amt": 1.0,
"sales_price_amt": 1.0,
"asset_acct": "sample string 10",
"reorder_point": 11,
"inventory_ind": true,
"monitor_ind": true,
"created_dt": "2026-09-19T10:58:08.3512895+00:00",
"created_by": "270e6335-e89e-4013-ba85-83eeb7572449",
"updated_dt": "2026-09-19T10:58:08.3512895+00:00",
"updated_by": "fd29e2f8-8235-46e9-bb0d-f73d51d6d6ac",
"taxable_ind": true,
"code_txt": "sample string 19",
"selected_price_txt": "sample string 20",
"price_calc1_amt": 1.0,
"price_calc2_amt": 1.0,
"price_calc3_amt": 1.0,
"sales_price_calc1_amt": 1.0,
"inventory_onhand_cnt": 1,
"inventory_total_val": 1.0,
"inventory_physical_cnt": 21,
"cogs_acct": "sample string 22",
"income_acct": "sample string 23",
"avg_cost": 24.0,
"cogs_acct1": "sample string 25",
"cogs_acct2": "sample string 26",
"income_acct1": "sample string 27",
"income_acct2": "sample string 28",
"asset_acct1": "sample string 29",
"asset_acct2": "sample string 30",
"item_ContactsData": {
"$id": "2",
"item_id": "861b7e4f-383f-4706-82f2-c827ee68700c",
"color_txt": "sample string 2",
"colorcode_txt": "sample string 3",
"power_txt": "sample string 4",
"basecurve_txt": "sample string 5",
"diameter_txt": "sample string 6",
"secondcurve_txt": "sample string 7",
"tertcurve_txt": "sample string 8",
"oz_txt": "sample string 9",
"material_txt": "sample string 10",
"ct_txt": "sample string 11",
"replacement_txt": "sample string 12",
"shcedule_txt": "sample string 13",
"soln_txt": "sample string 14",
"supply_txt": "sample string 15",
"supply1_cnt": 16.0,
"supply2_cnt": 17.0,
"packs_cnt": 18.0,
"item": {
"$ref": "1"
}
},
"item_FramesData": {
"$id": "3",
"item_id": "3f911cf1-53b1-4496-9c30-7c7fda070da1",
"styleid_txt": "sample string 2",
"stylename_txt": "sample string 3",
"color_txt": "sample string 4",
"colorcode_txt": "sample string 5",
"eye_txt": "sample string 6",
"bridge_txt": "sample string 7",
"temple_txt": "sample string 8",
"dbl_txt": "sample string 9",
"a_txt": "sample string 10",
"b_txt": "sample string 11",
"ed_txt": "sample string 12",
"lenscolor_txt": "sample string 13",
"lenscolorcode_txt": "sample string 14",
"circumference_txt": "sample string 15",
"edangle_txt": "sample string 16",
"gendertype_txt": "sample string 17",
"agegroup_txt": "sample string 18",
"groupname_txt": "sample string 19",
"rimtype_txt": "sample string 20",
"material_txt": "sample string 21",
"cogs_front_amt": 22.0,
"cogs_halftemples_amt": 23.0,
"cogs_temples_amt": 24.0,
"cogs_complete_amt": 25.0,
"item": {
"$ref": "1"
}
},
"item1": [
{
"$ref": "1"
},
{
"$ref": "1"
}
],
"item2": {
"$ref": "1"
}
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |