Skip to content
v0.3

pickup_location.create

Register a store pickup point: name, address, optional coordinates, opening hours per weekday and the instructions the shopper reads. It appears in the checkout when a pickup shipping method has a rate covering the destination.

  • Scope: shipping.write
  • System: no
  • Reachable from: POST /v1/commands/pickup_location.create (tenant credential) · MCP tool pickup_location.create · SDK client.call('pickup_location.create', …)
  • Events: shipping.config.updated
{
"properties": {
"active": {
"type": "boolean"
},
"addr_line1": {
"minLength": 1,
"type": "string"
},
"addr_line2": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"city": {
"minLength": 1,
"type": "string"
},
"district": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"hours": {
"additionalProperties": false,
"properties": {
"fri": {
"anyOf": [
{
"properties": {
"close": {
"pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$",
"type": "string"
},
"open": {
"pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$",
"type": "string"
}
},
"required": [
"open",
"close"
],
"type": "object"
},
{
"type": "null"
}
]
},
"mon": {
"anyOf": [
{
"properties": {
"close": {
"pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$",
"type": "string"
},
"open": {
"pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$",
"type": "string"
}
},
"required": [
"open",
"close"
],
"type": "object"
},
{
"type": "null"
}
]
},
"sat": {
"anyOf": [
{
"properties": {
"close": {
"pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$",
"type": "string"
},
"open": {
"pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$",
"type": "string"
}
},
"required": [
"open",
"close"
],
"type": "object"
},
{
"type": "null"
}
]
},
"sun": {
"anyOf": [
{
"properties": {
"close": {
"pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$",
"type": "string"
},
"open": {
"pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$",
"type": "string"
}
},
"required": [
"open",
"close"
],
"type": "object"
},
{
"type": "null"
}
]
},
"thu": {
"anyOf": [
{
"properties": {
"close": {
"pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$",
"type": "string"
},
"open": {
"pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$",
"type": "string"
}
},
"required": [
"open",
"close"
],
"type": "object"
},
{
"type": "null"
}
]
},
"tue": {
"anyOf": [
{
"properties": {
"close": {
"pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$",
"type": "string"
},
"open": {
"pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$",
"type": "string"
}
},
"required": [
"open",
"close"
],
"type": "object"
},
{
"type": "null"
}
]
},
"wed": {
"anyOf": [
{
"properties": {
"close": {
"pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$",
"type": "string"
},
"open": {
"pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$",
"type": "string"
}
},
"required": [
"open",
"close"
],
"type": "object"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"instructions": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"lat": {
"anyOf": [
{
"maximum": 90,
"minimum": -90,
"type": "number"
},
{
"type": "null"
}
]
},
"lng": {
"anyOf": [
{
"maximum": 180,
"minimum": -180,
"type": "number"
},
{
"type": "null"
}
]
},
"name": {
"minLength": 1,
"type": "string"
},
"postal_code": {
"minLength": 1,
"type": "string"
},
"uf": {
"minLength": 1,
"type": "string"
}
},
"required": [
"name",
"addr_line1",
"city",
"uf",
"postal_code"
],
"type": "object"
}
{
"additionalProperties": false,
"properties": {
"pickup_location_id": {
"type": "string"
}
},
"required": [
"pickup_location_id"
],
"type": "object"
}

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