POST public-api/ic/item/updateServiceItems
This method is used to update existing service items. You can pass in a list of ItemServiceInfo to update several existing items at once. It updates only service type items. Requires Edit Item permission.
Request Information
URI Parameters
None.
Body Parameters
Collection of ItemServiceInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| RowNumber | integer |
None. |
|
| ItemNumber | string |
None. |
|
| AlternateItemNumber | string |
None. |
|
| ItemDescription | string |
None. |
|
| CategoryDescription | string |
None. |
|
| StockingUnit | string |
None. |
|
| PurchaseUnit | string |
None. |
|
| SalesUnit | string |
None. |
|
| Cost | decimal number |
None. |
|
| SalesPrice | decimal number |
None. |
|
| ListPrice | decimal number |
None. |
|
| AverageCost | decimal number |
None. |
|
| TaxCode | string |
None. |
|
| AttachmentInfo | ItemAttachmentInfo |
None. |
|
| ItemVendorInfo | Collection of ItemVendorInfo |
None. |
|
| CustomFields | Collection of DcfValueInfo |
None. |
Request Formats
application/json
Sample:
[
{
"RowNumber": 1,
"ItemNumber": "sample string 2",
"AlternateItemNumber": "sample string 3",
"ItemDescription": "sample string 4",
"CategoryDescription": "sample string 5",
"StockingUnit": "sample string 6",
"PurchaseUnit": "sample string 7",
"SalesUnit": "sample string 8",
"Cost": 9.0,
"SalesPrice": 10.0,
"ListPrice": 11.0,
"AverageCost": 12.0,
"TaxCode": "sample string 13",
"AttachmentInfo": {
"AttachmentsToAdd": [
"sample string 1",
"sample string 2"
],
"AttachmentsToDelete": [
"sample string 1",
"sample string 2"
],
"AttachmentNames": [
{
"Key": "sample string 1",
"Value": "sample string 2"
},
{
"Key": "sample string 1",
"Value": "sample string 2"
}
],
"NewDefaultAttachment": "sample string 1",
"HasAttachment": true
},
"ItemVendorInfo": [
{
"VendorNumber": "sample string 1",
"VendorSKU": "sample string 2",
"VendorUnit": "sample string 3",
"DefaultVendorUnit": true,
"VendorPrice": 5.0,
"VendorDescription": "sample string 6",
"LeadTimeMinutes": 7,
"PreferredVendor": true,
"VendorNotes": [
{
"NoteText": "sample string 1",
"NoteDate": "2026-02-27T14:03:18.0132048+00:00",
"UserLogon": "sample string 2"
},
{
"NoteText": "sample string 1",
"NoteDate": "2026-02-27T14:03:18.0132048+00:00",
"UserLogon": "sample string 2"
}
]
},
{
"VendorNumber": "sample string 1",
"VendorSKU": "sample string 2",
"VendorUnit": "sample string 3",
"DefaultVendorUnit": true,
"VendorPrice": 5.0,
"VendorDescription": "sample string 6",
"LeadTimeMinutes": 7,
"PreferredVendor": true,
"VendorNotes": [
{
"NoteText": "sample string 1",
"NoteDate": "2026-02-27T14:03:18.0132048+00:00",
"UserLogon": "sample string 2"
},
{
"NoteText": "sample string 1",
"NoteDate": "2026-02-27T14:03:18.0132048+00:00",
"UserLogon": "sample string 2"
}
]
}
],
"CustomFields": [
{
"ImportRowNumber": 1,
"DcfLabel": "sample string 2",
"DCFDataType": 1,
"DcfTextValue": "sample string 3",
"DcfNumberValue": 1.0,
"DcfDateValue": "2026-02-27T14:03:18.0137458+00:00",
"DcfValueRecordStatus": 0
},
{
"ImportRowNumber": 1,
"DcfLabel": "sample string 2",
"DCFDataType": 1,
"DcfTextValue": "sample string 3",
"DcfNumberValue": 1.0,
"DcfDateValue": "2026-02-27T14:03:18.0137458+00:00",
"DcfValueRecordStatus": 0
}
]
},
{
"RowNumber": 1,
"ItemNumber": "sample string 2",
"AlternateItemNumber": "sample string 3",
"ItemDescription": "sample string 4",
"CategoryDescription": "sample string 5",
"StockingUnit": "sample string 6",
"PurchaseUnit": "sample string 7",
"SalesUnit": "sample string 8",
"Cost": 9.0,
"SalesPrice": 10.0,
"ListPrice": 11.0,
"AverageCost": 12.0,
"TaxCode": "sample string 13",
"AttachmentInfo": {
"AttachmentsToAdd": [
"sample string 1",
"sample string 2"
],
"AttachmentsToDelete": [
"sample string 1",
"sample string 2"
],
"AttachmentNames": [
{
"Key": "sample string 1",
"Value": "sample string 2"
},
{
"Key": "sample string 1",
"Value": "sample string 2"
}
],
"NewDefaultAttachment": "sample string 1",
"HasAttachment": true
},
"ItemVendorInfo": [
{
"VendorNumber": "sample string 1",
"VendorSKU": "sample string 2",
"VendorUnit": "sample string 3",
"DefaultVendorUnit": true,
"VendorPrice": 5.0,
"VendorDescription": "sample string 6",
"LeadTimeMinutes": 7,
"PreferredVendor": true,
"VendorNotes": [
{
"NoteText": "sample string 1",
"NoteDate": "2026-02-27T14:03:18.0132048+00:00",
"UserLogon": "sample string 2"
},
{
"NoteText": "sample string 1",
"NoteDate": "2026-02-27T14:03:18.0132048+00:00",
"UserLogon": "sample string 2"
}
]
},
{
"VendorNumber": "sample string 1",
"VendorSKU": "sample string 2",
"VendorUnit": "sample string 3",
"DefaultVendorUnit": true,
"VendorPrice": 5.0,
"VendorDescription": "sample string 6",
"LeadTimeMinutes": 7,
"PreferredVendor": true,
"VendorNotes": [
{
"NoteText": "sample string 1",
"NoteDate": "2026-02-27T14:03:18.0132048+00:00",
"UserLogon": "sample string 2"
},
{
"NoteText": "sample string 1",
"NoteDate": "2026-02-27T14:03:18.0132048+00:00",
"UserLogon": "sample string 2"
}
]
}
],
"CustomFields": [
{
"ImportRowNumber": 1,
"DcfLabel": "sample string 2",
"DCFDataType": 1,
"DcfTextValue": "sample string 3",
"DcfNumberValue": 1.0,
"DcfDateValue": "2026-02-27T14:03:18.0137458+00:00",
"DcfValueRecordStatus": 0
},
{
"ImportRowNumber": 1,
"DcfLabel": "sample string 2",
"DCFDataType": 1,
"DcfTextValue": "sample string 3",
"DcfNumberValue": 1.0,
"DcfDateValue": "2026-02-27T14:03:18.0137458+00:00",
"DcfValueRecordStatus": 0
}
]
}
]
Response Information
Resource Description
WaspResultOfResults| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Results |
None. |
|
| Messages | Collection of WtResult |
None. |
|
| BatchNumber | integer |
None. |
|
| HasError | boolean |
None. |
|
| HasHttpError | boolean |
None. |
|
| HasMessage | boolean |
None. |
|
| HasSuccessWithMoreDataRemaining | boolean |
None. |
|
| TotalRecordsLongCount | integer |
None. |
Response Formats
application/json
Sample:
{
"Data": {
"ResultList": [
{
"ResultCode": 0,
"Message": "sample string 1",
"HttpStatusCode": 200,
"FieldName": "sample string 2"
},
{
"ResultCode": 0,
"Message": "sample string 1",
"HttpStatusCode": 200,
"FieldName": "sample string 2"
}
],
"SuccessfullResults": 1,
"TotalResults": 2,
"ErrorCount": 0
},
"Messages": [
{
"ResultCode": 0,
"Message": "sample string 1",
"HttpStatusCode": 200,
"FieldName": "sample string 2"
},
{
"ResultCode": 0,
"Message": "sample string 1",
"HttpStatusCode": 200,
"FieldName": "sample string 2"
}
],
"BatchNumber": 1,
"HasError": false,
"HasHttpError": false,
"HasMessage": true,
"HasSuccessWithMoreDataRemaining": false,
"TotalRecordsLongCount": 1
}