order confirmations

POST /companies/{companySlug}/orderConfirmations/counter

Changed on

Creates the first order confirmation number which is then increased by one with every new order confirmation. By sending an empty request body the default is base number (the first order confirmation number will thus be 10001), but can be specified to another starting value.

Request

  • Base URL
    https://api.fiken.no/api/v2
  • URL
    https://api.fiken.no/api/v2/companies/{companySlug}/orderConfirmations/counter
  • Auth
    OAuth 2
    Authorization code: https://fiken.no/oauth/authorize
    Token URL: https://fiken.no/oauth/token

Request body

valueinteger

Current value of the counter

Example request

{
  "value": 10000
}

Response

Created

Changes