Admin Configuration
Bulk-update configuration values for one slug
Upserts every value in values under the given slug, validating server-side against each field's registered validation string. Send as application/json for scalars or as multipart/form-data (with values[<dotted.code>] as the file part) when uploading file/image fields.
post/configuration
Request
- Base URLhttp://localhost:8000/api/admin
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"slug": "sales.order_settings",
"channel": "default",
"locale": "en",
"values": {
"sales.order_settings.reorder.admin": "1",
"sales.order_settings.reorder.shop": "0"
}
}Response
Configuration updated. Returns the freshly-resolved values for the slug.
Changes
No recorded changes to this operation across all 8 revisions of this API.