POST
/
v1
/
cycle_counts
curl --location --request POST 'https://api.stateset.com/v1/cycle_counts' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
    "current_token": ""
}'


Body

id
required
The id of the cycle count to be created. If not provided, a new id will be generated.
cycle_count_number
required
The number of the cycle count to be created. If not provided, a new number will be generated.
status
required
The status of the cycle count to be created. If not provided, the status will be set to “open”.
part
required
The part associated with the cycle count to be created.
standard_tracking
required
The standard tracking information associated with the cycle count to be created.
serialized_tracking
required
The serialized tracking information associated with the cycle count to be created.
quantity_expected
required
The expected quantity of the part associated with the cycle count to be created.
quantity_counted
required
The actual quantity of the part counted during the cycle count to be created.
variance_quantity
required
The difference between the expected and actual quantity of the part.
variance_cost
required
The difference in cost between the expected and actual quantity of the part.
explanation
required
An explanation for any variances in the cycle count to be created.
site
required
The site associated with the cycle count to be created.
location
required
The location associated with the cycle count to be created.
bin
required
The bin associated with the cycle count to be created.
lot
required
The lot associated with the cycle count to be created.
scheduled_start_date
required
The start date associated with the cycle count to be created.
scheduled_end_date
required
The end date associated with the cycle count to be created.
completed_date
required
The completion date associated with the cycle count to be created.
assigned_user
required
The user assigned to the cycle count to be created.
method
required
The method used to count the part associated with the cycle count to be created.
status
required
The status of the cycle count to be created.

Response

id
string
This is the unique identifier for the pick
cycle_count_number
string
This is the unique identifier for the pick
status
string
This is the unique identifier for the pick
part
string
This is the unique identifier for the pick
standard_tracking
string
This is the unique identifier for the pick
serialized_tracking
string
This is the unique identifier for the pick
quantity_expected
string
This is the unique identifier for the pick
quantity_counted
string
This is the unique identifier for the pick
variance_quantity
string
This is the unique identifier for the pick
variance_cost
string
This is the unique identifier for the pick
explanation
string
This is the unique identifier for the pick
site
string
This is the unique identifier for the pick
location
string
This is the unique identifier for the pick
bin
string
This is the unique identifier for the pick
lot
string
This is the unique identifier for the pick
scheduled_start_date
string
This is the unique identifier for the pick
scheduled_end_date
string
This is the unique identifier for the pick
completed_date
string
This is the unique identifier for the pick
assigned_user
string
This is the unique identifier for the pick
method
string
This is the unique identifier for the pick
status
string
This is the unique identifier for the pick
curl --location --request POST 'https://api.stateset.com/v1/cycle_counts' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
    "current_token": ""
}'