items

Update an existing item for the company.

Scope: items:write

put/companies/{companyId}/items/{itemId}

Request

  • Base URL
    https://api.bokio.se/v1
  • URL
    https://api.bokio.se/v1/companies/{companyId}/items/{itemId}
  • Auth
    HTTP bearer

Request body

OR

Example request

{
  "id": "fc967153-1f8a-48d0-b773-fe3e61978263",
  "description": "Product 1",
  "itemType": "salesItem",
  "productType": "goods",
  "unitType": "piece",
  "unitPrice": 100,
  "taxRate": 25,
  "bookkeepingAccountNumber": 3920
}

Response

Item updated

OR

Example response

{
  "id": "fc967153-1f8a-48d0-b773-fe3e61978263",
  "description": "Product 1",
  "itemType": "salesItem",
  "productType": "goods",
  "unitType": "piece",
  "unitPrice": 100,
  "taxRate": 25,
  "bookkeepingAccountNumber": 3920
}

Changes

    • warning

      added the new custom enum value to the // response property for the response status

    • info

      added the new optional request property //

    • info

      added the new custom enum value to the request property //

    • info

      added the optional property // to the response with the status