GetProductTypes
Retrieve product types from Medusa with filtering, sorting, and pagination options to manage product categorization.
Instructions
Retrieve a list of product types. The product types can be filtered by fields such as id. The product types can also be sorted or paginated.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "GetProductTypes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | ||
| offset | No | ||
| limit | No | ||
| order | No | ||
| $and | No | ||
| $or | No | ||
| q | No | ||
| id | No | ||
| value | No | ||
| created_at | No | ||
| updated_at | No |