Update Business Details
https://backend.sindri1.stacks.localbusiness.pro/api/v1/business-detailsUpdate any combination of business profile fields. All fields are optional — only include what you want to change. Hours use {day}_open and {day}_close fields (e.g., monday_open, monday_close).
X-Public-KeystringrequiredYour business public key. Used to identify which business is making the request.
X-TimestampstringrequiredCurrent Unix timestamp in seconds. Requests older than 5 minutes are rejected.
X-SignaturestringrequiredHMAC-SHA256 signature of the signing string: {timestamp}\n{METHOD}\n{path}\n{body}, using your private key as the secret.
business_namestringBusiness display name (max 255).
phone_numberstringBusiness phone number (max 20).
business_emailstringBusiness email (must be valid email).
website_urlstringBusiness website (must be valid URL).
address_1stringStreet address line 1.
address_2stringStreet address line 2.
citystringCity.
statestringState.
zipstringZIP code.
service_areasstringService areas description (max 2000).
time_zonestringBusiness timezone.
Values: America/New_York, America/Chicago, America/Denver, America/Phoenix, America/Los_Angeles, America/Anchorage, Pacific/Honolulu
primary_colorstringBrand primary color (hex, e.g. #0f3047).
secondary_colorstringBrand secondary color (hex).
accent_colorstringBrand accent color (hex).
customer_portal_enabledbooleanEnable/disable customer portal.
{day}_openstringOpening time for a day (e.g. 09:00, closed, or 24hours). Days: monday through sunday.
{day}_closestringClosing time for a day.
Responses
{
"business_details": {
"name": "Summit HVAC Services",
"phone": "5551234567",
"email": "office@summithvac.com"
}
}Authentication — HMAC-SHA256
Every authenticated request requires three headers:
X-Public-KeyYour business public keyX-TimestampUnix timestamp (seconds)X-SignatureHMAC-SHA256 of signing stringSigning string: {timestamp}\n{METHOD}\n{path}\n{body}
Request
https://backend.sindri1.stacks.localbusiness.pro/api/v1/business-detailsRate Limits
With X-Public-Key: 60 req/min per key
Without: 10 req/min per IP
Code Examples
PUBLIC_KEY="pk_live_..."
PRIVATE_KEY="sk_live_..."
TIMESTAMP=$(date +%s)
PATH_URI="/api/v1/business-details"
BODY='{"business_email":"support@summithvac.com","monday_open":"08:00","monday_close":"18:00"}'
SIGNATURE=$(printf '%s\n%s\n%s\n%s' "$TIMESTAMP" "PATCH" "$PATH_URI" "$BODY" \
| openssl dgst -sha256 -hmac "$PRIVATE_KEY" | awk '{print $2}')
curl -X PATCH \
-H "Content-Type: application/json" \
-H "X-Public-Key: $PUBLIC_KEY" \
-H "X-Timestamp: $TIMESTAMP" \
-H "X-Signature: $SIGNATURE" \
-d "$BODY" \
"https://backend.sindri1.stacks.localbusiness.pro$PATH_URI"