Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
Setting inventory status in adjustment via Rest API
When trying to perform a stock adjustment via the REST API, I get "Error while accessing a resource. You still need to reconfigure the inventory detail record after changing the quantity"
I've sent the inventoryStatus field in the inventory detail but doesn't seem to like. Here is the body of my inventoryAdjustment call
{
subsidiary: '1',
adjLocation: '28',
account: '453',
department: '2',
custbody_atlas_inv_adj_reason: '3',
inventory: {
items: [
{
item: { id: '7252' },
location: '28',
adjustQtyBy: -90,
inventoryDetail: {
quantity: -90,
inventoryassignment: {
items: [ { inventoryStatus: { id: '2' }, quantity: -90 } ]
}
}
}]
}
}