Path parameters
-
id
integer(int64) Required Numeric ID of the instance
Minimum value is
1
.
Body
Required
-
createdAt
string(date-time) Created at
-
goodsReceiptId
integer(int32) Required Goods receipt
-
id
integer(int32) Id
-
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
. -
updatedAt
string(date-time) Updated at
-
warehouseId
integer(int32) Required Warehouse
-
xeroId
string | null Xero
PUT
/goods-receipt-items/{id}.json
curl \
--request PUT 'http://api.example.com/v1/goods-receipt-items/{id}.json' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"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"}'
Request examples
{
"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"
}