Update organization settings
post
https://api.expiryedge.com/v1/updateOrganizationSettingsadmin60/minJede Methode
Anfrage
curl -X POST 'https://api.expiryedge.com/v1/updateOrganizationSettings' \
-H "Authorization: Bearer $EXPIRYEDGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Northwind Dental",
"timezone": "America/Chicago",
"base_currency": "USD",
"email_reminder_mode": "DIGEST",
"digest_send_time": "08:30",
"billing_email": "billing@northwinddental.com",
"tax_id": {
"type": "us_ein",
"value": "12-3456789"
}
}'Antwort
{
"success": true,
"message": "Organization settings updated successfully"
}Partial update: only fields present are changed; other fields in the body (e.g. logo_url) are ignored.
Setting a non-empty email sender identity requires a paid (non-trial) plan (402 PLAN_UPGRADE_REQUIRED).
namestringmin length: 1industrystringtimezonestringIANA timezone.websitestringphonestringaddressstringemail_sender_namestring | nullFrom display name for reminder and invitation emails; no<,>or". Paid plans only; empty clears.max length: 40email_sender_prefixstring | nullFrom address local part (stored lowercase). Paid plans only; empty clears.pattern: ^[a-zA-Z0-9-]{0,32}$email_reminder_modestringErlaubtINDIVIDUALDIGESTdigest_send_timestringOrganization-local time the daily digest is sent.pattern: ^([01]?\d|2[0-3]):[0-5]\d$base_currencystringErlaubtUSDEURGBPINRAUDCADJPYCNYAEDSGDbilling_emailstring | nullInvoice email; empty or null clears.tax_idobject | nullNull clears.
200
Updated.
successbooleanmessagestring
400 | The request is missing required fields or contains invalid values. |
401 | Missing, expired or invalid bearer token. |
402 | Custom sender identity requires a paid plan. |
403 | Authenticated, but your role or organization does not allow this action. |
404 | The record does not exist or is not in your organization. |
429 | Too many requests for this endpoint from your IP. Wait Retry-After seconds. |
500 | Unexpected server error. Retry later; quote requestId to support. |
