Edit Stock Period

Edits an existing stock period.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Renaming requires the stock period edit permission. Changing closing_count_id requires the close permission, so a request that does both needs both.

For a full explanation of stock periods, see Managing Stock Periods.

Only open or reopened periods can be edited. A closed period must be reopened first.

Path Params
string
required

The ID of the outlet.

string
required

The ID of the stock period.

Body Params
string
length ≤ 200

The period's new name.

string | null

ID of the full count that closes the period, or null to detach it.

Responses

400

No fields supplied, the period is closed, or the count is not a valid closing count for this period.

403

The library does not have the stock periods module enabled, or the user lacks the required permission.

404

Outlet or stock period not found.

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