---
title: "POST /companies/{companySlug}/orderConfirmations/counter"
method: POST
path: "/companies/{companySlug}/orderConfirmations/counter"
tags: ["order confirmations"]
---

# POST /companies/{companySlug}/orderConfirmations/counter

`POST /companies/{companySlug}/orderConfirmations/counter`

## 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`

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 body

- Counter
  - `value` integer: Current value of the counter

## Response `201`

Created

## Changes

- **2023-05-26** `e093a0c9db87`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/fiken/apis/fiken-api/changes/companies/:companySlug/orderConfirmations/counter/post.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)
