Material kinds

Get a material kind

GET/material-kinds/{material_kind}

Returns one material kind. The path names the material kind by its id, or by its code with by=code.

Request Headers

Bearer <token>

Path Parameters

material_kind*string

The material kind's id, or its code when by=code.

Query Parameters

by?string

Which key the path holds: id, the default, or code.

Default"id"

Value in

  • "id"
  • "code"

Response Headers

200, 400, 401, 404, 429, default

200, 400, 401, 404, 429, default

200, 400, 404, 429, default

200, 400, 404, 429, default

429

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/material-kinds/string" \  -H "Authorization: Bearer ff_shop_…"
{  "result": {    "title": "string",    "code": "string",    "compatibility_mode": "universal",    "id": "string",    "category": {      "id": "string"    },    "compatibility_groups": [      {        "id": "string"      }    ]  }}