items

Creates a new item for the company.

Scope: items:write

post/companies/{companyId}/items

Request

  • Base URL
    https://api.bokio.se/v1
  • 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 created

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