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 tooltenant.store.set_custom_fields· SDKclient.call('tenant.store.set_custom_fields', …) - Events: none — No public read projects a store’s custom fields;
store_flagspublishes the checkout flags, not the field bag. Same reasoning as the category setter.
Input (JSON Schema)
Section titled “Input (JSON Schema)”{ "properties": { "custom_fields": { "additionalProperties": {}, "propertyNames": { "type": "string" }, "type": "object" }, "store_id": { "minLength": 1, "type": "string" } }, "required": [ "store_id", "custom_fields" ], "type": "object"}Result (200)
Section titled “Result (200)”{ "additionalProperties": false, "properties": { "store_id": { "type": "string" } }, "required": [ "store_id" ], "type": "object"}Errors
Section titled “Errors”validation_failed (400) · unauthorized (401) · forbidden (403) · conflict (409) · internal (500)