Stocktaking
Update stocktaking
Update stocktaking
put/shops/{SHOP_ID}/stocktakings/{STOCKTAKING_ID}
Request
- Base URLhttps://pos.pages.fm/api/v1
- URLhttps://pos.pages.fm/api/v1/shops/{SHOP_ID}/stocktakings/{STOCKTAKING_ID}
- AuthAPI key in query parameter api_key
Path parameters
SHOP_IDinteger required
Example:4
Shop ID
STOCKTAKING_IDstring required
Example:949f1396-f6fa-45d9-93b6-4c37503a9950
Stocktaking ID
Request body
Example request
{
"stocktaking": {
"items": [
{
"id": "cb244b25-100e-4eaa-8b8f-0e72c5642631",
"variation_id": "27b3f94b-c945-4560-b694-a59526cae9a5",
"changed_quantity": 12,
"note": null
}
],
"note": "Kiểm hàng tồn",
"status": 0,
"stocktaking_at": "2023-10-11T10:38:34",
"stocktaking_by": "category_ids",
"stocktaking_by_value": [
"1315"
]
}
}Response
Success
Changes
No recorded changes to this operation across all 15 revisions of this API.