shipping.method.create
Create a shipping method (its own cubic divisor and weight/dimension limits — carrier-agnostic).
- Scope:
shipping.write - System: no
- Reachable from:
POST /v1/commands/shipping.method.create(tenant credential) · MCP toolshipping.method.create· SDKclient.call('shipping.method.create', …) - Events:
shipping.config.updated
Input (JSON Schema)
Section titled “Input (JSON Schema)”{ "properties": { "active": { "type": "boolean" }, "carrier_id": { "anyOf": [ { "minLength": 1, "type": "string" }, { "type": "null" } ] }, "dimensional_divisor": { "exclusiveMinimum": 0, "maximum": 9007199254740991, "type": "integer" }, "kind": { "enum": [ "delivery", "pickup" ], "type": "string" }, "max_dimensions_sum_cm": { "anyOf": [ { "exclusiveMinimum": 0, "maximum": 9007199254740991, "type": "integer" }, { "type": "null" } ] }, "max_height_cm": { "anyOf": [ { "exclusiveMinimum": 0, "maximum": 9007199254740991, "type": "integer" }, { "type": "null" } ] }, "max_length_cm": { "anyOf": [ { "exclusiveMinimum": 0, "maximum": 9007199254740991, "type": "integer" }, { "type": "null" } ] }, "max_weight_grams": { "anyOf": [ { "exclusiveMinimum": 0, "maximum": 9007199254740991, "type": "integer" }, { "type": "null" } ] }, "max_width_cm": { "anyOf": [ { "exclusiveMinimum": 0, "maximum": 9007199254740991, "type": "integer" }, { "type": "null" } ] }, "name": { "minLength": 1, "type": "string" } }, "required": [ "name", "dimensional_divisor" ], "type": "object"}Result (200)
Section titled “Result (200)”{ "additionalProperties": false, "properties": { "method_id": { "type": "string" } }, "required": [ "method_id" ], "type": "object"}Errors
Section titled “Errors”validation_failed (400) · unauthorized (401) · forbidden (403) · conflict (409) · internal (500)