post
https://api.apicbase.com/api/v2/inventory/outlets//stock-periods//close/
Closes a stock period.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Requires the stock period close permission.
For a full explanation of stock periods, see Managing Stock Periods.
Closing stamps the period's end date from the closing count. When closing_count_id is supplied and the close fails validation, the count is not left attached to the period.
Sales that arrive after the close but belong inside the window cannot be applied, so make sure POS data has synced before closing.
400The period is already closed, has no closing count, the count is not valid for this period, or an earlier period is still open.
403The library does not have the stock periods module enabled, or the user lacks the required permission.
404Outlet or stock period not found.
