GetProductTypes
Retrieve and filter product types by fields like ID, with options for sorting, pagination, and query customization via the Medusa MCP Server.
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.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
$and | No | ||
$or | No | ||
created_at | No | ||
fields | No | ||
id | No | ||
limit | No | ||
offset | No | ||
order | No | ||
q | No | ||
updated_at | No | ||
value | No |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"$and": {
"items": {
"type": "string"
},
"type": "array"
},
"$or": {
"items": {
"type": "string"
},
"type": "array"
},
"created_at": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"fields": {
"type": "string"
},
"id": {
"type": "string"
},
"limit": {
"type": "number"
},
"offset": {
"type": "number"
},
"order": {
"type": "string"
},
"q": {
"type": "string"
},
"updated_at": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"value": {
"type": "string"
}
},
"type": "object"
}