Hi, I am trying to get the Bin Numbers of an Item ...
# suitescript
a
Hi, I am trying to get the Bin Numbers of an Item use suitetalk but for some reason it's only returning only one bin number per location Request -
Copy code
<https://5331874.suitetalk.api.netsuite.com/services/rest/record/v1/inventoryitem/75063/binNumber>
Response -
Copy code
{
  "links": [
    {
      "rel": "self",
      "href": "<https://5331874.suitetalk.api.netsuite.com/services/rest/record/v1/inventoryitem/75063/binNumber>"
    }
  ],
  "items": [
    {
      "links": [
        {
          "rel": "self",
          "href": "<https://5331874.suitetalk.api.netsuite.com/services/rest/record/v1/inventoryitem/75063/binNumber/18746>"
        }
      ]
    },
    {
      "links": [
        {
          "rel": "self",
          "href": "<https://5331874.suitetalk.api.netsuite.com/services/rest/record/v1/inventoryitem/75063/binNumber/23879>"
        }
      ]
    }
  ],
  "totalResults": 2
}
There are more than two bin:
i
This should go on the suitetalk channel. What’s your end goal? Might make more sense to do it through suiteql instead of drilling down into each bin to get the data