POST /api/public/v1/inventory/movements
Changed onOne page of movements at the location, optionally in one storage or of one product and only its adds by hand or import (correctable), with who made them, the storage each changed, both sides of a transfer and the supplier of an add's batch, the invoice number and date an imported add was printed on, and the cursor the next page starts from (null on the last). Narrowed by what happened, the batch's supplier, part of the supplier's invoice number an imported add was printed on (invoiceNumber, case ignored), who made it, the product's unit and a period resolved in the venue's time zone (custom from from through to, under the Dashboard's rules; none reads all time); ordered by time (newest first by default), product name or supplier name, a movement without a supplier last. The first page counts the movements its storage or product holds (listed) and those the filters leave (total). BAD_REQUEST for a cursor no page of that sort returned. New reasons are added as the ledger grows (recall is the latest), so read a reason you do not know by its kind. Refused with FORBIDDEN as inventoryDisabled while the inventory flag is off. Refused with FORBIDDEN as paywallLocked when the caller is an Owner or Manager of a business the merchant Paywall locks: one with no verified subscription that has taken 5 orders while the Paywall's rollout reaches it, an order counting from its first saved line, whether or not it is paid or completed, until it is archived or cancelled before activation. Nothing is read or written; a verified subscription lifts the lock.
Request
- Base URLhttps://app.fortuneos.ai
- Authnone declared
Request body
Response
OK
Changes
- info
added the new optional request property
invoiceNumber - info
added the required property
rows/items/invoiceDateto the response with the status - info
added the required property
rows/items/invoiceNumberto the response with the status
- info