Skip to main content

Unreconcile Initial Inventories for FNSKUs

POST 

/api/amazon/:integrationInstance/initial-inventory/unreconcile-for-fnskus

Unreconcile the FBA initial inventory records linked to the given FNSKU products. Runs synchronously.

Authorization

Any valid API token can call this endpoint — no specific scope required. Manage tokens.

Body fields:

  • ids (array of integers, required) — FNSKU product IDs; each must exist.

For every initial inventory row belonging to one of the FNSKU products that currently has an initial-inventory FIFO layer, the reconciliation is reversed in a transaction: the record's initialization timestamp and FIFO layer link are cleared, the FIFO layer created during reconciliation is deleted, and the FNSKU product's reconciled quantity is reset to 0. Rows without a FIFO layer are skipped. The request fails when a targeted FNSKU product still has reconciled ledger entries — unreconcile those ledgers first.

Returns the updated initial inventory records (with amazon_fifo_layer_id and sku_product_initialized_at cleared). Returns 422 when an ID does not exist.

Request

Responses

OK

Response Headers
    Content-Type