Update Item Selling Price
Endpoint: PUT /items/{id}/selling-price
Authentication: Bearer Token (required)
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| id | string | Yes | UUID of the item to update selling price for |
Headers
| Name | Type | Required | Description |
|---|---|---|---|
| Authorization | string | Yes | Bearer token for authentication. Format: Bearer <token> |
| Content-Type | string | Yes | Must be application/json |
Request Body
The request body must be a JSON object with the following structure:
| Field | Type | Required | Description |
|---|---|---|---|
| itemCode | string | Yes | Unique code identifying the item (e.g., "008") |
| unitPrice | string | Yes | New selling price per unit as a string (e.g., "20") |
| currency | string | Yes | ISO 4217 currency code for the selling price (e.g., "USD") |
Example Request Body
{
"itemCode": "008",
"unitPrice": "20",
"currency": "USD"
}