Get all Currencies
GEThttps://useast.api.elasticpath.com/v2/currencies
caution
This endpoint is for Administrator use only. Do not use this endpoint on your customer-facing frontends.
Request
Query Parameters
page[offset] string
The number of records to offset the results by.
page[limit] string
The number of records per page.
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
Schema
data object[]
{
"data": [
{
"id": "0c45e4ec-26e0-4043-86e4-c15b9cf985a0",
"type": "currency",
"code": "GBP",
"exchange_rate": 1,
"format": "£{price}",
"decimal_point": ".",
"thousand_separator": ",",
"decimal_places": 2,
"default": true,
"enabled": true,
"links": {
"self": "string"
},
"meta": {
"timestamps": {
"created_at": "2023-11-07T23:04:18.845Z",
"updated_at": "2023-11-07T23:04:18.845Z"
},
"owner": "store"
}
}
]
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
detail string
status string
title string
[
null
]
{
"errors": {
"status": 401,
"title": "Unauthorized"
}
}
Authorization: http
name: bearerAuthtype: httpscheme: bearer
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X GET 'https://useast.api.elasticpath.com/v2/currencies' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
ResponseClear