Send POST /v1/product-types/product-type:
{
"name": "Chemicals",
"code": "CHEM",
"transport_services": [
{"id": "11111111-1111-4111-8111-111111111111"}
]
}Save the returned id. The next example uses 22222222-2222-4222-8222-222222222222 as the product-type ID.
Link the type to each transport service that needs to use its products. Without a link, its products cannot be matched on orders for that service. To link an existing type, send PATCH /v1/product-types/product-type/{product_type_id} with the full transport_services list; it replaces the current links.