Skip to main content
PUT

Path Parameters

integer
required
The unique identifier of the COGS entry to update

Body

string
The accounting period for the COGS entry
string
The product associated with the COGS entry
integer
The quantity of the product sold
number
The Cost of Goods Sold amount
number
The average cost per unit
number
The quantity of inventory remaining at the end of the period
number
The value of the ending inventory
string
The currency used for the financial calculations
integer
Identifier for the related exchange rate
integer
Identifier for the related sale transaction
number
The selling price per unit
number
The total gross sales amount
string
The method used to calculate COGS
string
The category of the product
string
The channel through which the sale was made
string
The segment of the customer who made the purchase
string
The date of the sale
boolean
Indicates whether this entry is for a return
string
The reason for the return, if applicable
string
The cost center associated with the COGS entry
integer
Identifier for the related supplier

Response

integer
The unique identifier of the updated COGS entry
string
A success message confirming the update of the COGS entry