Skip to content
v0.3

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 tool shipping.method.create · SDK client.call('shipping.method.create', …)
  • Events: shipping.config.updated
{
"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"
}
{
"additionalProperties": false,
"properties": {
"method_id": {
"type": "string"
}
},
"required": [
"method_id"
],
"type": "object"
}

validation_failed (400) · unauthorized (401) · forbidden (403) · conflict (409) · internal (500)