Skip to main content

Execute COGS Import

POST 

/api/amazon/unified/fifo-layers/cogs/import

Executes a validated COGS import. Validation rules: rows required array min:1; rows..layer_id required integer; rows..cogs required numeric min:0. Each row updates the layer's cogs and propagates the change to consumptions, discrepancies, provisional layers, and pending inbounds. Wrapped in a DB transaction.

Authorization

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

Request

Responses

OK

Response Headers
    Content-Type