GetProductsId
Fetch a specific product by its ID, customize fields, and expand relations using the Medusa MCP Server. Ideal for retrieving detailed product data in e-commerce applications.
Instructions
Retrieve a product by its ID. You can expand the product's relations or select the fields that should be returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cart_id | No | ||
| country_code | No | ||
| fields | No | ||
| id | No | ||
| limit | No | ||
| offset | No | ||
| order | No | ||
| province | No | ||
| region_id | No |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"cart_id": {
"type": "string"
},
"country_code": {
"type": "string"
},
"fields": {
"type": "string"
},
"id": {
"type": "string"
},
"limit": {
"type": "number"
},
"offset": {
"type": "number"
},
"order": {
"type": "string"
},
"province": {
"type": "string"
},
"region_id": {
"type": "string"
}
},
"type": "object"
}