Use Case for Finding Items that are Assigned a Pricing Group
Use the GET command and query with internal ID of the pricing group to retrieve the list of items that are assigned a pricing group.
GET {{REST_SERVICES}}/record/v1/inventoryitem/?q=pricinggroup EQUAL 1
In the response body, you will see all the inventory item records that have the pricing group selected.
{
"links": [
{
"rel": "self",
"href": "https://<accountID>.suitetalk.api.netsuite.com/services/rest/record/v1/inventoryitem/?q=pricinggroup+EQUAL+1"
}
],
"count": 2,
"hasMore": false,
"items": [
{
"links": [
{
"rel": "self",
"href": "https://<accountID>.suitetalk.api.netsuite.com/services/rest/record/v1/inventoryitem/86"
}
],
"id": "86"
},
{
"links": [
{
"rel": "self",
"href": "https://<accountID>.suitetalk.api.netsuite.com/services/rest/record/v1/inventoryitem/84"
}
],
"id": "84"
}
],
"offset": 0,
"totalResults": 2
}