Hello, I am working with the `POST {{REST_SERVICES...
# suitetalkapi
v
Hello, I am working with the
POST {{REST_SERVICES}}/record/v1/purchaseorder/xxxx/!transform/itemreceipt
endpoint and sending a payload like this
Copy code
{
    item: {
      replaceAll: false,
      items: [
        {
          orderLine: 1,
          itemReceive: true,
          quantity: 1000,
          item: 8474
        },
        {
          orderLine: 2,
          itemReceive: false,
          item: 8475
        }
      ]
    }
} `````` I have 2 lines for that PO and expected the itemreceipt to have a quanity of 1000 for line 1 and 0 of line two. Instead an Item Receipt is created that has all the items of the order, (1400 of line1 and 1000 of line2) am I misunderstanding how to use the API? If I add the
inventoryDetails
block a get the same error that Mike noted above
My bad I actually it seems to work ok, I was adding
quantity
by mistake