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
} 

        

Related Topics

Inventory Item Use Cases
Use Case for Changing the Location of an Inventory Item
Use Case for Adding a Vendor to an Inventory Item
Use Case for Deleting an Inventory Item

General Notices