Skip to main content
POST
/
v1
/
materials:batch-get
Batch Get Materials
curl --request POST \
  --url https://api.example.com/v1/materials:batch-get \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "codes": [
    "<string>"
  ]
}
'
{
  "items": [
    {
      "code": "<string>",
      "name": "<string>",
      "type": "<string>"
    }
  ]
}

Body

application/json
codes
string[]
required

List of material codes to load.

Response

The request has succeeded.

items
object[]
required

List of items.