GET /companies/{companySlug}/products
Changed onReturns all products for given company
Request
- Base URLhttps://api.fiken.no/api/v2
- URLhttps://api.fiken.no/api/v2/companies/{companySlug}/products
- AuthOAuth 2Authorization code: https://fiken.no/oauth/authorizeToken URL: https://fiken.no/oauth/token
Query parameters
Returns the number of the page to return. Valid page values are integers from 0 to the total number of pages. Default value is 0.
Defines the number of entries to return on each page. Maximum number of results that can be returned at one time are 100. Default value is 25.
Dates are represented as strings formatted as YYYY-MM-DD. Example: January 1st, 1970: "1970-01-01"
Returns results that were created before or on the date provided as a parameter value. Dates are represented as strings formatted as YYYY-MM-DD. Example: January 1st, 1970: "1970-01-01"
Returns results that were created strictly before the date provided as a parameter value. Dates are represented as strings formatted as YYYY-MM-DD. Example: January 1st, 1970: "1970-01-01"
Returns results that were created after or on the date provided as a parameter value. Dates are represented as strings formatted as YYYY-MM-DD. Example: January 1st, 1970: "1970-01-01"
Returns results that were created strictly after the date provided as a parameter value. Dates are represented as strings formatted as YYYY-MM-DD. Example: January 1st, 1970: "1970-01-01"
Filter based on date of last modification. Returns results that were last modified on the date provided as a parameter value. Dates are represented as strings formatted as YYYY-MM-DD. Example: January 1st, 1970: "1970-01-01"
Returns results that have been last modified before or on the date provided as a parameter value. Dates are represented as strings formatted as YYYY-MM-DD. Example: January 1st, 1970: "1970-01-01"
Returns results that have been last modified strictly before the date provided as a parameter value. Dates are represented as strings formatted as YYYY-MM-DD. Example: January 1st, 1970: "1970-01-01"
Returns results that have been last modified after or on the date provided as a parameter value. Dates are represented as strings formatted as YYYY-MM-DD. Example: January 1st, 1970: "1970-01-01"
Returns results that have been last modified strictly after the date provided as a parameter value. Dates are represented as strings formatted as YYYY-MM-DD. Example: January 1st, 1970: "1970-01-01"
Find all results with product name equal to the specified parameter.
Find all results with product number (varenummer) equal to the specified parameter.
Returns active (true) or inactive (false) products.
Response
OK
Example response
[
{
"productId": 2888156,
"createdDate": "2018-04-03",
"lastModifiedDate": "2018-04-03",
"name": "Spade",
"unitPrice": 300000,
"costPrice": 150000,
"incomeAccount": "3000",
"vatType": "HIGH",
"active": true,
"productNumber": "125-1",
"stock": 5
}
]Changes
- info
added the optional property
/to the response with the status
- info
- info
added the new optional
queryrequest parametercreatedDateGe - info
added the new optional
queryrequest parametercreatedDateGt - info
added the new optional
queryrequest parametercreatedDateLe - info
added the new optional
queryrequest parametercreatedDateLt - info
added the new optional
queryrequest parameterlastModifiedGe - info
added the new optional
queryrequest parameterlastModifiedGt - info
added the new optional
queryrequest parameterlastModifiedLe - info
added the new optional
queryrequest parameterlastModifiedLt - info
the response property
/became required for the status
- info