PostShippingOptionsIdCalculate
Calculate shipping costs for a cart by specifying the shipping option ID and relevant fields to determine accurate pricing using the Medusa MCP Server.
Instructions
Calculate the price of a shipping option in a cart.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
fields | No | ||
id | No |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"fields": {
"type": "string"
},
"id": {
"type": "string"
}
},
"type": "object"
}