Update Portal Settings
PUT/api/admin/portal/settings
Update the tenant-wide customer portal settings.
Body fields:
- allow_backorder (required, boolean): master switch for backorders in the customer portal. When false, buyers can never order out-of-stock products regardless of per-product / per-location backorder flags. When true, backorderability falls back to those flags.
- min_order_value_enabled (required, boolean): master switch for a tenant-wide minimum order value. When false there is no default minimum (a location may still set its own).
- min_order_value (required when min_order_value_enabled is true; number, greater than zero; otherwise nullable): the default minimum order subtotal applied to every location that hasn't set its own. A location's own minimum overrides this default. Stored as null whenever min_order_value_enabled is false.
Request
Responses
- 200
- 401
- 403
- 422
- 429
OK
Response Headers
Content-Type
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Unprocessable Content
Response Headers
Content-Type
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.