Skip to main content

Update Inventory Write-Down Line

PATCH 

/api/inventory/write-downs/:inventoryWriteDown/lines/:lineId

Draft only: {new_unit_cost} overrides the line's cost (≥ 0, below the old cost; on a reversal, above it within the cap), {new_unit_cost: null} resets it, {excluded} excludes or includes the line.

Required scope: inventory:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Request​

Responses​

OK

Response Headers
    Content-Type