Revenue Account Mapping

πŸ”’ Create revenue account mapping

Changed on

This endpoint is currently in Beta and available for testing. It may contain bugs, and breaking changes can occur at any time without prior notice. We do not recommend using Beta endpoints in production environments. Should you choose to use it in production, you assume full responsibility for any resulting issues.

Create revenue account mapping

post/api/v1/revenueAccountMapping/group

Request

Request body

namestring required
accountIdstring required
deliveryCountryCodestring[] required
isActiveboolean

Example request

{
  "project": [
    {
      "id": "1",
      "name": "Project A"
    }
  ],
  "product": [
    {
      "id": "1",
      "name": "Project A"
    }
  ],
  "productCategory": [
    {
      "id": "1",
      "name": "Project A"
    }
  ],
  "taxType": [
    {
      "id": "1",
      "name": "Project A"
    }
  ],
  "shop": [
    {
      "id": "1",
      "name": "Project A"
    }
  ]
}

Response

Created

groupIdstring

Group ID

namestring

Name of the mapping

accountobject

Booking account

deliveryCountryCodestring[]

Delivery country codes

isActiveboolean

Is active

createdAtstring date-time

Created at timestamp

updatedAtstring date-time

Updated at timestamp

Example response

{
  "groupId": "3f2504e0-4f89-11d3-9a0c-0305e82c3301",
  "name": "EU exception",
  "account": {
    "id": "1",
    "accountNumber": "8400"
  },
  "deliveryCountryCode": [
    "DE",
    "AT"
  ],
  "taxType": [
    {
      "id": "1",
      "name": "Project A"
    }
  ],
  "project": [
    {
      "id": "1",
      "name": "Project A"
    }
  ],
  "product": [
    {
      "id": "1",
      "name": "Project A"
    }
  ],
  "productCategory": [
    {
      "id": "1",
      "name": "Project A"
    }
  ],
  "shop": [
    {
      "id": "1",
      "name": "Project A"
    }
  ],
  "isActive": true,
  "createdAt": "2022-01-01T00:00:00Z",
  "updatedAt": "2022-01-01T00:00:00Z"
}

Changes