Skip to main content

Create Stock Take From Discrepancies

POST 

/api/veracore/integration-instances/:integration_instance/inventory/create-stock-take

Turn the discrepancy report into a stock take that brings SKU.io in line with what the warehouse actually holds.

Only mapped, single-product, mapped-warehouse discrepancies are eligible; multi-product offers are skipped because their reported balance is the minimum across components rather than a countable quantity. included_count and skipped_count say how the selection resolved, and total_value_adjustment is the signed cost impact of applying it.

Body fields

  • product_ids (array of integers, optional) — SKU.io product ids to include. These are product ids, not inventory row ids, because the discrepancy report is keyed on the mapped product. Omit or send an empty array to include every eligible discrepancy.
  • warehouse_id (integer, optional) — restrict the stock take to one SKU.io warehouse.
  • status (string, optional) — one of draft, open, closed. Defaults to draft.
  • date (date, optional) — stock take date. Defaults to today.
  • notes (string, optional, max 1000) — free text carried onto the stock take.

Authentication: Requires Bearer token.

Request

Responses

OK

Response Headers
    Content-Type