Materials

Get a material

GET/materials/{material}

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

Request Headers

Bearer <token>

Path Parameters

material*string

The material'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/materials/string" \  -H "Authorization: Bearer ff_shop_…"
{  "result": {    "code": "string",    "color": "string",    "thickness_mm": 0,    "price_ncu_m2": 0,    "tile_size_mm": 0,    "drawing_padding_mm": 0,    "id": "string",    "kind": {      "id": "string"    },    "status": "active",    "appearance": {      "id": "string"    },    "processing_capabilities": {      "cutting": {        "id": "string"      },      "engraving_light": {        "id": "string"      },      "engraving_medium": {        "id": "string"      },      "engraving_heavy": {        "id": "string"      }    }  }}