Hey Guys, I am trying to update the inventoryItem ...
# suitetalkapi
m
Hey Guys, I am trying to update the inventoryItem quantity but getting 204 response and in headers a message is coming.
Copy code
PATCH {{REST_SERVICES}}/record/v1/inventoryItem/1234

Body-
{
    "quantityOnHand": 28.0
}
this is the response in the header
Copy code
Unknown field name quantityOnHand. The field does not exist on this record instance.
Can anyone help me with a sample request Thanks
c
You have to do an inventory adjustment/item receipt/whatever your favourite way of dealing with inventory is
m
i know about item receipt but that needs to be applied on PO. Can you share a sample request for inventory adjustment Thanks
On a more serious note - you may want to ask your client how they would like the inventory to spring into existance
m
Ill keep that in mind Thanks