GET
/
api
/
v2
/
platform
/
option_values
curl --request GET \
  --url http://{defaultHost}/api/v2/platform/option_values \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "68",
      "type": "option_value",
      "attributes": {
        "position": 1,
        "name": "Size-68",
        "presentation": "S",
        "created_at": "2022-11-08T19:34:33.815Z",
        "updated_at": "2022-11-08T19:34:33.815Z",
        "public_metadata": {},
        "private_metadata": {}
      },
      "relationships": {
        "option_type": {
          "data": {
            "id": "80",
            "type": "option_type"
          }
        }
      }
    },
    {
      "id": "69",
      "type": "option_value",
      "attributes": {
        "position": 1,
        "name": "Size-69",
        "presentation": "S",
        "created_at": "2022-11-08T19:34:33.820Z",
        "updated_at": "2022-11-08T19:34:33.820Z",
        "public_metadata": {},
        "private_metadata": {}
      },
      "relationships": {
        "option_type": {
          "data": {
            "id": "81",
            "type": "option_type"
          }
        }
      }
    }
  ],
  "meta": {
    "count": 2,
    "total_count": 2,
    "total_pages": 1
  },
  "links": {
    "self": "http://www.example.com/api/v2/platform/option_values?page=1&per_page=&include=&filter[option_type_id_eq]=&filter[name_cont]=",
    "next": "http://www.example.com/api/v2/platform/option_values?filter%5Bname_cont%5D=&filter%5Boption_type_id_eq%5D=&include=&page=1&per_page=",
    "prev": "http://www.example.com/api/v2/platform/option_values?filter%5Bname_cont%5D=&filter%5Boption_type_id_eq%5D=&include=&page=1&per_page=",
    "last": "http://www.example.com/api/v2/platform/option_values?filter%5Bname_cont%5D=&filter%5Boption_type_id_eq%5D=&include=&page=1&per_page=",
    "first": "http://www.example.com/api/v2/platform/option_values?filter%5Bname_cont%5D=&filter%5Boption_type_id_eq%5D=&include=&page=1&per_page="
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

page
integer
per_page
integer
include
string

Select which associated resources you would like to fetch, see: <a href="https://jsonapi.org/format/#fetching-includes">https://jsonapi.org/format/#fetching-includes</a>

filter[option_type_id_eq]
string
filter[name_cont]
string

Response

200
application/vnd.api+json
Records returned
data
object[]
required
meta
object
required