products
POST /companies/{companySlug}/products
Changed onCreates a new product.
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
Request body
Example request
{
"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
}Response
Created
Changes
- info
added the new optional request property
- info
- breaking
the request property
became required
- breaking