Skip to content
v0.3

tenant.store.set_custom_fields

Set the declared custom fields on a store (whole bag; validated against the definitions).

  • Scope: tenant.store.write
  • System: no
  • Reachable from: POST /v1/commands/tenant.store.set_custom_fields (tenant credential) · MCP tool tenant.store.set_custom_fields · SDK client.call('tenant.store.set_custom_fields', …)
  • Events: none — No public read projects a store’s custom fields; store_flags publishes the checkout flags, not the field bag. Same reasoning as the category setter.
{
"properties": {
"custom_fields": {
"additionalProperties": {},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"store_id": {
"minLength": 1,
"type": "string"
}
},
"required": [
"store_id",
"custom_fields"
],
"type": "object"
}
{
"additionalProperties": false,
"properties": {
"store_id": {
"type": "string"
}
},
"required": [
"store_id"
],
"type": "object"
}

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