PostCartsIdShippingMethods
Add a preferred shipping method to a cart for efficient order processing. This API route is triggered when a customer selects their shipping option in Medusa MCP Server.
Instructions
Add a shipping method to a cart. Use this API route when the customer chooses their preferred shipping option.
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"
}