---
title: "POST /currencies/system-currencies"
method: POST
path: "/currencies/system-currencies"
tags: ["Currencies"]
---

# POST /currencies/system-currencies

`POST /currencies/system-currencies`

This is a shortcut class that will include all 6 resourceful actions part of the DRF ViewSets:
- list()
- retrieve()
- create()
- update()
- partial_update()
- destroy()

If you do not want to expose all 6 of these in your ViewSet, then use the CubeAuthenticatedViewSet and add the
appropriate mixins to it (see rest_framework.mixins). This will allow the api to behave appropriately and block
requests to unprocessable endpoints. Furthermore, it will make the drf_spectacular documentation be generated more
easily.

## Headers

- `X-Company-ID` string, required

## Request body

- Currency — Allows selectively disabling DRF uniqueness validation for ModelSerializers. ModelSerializer runs unique field validation during `is_valid()`, even when the serializer is used only to deserialize or reference existing model data (i.e. with no intent to create or update an instance). This mixin enables callers to explicitly skip uniqueness checks for specific fields in those cases. Usage: serializer = MySerializer( data=payload, skip_unique_validation_fields=('code',), )
  - `code` string, required

## Response `201`

- Currency — Allows selectively disabling DRF uniqueness validation for ModelSerializers. ModelSerializer runs unique field validation during `is_valid()`, even when the serializer is used only to deserialize or reference existing model data (i.e. with no intent to create or update an instance). This mixin enables callers to explicitly skip uniqueness checks for specific fields in those cases. Usage: serializer = MySerializer( data=payload, skip_unique_validation_fields=('code',), )
  - `code` string, required

---

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