shipping.carrier.create
Register a carrier: a name and, optionally, its tracking URL template (which must contain {code} exactly once). Deliberately thin — credentials and API integration are an app’s material, never the kernel’s.
- Scope:
shipping.write - System: no
- Reachable from:
POST /v1/commands/shipping.carrier.create(tenant credential) · MCP toolshipping.carrier.create· SDKclient.call('shipping.carrier.create', …) - Events:
shipping.config.updated
Input (JSON Schema)
Section titled “Input (JSON Schema)”{ "properties": { "name": { "minLength": 1, "type": "string" }, "tracking_url_template": { "anyOf": [ { "minLength": 1, "type": "string" }, { "type": "null" } ] } }, "required": [ "name" ], "type": "object"}Result (200)
Section titled “Result (200)”{ "additionalProperties": false, "properties": { "carrier_id": { "type": "string" } }, "required": [ "carrier_id" ], "type": "object"}Errors
Section titled “Errors”validation_failed (400) · unauthorized (401) · forbidden (403) · conflict (409) · internal (500)