POST api/item/updatewithcontact
Request Information
URI Parameters
None.
Body Parameters
Item_ContactsDataModel| Name | Description | Type | Additional information |
|---|---|---|---|
| item_id | globally unique identifier |
None. |
|
| color_txt | string |
None. |
|
| colorcode_txt | string |
None. |
|
| power_txt | string |
None. |
|
| basecurve_txt | string |
None. |
|
| diameter_txt | string |
None. |
|
| secondcurve_txt | string |
None. |
|
| tertcurve_txt | string |
None. |
|
| oz_txt | string |
None. |
|
| material_txt | string |
None. |
|
| ct_txt | string |
None. |
|
| replacement_txt | string |
None. |
|
| shcedule_txt | string |
None. |
|
| soln_txt | string |
None. |
|
| supply_txt | string |
None. |
|
| supply1_cnt | decimal number |
None. |
|
| supply2_cnt | decimal number |
None. |
|
| packs_cnt | decimal number |
None. |
|
| Item | ItemModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"item_id": "84e24674-746e-44c7-8746-bd0c9ef10338",
"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": {
"$id": "2",
"item_id": "0935cc7f-fbee-43ec-986d-c617fe18b75b",
"parent_item_id": "9629a67b-c4d1-4382-8e5e-237997e64698",
"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": "35f4c429-f3f6-4b31-a863-6e1a635549a8",
"manufacturer_id": "fa62acbe-fb82-4301-9100-bcc5e201b436",
"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-08-04T22:24:39.5111746+00:00",
"created_by": "c620f9ff-d0c6-47f4-b4fd-24798ce92ec8",
"updated_dt": "2026-08-04T22:24:39.5111746+00:00",
"updated_by": "979fc7a2-1e49-41ac-94d9-63c918d98edc",
"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": {
"$ref": "1"
},
"item_FramesData": {
"$id": "3",
"item_id": "f852db3f-bfc2-483b-8fed-9bd61a715719",
"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": "2"
}
},
"item1": [
{
"$ref": "2"
},
{
"$ref": "2"
}
],
"item2": {
"$ref": "2"
}
}
}
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. |