Update COGS Entry
This endpoint updates an existing COGS (Cost of Goods Sold) entry.
Path Parameters
The unique identifier of the COGS entry to update
Body
The accounting period for the COGS entry
The product associated with the COGS entry
The quantity of the product sold
The Cost of Goods Sold amount
The average cost per unit
The quantity of inventory remaining at the end of the period
The value of the ending inventory
The currency used for the financial calculations
Identifier for the related exchange rate
Identifier for the related sale transaction
The selling price per unit
The total gross sales amount
The method used to calculate COGS
The category of the product
The channel through which the sale was made
The segment of the customer who made the purchase
The date of the sale
Indicates whether this entry is for a return
The reason for the return, if applicable
The cost center associated with the COGS entry
Identifier for the related supplier
Response
The unique identifier of the updated COGS entry
A success message confirming the update of the COGS entry