---
title: "🔒 Create revenue account mapping"
method: POST
path: "/api/v1/revenueAccountMapping"
tags: ["Revenue Account Mapping"]
---

# 🔒 Create revenue account mapping

`POST /api/v1/revenueAccountMapping`

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

## Request body

- object
  - `accountId` string, required
  - `deliveryCountryCode` string
  - `projectId` string
  - `productId` string
  - `warehouseId` string
  - `isActive` boolean

## Response `201`

Created

- object — Revenue account mapping entry
  - `id` string — Revenue account mapping ID
  - `accountId` string — Account ID
  - `name` string — Name of the mapping
  - `deliveryCountryCode` string — Delivery country code
  - `projectId` string, nullable — Project ID
  - `productId` string, nullable — Product ID
  - `warehouseId` string, nullable — Warehouse ID
  - `warehouseCountryCode` string, nullable — Warehouse country code
  - `isActive` boolean — Is active
  - `createdAt` string, date-time — Created at timestamp
  - `updatedAt` string, date-time — Updated at timestamp

## Other responses

- `400` — XGL Problem
- `401` — Unable to authenticate the client
- `403` — Unable to authorize the client
- `409` — IETF RFC 9457 Problem API compliant response
- `415` — Resource representation send in the request is not supported.
- `429` — Too many API calls made.
- `500` — XGL Problem

---

[API](https://skmtc.net/xentral/apis/xentral-api.md) · [All operations](https://skmtc.net/xentral/apis/xentral-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/xentral/xentral-api/revisions/8a27ba392442/schema)
