While creating an item receipt i used the body bel...
# suitetalkapi
m
While creating an item receipt i used the body below i am getting 400 bad request error. is there anything i am missing here?
Copy code
{
  "item": {
    "items": [
      {
        "orderLine": 1,
        "itemreceive": true,
        "location": 6
      },
      {
        "orderLine": 2,
        "itemreceive": true,
        "location": 6
      }
    ]
  },
  "shipStatus": {
    "id": "C"
  }
}
s
Don't orderLines start with 0?
m
@Stuart Anderton actually i checked the sales order details first and in its response it has line id from 1 so i used that