API ReferenceStock count
Cancel a stock count
Cancels a stock count by its id
AuthorizationBearer <token>
In: header
Path Parameters
id*string
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "http://localhost:18080/api/v1/inventory-stock-count/string/cancel"{
"allProductCountsApproved": true,
"allProductCountsReviewed": true,
"countReason": "string",
"counter": "string",
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"events": [
{
"authorId": "string",
"date": "2019-08-24T14:15:22Z",
"description": "string",
"id": "string",
"type": "CREATE"
}
],
"id": "string",
"internalReview": {
"approved": true,
"by": "string",
"on": "2019-08-24T14:15:22Z",
"reason": "string"
},
"number": "string",
"products": [
{
"batchNumber": "string",
"brand": "string",
"category": "string",
"expiration": "2019-08-24T14:15:22Z",
"imageAssets": [
{
"blobId": "string",
"created": "2019-08-24T14:15:22Z",
"extension": "string",
"fileSize": 0,
"name": "string",
"type": "IMAGE"
}
],
"lastStockDate": "2019-08-24T14:15:22Z",
"locationId": "string",
"mismatchReason": "string",
"productId": "string",
"productName": "string",
"productionDate": "2019-08-24T14:15:22Z",
"quantityCounted": 0.1,
"quantityInSystem": 0.1,
"review": {
"approved": true,
"by": "string",
"on": "2019-08-24T14:15:22Z",
"reason": "string"
},
"unitOfMeasurements": [
{
"baseUnit": true,
"cost": 0.1,
"decimal": true,
"isBaseUnit": true,
"isDecimal": true,
"name": "string",
"quantity": 0.1,
"salesPrice": 0.1,
"unit": "string"
}
],
"uomSplit": [
{
"productId": "string",
"quantity": 0.1,
"unit": "string"
}
],
"variancePercentage": 0.1
}
],
"reviewNote": "string",
"status": "DRAFT",
"stockSiteId": "string",
"subsidiaryId": "string",
"systemAdjustedOn": "2019-08-24T14:15:22Z",
"tenantId": "string",
"totalVariancePercentage": 0.1,
"totalVarianceValue": 0.1,
"updated": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"varianceStatus": "MINOR_VARIANCE"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}