Create Store Product Logs
POST/api/v2/public/stores/{store_number}/products/stock/storeproductlogs
Books stock movements for a store, such as a loss, gain, correction or count. Each entry needs a reason code, which decides whether a comment, image or order number is required. The response returns the ids of the created movements in the order they were sent.
Query Parameters
Create Store Product Logs
curl https://api.colleqtive.net/api/v2/public/stores/$STORE_NUMBER/products/stock/storeproductlogs \
-X POST \
-H "Authorization: $COLLEQTIVE_BEARER_TOKEN"{
"success": true,
"data": [
0
],
"message": "message"
}{
"code": 401,
"status": "error",
"message": "Authentication failed.",
"error": "unauthorized",
"error_description": "Authentication failed."
}{
"code": 500,
"status": "fail",
"message": "The request could not be processed.",
"error": "internal_error",
"error_description": "The request could not be processed."
}Returns Examples
{
"success": true,
"data": [
0
],
"message": "message"
}{
"code": 401,
"status": "error",
"message": "Authentication failed.",
"error": "unauthorized",
"error_description": "Authentication failed."
}{
"code": 500,
"status": "fail",
"message": "The request could not be processed.",
"error": "internal_error",
"error_description": "The request could not be processed."
}