Commerce Shipping Method Create
commerce_shipping_method_createCreate a new shipping method for a Drupal commerce store by specifying its ID, label, store ID, and plugin.
Instructions
Create a new shipping method.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>",
"label": "<label>",
"store_id": "<store_id>",
"plugin": "<plugin>"
},
"name": "commerce_shipping_method_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| label | Yes | ||
| plugin | Yes | ||
| store_id | Yes | ||
| configuration | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||