Heads up, our devs are blazing ahead—docs are catching up, so some features might not be fully documented yet.

Currency

Currency

List foreign currencies

get

List foreign currencies.

Authorizations
Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Query parameters
pageNumberintegerOptional

Reference to a specific page in a result set.

pageSizeintegerOptional

The number of items per page in a result set.

Responses
200
Example response
application/json
get
GET /v2/tenants/{tenantUid}/currencies HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

Example response

{
  "items": [
    {
      "currencyUid": "text",
      "currencyCode": "text",
      "exchangeRate": 1,
      "createdAt": "2025-07-30T18:10:28.108Z",
      "createdBy": "text",
      "lastModifiedAt": "2025-07-30T18:10:28.108Z",
      "lastModifiedBy": "text"
    }
  ],
  "paging": {
    "pageNumber": 1,
    "pageSize": 1,
    "totalCount": 1
  }
}

Add currency

post

Add a currency with exchange rate. Currency codes follow the ISO 4217 standard. Exchange rates are entered as integers in cents (2 decimals).

Authorizations
Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Body
currencyUidstringOptionalPattern: ^[A-Za-z0-9-_]*
currencyCodestringRequired

ISO 4217 standard

exchangeRateintegerRequired

in cents (2 decimals)

Responses
201
Example response
application/json
post
POST /v2/tenants/{tenantUid}/currencies HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 61

{
  "currencyUid": "text",
  "currencyCode": "text",
  "exchangeRate": 1
}
201

Example response

{
  "currencyUid": "text",
  "currencyCode": "text",
  "exchangeRate": 1,
  "createdAt": "2025-07-30T18:10:28.108Z",
  "createdBy": "text",
  "lastModifiedAt": "2025-07-30T18:10:28.108Z",
  "lastModifiedBy": "text"
}

Get currency

get

Get a currency.

Authorizations
Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
currencyUidstringRequired

Key to currency

Responses
200
Example response
application/json
get
GET /v2/tenants/{tenantUid}/currencies/{currencyUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

Example response

{
  "currencyUid": "text",
  "currencyCode": "text",
  "exchangeRate": 1,
  "createdAt": "2025-07-30T18:10:28.108Z",
  "createdBy": "text",
  "lastModifiedAt": "2025-07-30T18:10:28.108Z",
  "lastModifiedBy": "text"
}

Update currency

put

Update a currency.

Authorizations
Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
currencyUidstringRequired

Key to currency

Body
currencyCodestringOptional

ISO 4217 standard

exchangeRateintegerOptional

in cents (2 decimals)

Responses
200
Example response
application/json
put
PUT /v2/tenants/{tenantUid}/currencies/{currencyUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 40

{
  "currencyCode": "text",
  "exchangeRate": 1
}
200

Example response

{
  "currencyUid": "text",
  "currencyCode": "text",
  "exchangeRate": 1,
  "createdAt": "2025-07-30T18:10:28.108Z",
  "createdBy": "text",
  "lastModifiedAt": "2025-07-30T18:10:28.108Z",
  "lastModifiedBy": "text"
}

Delete currency

delete

Delete a currency.

Authorizations
Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
currencyUidstringRequired

Key to currency

Responses
204
No Content
delete
DELETE /v2/tenants/{tenantUid}/currencies/{currencyUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
204

No Content

No content

Was this helpful?