---
title: "GET /companies/{companySlug}/products"
method: GET
path: "/companies/{companySlug}/products"
tags: ["products"]
---

# GET /companies/{companySlug}/products

`GET /companies/{companySlug}/products`

## Request

- Base URL: `https://api.fiken.no/api/v2`
- URL: `https://api.fiken.no/api/v2/companies/{companySlug}/products`
- Auth: OAuth 2
  - Authorization code: `https://fiken.no/oauth/authorize`
  - Token URL: `https://fiken.no/oauth/token`

Returns all products for given company

## Query parameters

- `page` integer
- `pageSize` integer
- `createdDate` string, date
- `createdDateLe` string, date
- `createdDateLt` string, date
- `createdDateGe` string, date
- `createdDateGt` string, date
- `lastModified` string, date
- `lastModifiedLe` string, date
- `lastModifiedLt` string, date
- `lastModifiedGe` string, date
- `lastModifiedGt` string, date
- `name` string
- `productNumber` string
- `active` boolean

## Response `200`

OK

- Product[]
  - `productId` integer: Product Id.
  - `createdDate` string, date: Date that product was created in Fiken, format yyyy-mm-dd
  - `lastModifiedDate` string, date: Date that product was last modified in Fiken, format yyyy-mm-dd.
  - `name` string, required: Product name.
  - `unitPrice` integer: The net unit price in cents.
  - `costPrice` integer: Cost price in cents, including freight, customs duty and other non-recoverable costs. Excluding VAT if the company is VAT-registered, including VAT otherwise. Optional.
  - `incomeAccount` string, required: The accounting account that will receive the payment.
  - `vatType` string, required: One of {"HIGH", "MEDIUM", "LOW", "EXEMPT", "EXEMPT_IMPORT_EXPORT", "EXEMPT_REVERSE", "OUTSIDE", "NONE"}. "HIGH" is the most common.
  - `active` boolean, required: If product is in use (True) or not (False).
  - `productNumber` string
  - `stock` number, float: Number of products available in stock. If not provided, stock value is set to null. Decimal values are accepted. For example 5.5
  - `note` string: Optional field for additional information.

## Changes

- **2026-10-23** `29111da67f94`: 1 info
  - added the optional property `items/costPrice` to the response with the `200` status
- **2023-05-26** `e093a0c9db87`: 9 info
  - added the new optional `query` request parameter `createdDateGe`
  - added the new optional `query` request parameter `createdDateGt`
  - added the new optional `query` request parameter `createdDateLe`
  - added the new optional `query` request parameter `createdDateLt`
  - …5 more
- **2021-12-08** `4813e5666340`: 1 breaking, 5 info
  - the `items/stock` response's property type changed from `integer` to `number`, and format from `int64` to `float` for status `200`
  - the endpoint scheme security `fiken_api_oauth` was removed from the API
  - added the new optional `query` request parameter `createdDate`
  - added the new optional `query` request parameter `lastModified`
  - …2 more

[Operation history](https://skmtc.dev/fiken/apis/fiken-api/changes/companies/:companySlug/products/get.md)

---

[API](https://skmtc.dev/fiken/apis/fiken-api.md) - [All operations](https://skmtc.dev/fiken/apis/fiken-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fiken/apis/fiken-api/revisions/29111da67f94?raw)
