Retraced Product / Material Headers API

The Product / Material Headers API from Retraced — 3 operation(s) for product / material headers.

Operations 5

POST /api/v2/material-headers/ Create api material headers #
GET /api/v2/material-headers/ Get api material headers #
GET /api/v2/material-headers/{id} Get api material headers by id #
PUT /api/v2/material-headers/{id} Replace api material headers by id #
POST /api/v2/material-headers/delete Create api material headers delete #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/retraced-product-material-headers-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

retraced-product-material-headers-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Public API Reference Product / Material Headers API
  description: 'The retraced API comprises all publicly enabled options to make

    machine-to-machine changes in the retraced platform.'
  version: 2.938.1
servers: []
tags:
- name: Product / Material Headers
paths:
  /api/v2/material-headers/:
    post:
      tags:
      - Product / Material Headers
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  minLength: 1
                  maxLength: 255
                description:
                  anyOf:
                  - type: string
                    maxLength: 4000
                  - type: 'null'
                link:
                  type: object
                  properties:
                    styleId:
                      type: string
                      minLength: 1
                    isMainMaterial:
                      type: boolean
                  required:
                  - styleId
                  - isMainMaterial
                forCompanyId:
                  type: string
                  minLength: 1
              required:
              - name
              - link
      responses:
        '201':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  metadata:
                    type: object
                    properties:
                      success:
                        default: true
                        type: boolean
                      pagination:
                        type: object
                        properties:
                          page:
                            default: 1
                            type: number
                          limit:
                            default: 10
                            type: number
                          total:
                            default: 0
                            type: number
                          totalPages:
                            default: 0
                            type: number
                        required:
                        - page
                        - limit
                        - total
                        - totalPages
                        additionalProperties: false
                    required:
                    - success
                    additionalProperties: false
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                        minLength: 1
                      name:
                        type: string
                        minLength: 1
                        maxLength: 255
                      forCompanyId:
                        type: string
                        minLength: 1
                      description:
                        anyOf:
                        - type: string
                          maxLength: 4000
                        - type: 'null'
                      link:
                        type: object
                        properties:
                          styleId:
                            type: string
                            minLength: 1
                          isMainMaterial:
                            type: boolean
                          isOwner:
                            type: boolean
                        required:
                        - styleId
                        - isMainMaterial
                        additionalProperties: false
                      createdAt:
                        anyOf:
                        - type: string
                          format: date-time
                        - type: 'null'
                      createdByUserId:
                        anyOf:
                        - type: string
                        - type: 'null'
                      createdByCompanyId:
                        anyOf:
                        - type: string
                        - type: 'null'
                      updatedAt:
                        anyOf:
                        - type: string
                          format: date-time
                        - type: 'null'
                      updatedByUserId:
                        anyOf:
                        - type: string
                        - type: 'null'
                      updatedByCompanyId:
                        anyOf:
                        - type: string
                        - type: 'null'
                    required:
                    - id
                    - name
                    - forCompanyId
                    - link
                    additionalProperties: false
                required:
                - metadata
                - data
                additionalProperties: false
      summary: Create api material headers
      x-summary-source: derived
      operationId: postApiV2MaterialHeaders
      x-operation-id-source: derived
    get:
      tags:
      - Product / Material Headers
      parameters:
      - schema:
          default: 1
          type: integer
          minimum: 1
          maximum: 9007199254740991
        in: query
        name: page
        required: false
      - schema:
          default: 20
          type: integer
          minimum: 1
          maximum: 100
        in: query
        name: limit
        required: false
      - schema:
          default: desc
          type: string
          enum:
          - asc
          - desc
          - ASC
          - DESC
        in: query
        name: order
        required: false
      - schema:
          default: name
          type: string
          enum:
          - name
          - styleId
          - createdAt
          - updatedAt
        in: query
        name: sort
        required: false
      - schema:
          type: string
          minLength: 1
        in: query
        name: styleId
        required: true
      - schema:
          type: string
        in: query
        name: name
        required: false
      - schema:
          type: string
        in: query
        name: description
        required: false
      - schema:
          anyOf:
          - type: boolean
          - type: string
            enum:
            - 'true'
          - type: string
            enum:
            - 'false'
        in: query
        name: isMainMaterial
        required: false
      - schema:
          anyOf:
          - type: boolean
          - type: string
            enum:
            - 'true'
          - type: string
            enum:
            - 'false'
        in: query
        name: isOwner
        required: false
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  metadata:
                    type: object
                    properties:
                      success:
                        default: true
                        type: boolean
                      pagination:
                        type: object
                        properties:
                          page:
                            default: 1
                            type: number
                          limit:
                            default: 10
                            type: number
                          total:
                            default: 0
                            type: number
                          totalPages:
                            default: 0
                            type: number
                        required:
                        - page
                        - limit
                        - total
                        - totalPages
                        additionalProperties: false
                    required:
                    - success
                    additionalProperties: false
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          minLength: 1
                        name:
                          type: string
                          minLength: 1
                          maxLength: 255
                        forCompanyId:
                          type: string
                          minLength: 1
                        description:
                          anyOf:
                          - type: string
                            maxLength: 4000
                          - type: 'null'
                        link:
                          type: object
                          properties:
                            styleId:
                              type: string
                              minLength: 1
                            isMainMaterial:
                              type: boolean
                            isOwner:
                              type: boolean
                          required:
                          - styleId
                          - isMainMaterial
                          additionalProperties: false
                        createdAt:
                          anyOf:
                          - type: string
                            format: date-time
                          - type: 'null'
                        createdByUserId:
                          anyOf:
                          - type: string
                          - type: 'null'
                        createdByCompanyId:
                          anyOf:
                          - type: string
                          - type: 'null'
                        updatedAt:
                          anyOf:
                          - type: string
                            format: date-time
                          - type: 'null'
                        updatedByUserId:
                          anyOf:
                          - type: string
                          - type: 'null'
                        updatedByCompanyId:
                          anyOf:
                          - type: string
                          - type: 'null'
                      required:
                      - id
                      - name
                      - forCompanyId
                      - link
                      additionalProperties: false
                required:
                - metadata
                - data
                additionalProperties: false
      summary: Get api material headers
      x-summary-source: derived
      operationId: getApiV2MaterialHeaders
      x-operation-id-source: derived
  /api/v2/material-headers/{id}:
    get:
      tags:
      - Product / Material Headers
      parameters:
      - schema:
          type: string
          minLength: 1
        in: path
        name: id
        required: true
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  metadata:
                    type: object
                    properties:
                      success:
                        default: true
                        type: boolean
                      pagination:
                        type: object
                        properties:
                          page:
                            default: 1
                            type: number
                          limit:
                            default: 10
                            type: number
                          total:
                            default: 0
                            type: number
                          totalPages:
                            default: 0
                            type: number
                        required:
                        - page
                        - limit
                        - total
                        - totalPages
                        additionalProperties: false
                    required:
                    - success
                    additionalProperties: false
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                        minLength: 1
                      name:
                        type: string
                        minLength: 1
                        maxLength: 255
                      forCompanyId:
                        type: string
                        minLength: 1
                      description:
                        anyOf:
                        - type: string
                          maxLength: 4000
                        - type: 'null'
                      link:
                        type: object
                        properties:
                          styleId:
                            type: string
                            minLength: 1
                          isMainMaterial:
                            type: boolean
                          isOwner:
                            type: boolean
                        required:
                        - styleId
                        - isMainMaterial
                        additionalProperties: false
                      createdAt:
                        anyOf:
                        - type: string
                          format: date-time
                        - type: 'null'
                      createdByUserId:
                        anyOf:
                        - type: string
                        - type: 'null'
                      createdByCompanyId:
                        anyOf:
                        - type: string
                        - type: 'null'
                      updatedAt:
                        anyOf:
                        - type: string
                          format: date-time
                        - type: 'null'
                      updatedByUserId:
                        anyOf:
                        - type: string
                        - type: 'null'
                      updatedByCompanyId:
                        anyOf:
                        - type: string
                        - type: 'null'
                    required:
                    - id
                    - name
                    - forCompanyId
                    - link
                    additionalProperties: false
                required:
                - metadata
                - data
                additionalProperties: false
      summary: Get api material headers by id
      x-summary-source: derived
      operationId: getApiV2MaterialHeadersById
      x-operation-id-source: derived
    put:
      tags:
      - Product / Material Headers
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  minLength: 1
                  maxLength: 255
                description:
                  anyOf:
                  - type: string
                    maxLength: 4000
                  - type: 'null'
                link:
                  type: object
                  properties:
                    styleId:
                      type: string
                      minLength: 1
                    isMainMaterial:
                      type: boolean
                  required:
                  - styleId
                  - isMainMaterial
                forCompanyId:
                  type: string
                  minLength: 1
              required:
              - name
              - link
      parameters:
      - schema:
          type: string
          minLength: 1
        in: path
        name: id
        required: true
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  metadata:
                    type: object
                    properties:
                      success:
                        default: true
                        type: boolean
                      pagination:
                        type: object
                        properties:
                          page:
                            default: 1
                            type: number
                          limit:
                            default: 10
                            type: number
                          total:
                            default: 0
                            type: number
                          totalPages:
                            default: 0
                            type: number
                        required:
                        - page
                        - limit
                        - total
                        - totalPages
                        additionalProperties: false
                    required:
                    - success
                    additionalProperties: false
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                        minLength: 1
                      name:
                        type: string
                        minLength: 1
                        maxLength: 255
                      forCompanyId:
                        type: string
                        minLength: 1
                      description:
                        anyOf:
                        - type: string
                          maxLength: 4000
                        - type: 'null'
                      link:
                        type: object
                        properties:
                          styleId:
                            type: string
                            minLength: 1
                          isMainMaterial:
                            type: boolean
                          isOwner:
                            type: boolean
                        required:
                        - styleId
                        - isMainMaterial
                        additionalProperties: false
                      createdAt:
                        anyOf:
                        - type: string
                          format: date-time
                        - type: 'null'
                      createdByUserId:
                        anyOf:
                        - type: string
                        - type: 'null'
                      createdByCompanyId:
                        anyOf:
                        - type: string
                        - type: 'null'
                      updatedAt:
                        anyOf:
                        - type: string
                          format: date-time
                        - type: 'null'
                      updatedByUserId:
                        anyOf:
                        - type: string
                        - type: 'null'
                      updatedByCompanyId:
                        anyOf:
                        - type: string
                        - type: 'null'
                    required:
                    - id
                    - name
                    - forCompanyId
                    - link
                    additionalProperties: false
                required:
                - metadata
                - data
                additionalProperties: false
      summary: Replace api material headers by id
      x-summary-source: derived
      operationId: putApiV2MaterialHeadersById
      x-operation-id-source: derived
  /api/v2/material-headers/delete:
    post:
      tags:
      - Product / Material Headers
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                styleId:
                  type: string
                  minLength: 1
                materialHeaderIds:
                  minItems: 1
                  type: array
                  items:
                    type: string
                    minLength: 1
              required:
              - styleId
              - materialHeaderIds
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  metadata:
                    type: object
                    properties:
                      success:
                        default: true
                        type: boolean
                      pagination:
                        type: object
                        properties:
                          page:
                            default: 1
                            type: number
                          limit:
                            default: 10
                            type: number
                          total:
                            default: 0
                            type: number
                          totalPages:
                            default: 0
                            type: number
                        required:
                        - page
                        - limit
                        - total
                        - totalPages
                        additionalProperties: false
                    required:
                    - success
                    additionalProperties: false
                  data:
                    type: object
                    properties:
                      deletedHeaders:
                        type: array
                        items:
                          type: string
                      deletedLinks:
                        type: array
                        items:
                          type: string
                      errors:
                        type: array
                        items:
                          type: object
                          properties:
                            materialHeaderId:
                              type: string
                            message:
                              type: string
                          required:
                          - materialHeaderId
                          - message
                          additionalProperties: false
                    required:
                    - deletedHeaders
                    - deletedLinks
                    - errors
                    additionalProperties: false
                required:
                - metadata
                - data
                additionalProperties: false
      summary: Create api material headers delete
      x-summary-source: derived
      operationId: postApiV2MaterialHeadersDelete
      x-operation-id-source: derived