POST

/v1/cycle_counts

Bearer*

Body

idrequired

The id of the cycle count to be created. If not provided, a new id will be generated.

cycle_count_numberrequired

The number of the cycle count to be created. If not provided, a new number will be generated.

statusrequired

The status of the cycle count to be created. If not provided, the status will be set to “open”.

partrequired

The part associated with the cycle count to be created.

standard_trackingrequired

The standard tracking information associated with the cycle count to be created.

serialized_trackingrequired

The serialized tracking information associated with the cycle count to be created.

quantity_expectedrequired

The expected quantity of the part associated with the cycle count to be created.

quantity_countedrequired

The actual quantity of the part counted during the cycle count to be created.

variance_quantityrequired

The difference between the expected and actual quantity of the part.

variance_costrequired

The difference in cost between the expected and actual quantity of the part.

explanationrequired

An explanation for any variances in the cycle count to be created.

siterequired

The site associated with the cycle count to be created.

locationrequired

The location associated with the cycle count to be created.

binrequired

The bin associated with the cycle count to be created.

lotrequired

The lot associated with the cycle count to be created.

scheduled_start_daterequired

The start date associated with the cycle count to be created.

scheduled_end_daterequired

The end date associated with the cycle count to be created.

completed_daterequired

The completion date associated with the cycle count to be created.

assigned_userrequired

The user assigned to the cycle count to be created.

methodrequired

The method used to count the part associated with the cycle count to be created.

statusrequired

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": ""
}'