Currencies API

get listing

GET /api/rest/admin/currencies

Parameters

Name Description
filter[id] id filter
filter[name-eq] name eq filter
filter[name-not-eq] name not eq filter
filter[name-cont] name cont filter
filter[name-start] name start filter
filter[name-end] name end filter
filter[name-in] name in filter
filter[name-not-in] name not in filter
filter[name-cont-any] name cont any filter
filter[rate-eq] rate eq filter
filter[rate-not-eq] rate not eq filter
filter[rate-gt] rate gt filter
filter[rate-gteq] rate gteq filter
filter[rate-lt] rate lt filter
filter[rate-lteq] rate lteq filter
filter[rate-in] rate in filter
filter[rate-not-in] rate not in filter

Request

Headers

Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjY5LCJhdWQiOlsiYWRtaW4iXSwiZXhwIjoxNzc2MzY1NzM0fQ.2F1He_ojoGCCaCAMmDJkS1GNZMs8pnHnPWApbngESuY
Host: example.org
Cookie: 

Route

GET /api/rest/admin/currencies

Response

Headers

x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/vnd.api+json
vary: Accept
etag: W/"7236d560df1f9ff449471b0926f631c1"
cache-control: max-age=0, private, must-revalidate
x-request-id: 578f7b17-cb1d-434f-b512-06e13f7169b2
x-runtime: 0.010093
content-length: 636

Status

200 OK

Body

{
  "data": [
    {
      "id": "0",
      "type": "currencies",
      "links": {
        "self": "http://example.org/api/rest/admin/currencies/0"
      },
      "attributes": {
        "name": "USD",
        "rate": 1.0
      }
    },
    {
      "id": "2",
      "type": "currencies",
      "links": {
        "self": "http://example.org/api/rest/admin/currencies/2"
      },
      "attributes": {
        "name": "AFN",
        "rate": 1.5
      }
    },
    {
      "id": "3",
      "type": "currencies",
      "links": {
        "self": "http://example.org/api/rest/admin/currencies/3"
      },
      "attributes": {
        "name": "ALL",
        "rate": 1.5
      }
    }
  ],
  "meta": {
    "total-count": 3
  },
  "links": {
    "first": "http://example.org/api/rest/admin/currencies?page%5Bnumber%5D=1&page%5Bsize%5D=50",
    "last": "http://example.org/api/rest/admin/currencies?page%5Bnumber%5D=1&page%5Bsize%5D=50"
  }
}