Inventory

Inventory Adjustments

An InventoryAdjustment is a positive or negative change to the quantity of an inventory product at a location, capturing the reason for the change and the user who applied it.

get/inventory/adjustments

List inventory adjustments

listInventoryAdjustments

Returns the paginated list of stock adjustments — positive or negative changes to product quantities — across the caller's visible scope, optionally filtered by site.

Query parameters

  • site_idstringoptional

    Filter results by the site they belong to

  • per_pageintegeroptional

    The number of results to return per page

  • pageintegeroptional

    The page to retrieve results from

Responses

  • 200

    Adjustments were successfully retrieved.

  • 401

    The user is unauthenticated

post/inventory/adjustments

Create a new inventory adjustment

createInventoryAdjustment

Records a stock adjustment — a positive or negative change to the quantity of a product at a location. The adjustment is timestamped and attributed to the calling user for audit.

Request body

  • product_iduuidrequired

    Product whose stock level is being adjusted. The product must be configured on the same brand as the caller; cross-brand adjustments are rejected with 422.

  • quantityintegerrequired

    Signed change to the on-hand stock count. Positive values increase stock (e.g. a receipt or correction upwards); negative values decrease it (e.g. waste, transfers out).

  • reason_codestringoptional

    Machine-readable reason for the adjustment, used for reporting. Common values are waste, transfer, correction and theft. Free text — define your own codes as needed.

  • reason_descriptionstringoptional

    Optional human-readable explanation that staff and auditors see alongside the adjustment. Use this to add detail that the reason_code doesn't capture.

  • location_idintegeroptionalnullable

    InventoryLocation the stock is moving from. Optional for sites that don't track per-location stock; required when the product is location-aware.

  • site_iduuidoptional

    Site the adjustment is recorded against. Used for site-level inventory reporting and to enforce the caller's site permissions.

Responses

  • 201

    A single inventory adjustment.

  • 401

    The user is unauthenticated

  • 403

    The authenticated user does not have permission.

  • 422

    The request didn't pass validation