Updates details of an StocktakeScannedItem object

Updates details of an StocktakeScannedItem object specified by ID

Path Params
int64
required

ID of StocktakeScannedItem to update

Body Params

StocktakeScannedItem data that needs to be changed

string
length ≤ 16

quantity of items counted through stocktake application. MaxLength 16 with 4 decimal places.

string

key-value dictionary where key is 'stock unit resource id' and value is 'count for the stock unit'.

uri
required

URI of the user that created this object.

date-time

Date and time when StocktakeScannedItem is created

uri
required

URI of an StocktakeItem API object which is related to the StocktakeScannedItem.

date-time

Date and time when StocktakeScannedItem is last synced

string
length ≤ 16

Old quantity of items counted through stocktake application. MaxLength 16 with 4 decimal places.

string

JSON field for the Old count by Unit.

old_serials
array of strings

key-value dictionary where key is 'stock unit resource id' and value is 'count for the stock unit'.

old_serials
uri
required

URI of an StocktakeSection API object which is related to the StocktakeScannedItem.

serials
array of strings

This field contains serial numbers of counted product if it requires serial number

serials
integer
enum
required
Defaults to 0

StocktakeSection status:

  • 0 - counted
  • 1 - completed
  • 2 - recount selected
  • 3 - recount requested
  • 4 - manual count
  • 5 - manual count recount requested
Allowed:
uri
required

URI of the user that updated this object.

date-time

Date and time when StocktakeScannedItem is updated

Responses

301

Invalid request URL - make sure that the URL ends with a trailing slash.

400

Bad request. Usually caused by invalid request body.

401

Authentication error - make sure the API key & secret is valid, active and provided in the "API-AUTHENTICATION" header.

404

StocktakeScannedItem with the provided ID not found.

Language
Credentials
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json