SendRegning

Get product

Verison: 1.0 (read more)

Returns a product by number.

If product doesn’t exist, the API will return HTTP status code 404 Not Found.

1
GET /products/{productNumber}

Response

HTTP/1.1 200 OK

1
2
3
4
5
6
7
8
9
{
    "number": 1,
    "code": "Prod1",
    "vendorNumber": "VN 123",
    "description": "Product item",
    "unitPrice": 10.00,
    "taxRate": 25,
    "accountNumber": 3010
}

Detailed property description

Name Description Required Type Limitation
code Unique product code Yes String 9 characters
taxRate Tax rate in percentage Yes Integer Valid Norwegian tax rate
unitPrice Unit price If not provided it defaults to 0.00 Decimal 2 decimals
description Description   String 75 characters
accountNumber Account number for future bookkeeping functionality, not currently used   Integer  
vendorNumber Vendor number   String 24 characters