StockTakes

Update a Stocktake

This endpoint updates a stocktake for the given site.

put/inventory/stock-takes/{stockTakeId}

Request body

descriptionstring

Free-text label shown in the admin UI and on stocktake reports, used to distinguish this stocktake from others (e.g. "Quarterly retail count Q1 2024"). 1-255 characters.

Example request

{
  "description": "Stocktake started on 01/06/2024"
}

Response

The stocktake was successfully retrieved

Example response

{
  "data": {
    "description": "Stocktake started on 01/06/2024",
    "currency": "gbp",
    "created_by": {
      "first_name": "Dan",
      "last_name": "Johnson",
      "full_name": "Dan Johnson"
    },
    "posted_by": {
      "first_name": "Dan",
      "last_name": "Johnson",
      "full_name": "Dan Johnson"
    },
    "created_at": "2024-06-01T12:00:00Z"
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.