Update item location beginning inventory
DRAFT
Update item location beginning inventory
PUT https://ezplan/api/v1/update-item-location-beginning-inventory
To update the beginning inventory for a unique item and location in EZplan for yoru company, you will need to submit a PUT request that contains the item, location and the beginning inventory values. Note that this is an authenticated request. So, you will have to have your JWT token as part of the request header. Like this Authorization: Bearer <token>.
Headers
Authorization: Bearer
string
The JWT Token.
Request Body
item
string
This represents the planning item in EZplan. This is a unique value per the company.
location
string
This represents the planning location in EZplan. This is a unique value per the company.
beginning_inventory
number
This is the beginning inventory that is used when calculating inventory projections. This is the tarting point of the inventory that EZplan will use when it calculate the future inventory. Note: the unit of measure for this value is based on what is set for the item.
{
"message": "1000 existing Item Location records were successfully updated.",
"content": {},
"count": 1000,
"additional":
[
"successful": 1000,
"skipped": 0,
"failed": 0,
"empty": 0
]
}{
"message": "Ther are issues with the payload you are trying to submit.",
"content": {},
"count": 0,
"additional":
[
"successful": 0,
"skipped": 0,
"failed": 0,
"empty": 0
]
}Example Request:
{[
{
"item": "1234",
"location":"ZAM-WINERY",
"beginning_inventory": 100.5
},
{
"item": "4567",
"location":"ZAM-WINERY",
"beginning_inventory": 717
}
]}Last updated
Was this helpful?