Material Categories

API endpoints for managing material categories

GET /materials/categories

Get List of Materials Categories (Without Pagination) Endpoint

Endpoint: GET /open-api/v1/materials/categories

Description

Fetches a complete list of material categories from the Simplio3D API without pagination.

Request Headers

  • Authorization: Bearer token required.

Sample Request

GET /open-api/v1/materials/categories HTTP/1.1
Host: api.simplio3d.com
Authorization: Bearer {your_api_token}

Response

  • Status Code: 200 OK

  • Body: A JSON array containing the material categories available.

  • [
        {
            "id": "1",
            "name": "Wood"
        },
        {
            "id": "2",
            "name": "Metal"
        }
        // ... other categories
    ]

    Error Handling

    • 401 Unauthorized: If the authorization token is missing or invalid.

    • 500 Internal Server Error: For generic server-side errors.

Get list of materials categories (without pagination)

get
/api/open-api/v1/materials-categories/list

Get all materials categories without pagination.

Authorizations
AuthorizationstringRequired

Enter token in format (Bearer <your_token>)

Query parameters
order_bystringOptional

Column to order the results by (default: created_at)

Example: name
orderstring · enumOptional

Order direction (asc or desc, default: desc)

Example: ascPossible values:
Responses
200

Successful response

application/json
get
/api/open-api/v1/materials-categories/list

GET /materials/categories/{id}

Get a Specific Material Category by ID

Response

  • Status Code: 200 OK

  • Materials Not Found: 404

  • Unauthorized: 401

Get materials category by ID

get
/api/open-api/v1/materials-categories/{id}

Get a specific materials category by ID.

Authorizations
AuthorizationstringRequired

Enter token in format (Bearer <your_token>)

Path parameters
idinteger · int64Required

ID of the materials category

Responses
200

Successful response

application/json
get
/api/open-api/v1/materials-categories/{id}

Last updated

Was this helpful?