Skip to main content

Update Item Cost

Endpoint: PUT /items/{id}/cost

Authentication: X-API-Key: {{apiKey}}

Path Parameters

NameTypeRequiredDescription
idstringYesUUID of the item to update cost for

Headers

NameTypeRequiredDescription
AuthorizationstringYesX-API-Key for authentication. Format: X-API-Key: {{apiKey}}
Content-TypestringYesMust be application/json

Request Body

The request body must be a JSON object with the following structure:

FieldTypeRequiredDescription
itemCodestringYesUnique code identifying the item (e.g., "008")
coststringYesNew cost per unit as a string (e.g., "5")

Example Request Body

{
"itemCode": "008",
"cost": "5"
}