QIMA Logo

Parameter Product Types Guide

Latest Update Time: 2026-07-02 00:00:00

Use this API to retrieve all product types in QIMA's reference data. Product types are the most granular level of the product taxonomy.

See the Parameter Introduction for base URL, authentication, and required headers.

Endpoint

GET https://ppapi.qima.com/parameter/v2/product-types

Query Parameters

ParameterRequiredDescription
refreshNoSend false (default) to use the server cache, or true to force a fresh lookup.

Request Example

curl --location --request GET 'https://ppapi.qima.com/parameter/v2/product-types' \
  --header 'Ai-Api-Access-Token: {your api access token}' \
  --header 'Ai-User-Id: {your user ID}' \
  --header 'Authorization: Bearer {your token}' \
  --header 'Referer: https://preprodmy.qima.com/'

Successful Response

The real list has many entries — trimmed to 2 here. Unlike the other Parameter list APIs, content here is an object with data (the array) and success, not a bare array.

{
    "message": null,
    "content": {
        "data": [
            {
                "name": "Scallops / clams",
                "category": "Food & Food containers",
                "categoryId": "bigCat8",
                "family": "Seafood Processed",
                "familyId": "bigCat8_s103",
                "productTypeId": "bigCat8_s103_t11",
                "type": "General",
                "maxNbOfPcs": 50,
                "maxNbOfRefs": 0,
                "maxNbOfPts": 0
            },
            {
                "name": "Cooler bag / isothermal bag",
                "category": "Textile, Apparel, Footwear & Accessories",
                "categoryId": "bigCat6",
                "family": "Bags & Luggage",
                "familyId": "bigCat6_s1",
                "productTypeId": "bigCat6_s1_t4",
                "type": "Textile",
                "maxNbOfPcs": 315,
                "maxNbOfRefs": 0,
                "maxNbOfPts": 0
            }
        ],
        "success": true
    }
}

Response Field Notes

FieldNotes
content.successWhether the lookup succeeded.
content.data[].productTypeIdThe product type ID. Use this as typeId in a product booking.
content.data[].categoryId / familyIdThe parent category/family IDs. Match id values from Get All Product Categories / Get All Product Families.
content.data[].category / familyDisplay names for the parent category/family (unlike Get All Product Families, these are populated here, not null).
content.data[].typeThe booking type this product type is associated with, for example "General" or "Textile".
content.data[].maxNbOfPcs / maxNbOfRefs / maxNbOfPtsMaximum pieces/references/points allowed per man-day for this product type, used in inspection sampling calculations.

Common Errors

See common authentication errors for 401 and 403 responses.

StatusMeaningRecommended Action
404 Not FoundProduct type data could not be found.Contact QIMA support with the request time.

Next Steps

  • Use a product type's productTypeId as typeId when booking an Inspection, Audit, or Lab Testing order.