Body
Required
-
goodsReceiptId
integer(int32) Required Goods receipt
-
purchaseItemId
integer(int32) Required Purchase item
-
quantity
integer(int32) Required Quantity
Default value is
0
. -
skipInventoryChange
boolean Required Skip inventory change
Default value is
false
. -
warehouseId
integer(int32) Required Warehouse
-
xeroId
string | null Xero
POST
/goods-receipt-items.json
curl \
--request POST 'http://api.example.com/v1/goods-receipt-items.json' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"goodsReceiptId":42,"purchaseItemId":42,"quantity":0,"skipInventoryChange":false,"warehouseId":42,"xeroId":"string"}'
Request examples
{
"goodsReceiptId": 42,
"purchaseItemId": 42,
"quantity": 0,
"skipInventoryChange": false,
"warehouseId": 42,
"xeroId": "string"
}
Response examples (200)
{
"createdAt": "2025-05-04T09:42:00Z",
"goodsReceiptId": 42,
"id": 42,
"purchaseItemId": 42,
"quantity": 0,
"skipInventoryChange": false,
"updatedAt": "2025-05-04T09:42:00Z",
"warehouseId": 42,
"xeroId": "string"
}