API
HQ APIBusiness profiles

Update business profile

Updates the fields that are present in the request body and leaves the rest unchanged. call_to_actions replaces the whole list, and an empty list restores the defaults.

POST/v1/hq/business_profiles/{business_profile_id}

Authorization

BearerTokenAuth

AuthorizationBearer <token>

The Noona HQ API uses Bearer token for authentication.

Endpoints that return generic information that does not contain sensitive data do not require authentication. Endpoints that require authentication are specifically marked in the documentation.

Authorization: Bearer your-token

In: header

Path Parameters

business_profile_id*string

Business profile ID

Example"QwYwhN8HH2CaFtwiW"

Query Parameters

select?array<string>
expand?array<string>

Header Parameters

Accept-Language?string

Language of the call to action labels. Defaults to English.

Example"is"

Request Body

application/json

call_to_actions?

The actions shown on the business profile, in display order. The defaults are returned until the list has been saved.

Response Body

application/json

application/json

curl -X POST "https://api.noona.is/v1/hq/business_profiles/QwYwhN8HH2CaFtwiW" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": "QwYwhN8HH2CaFtwiW",
  "call_to_actions": [
    {
      "type": "booking",
      "id": "dkW8aPq2LmT5nRx7Y",
      "placement": "primary",
      "icon": "calendar",
      "label_translations": {
        "is": "King Accounting tenging",
        "fr": "Connexion King Accounting"
      },
      "label": "string"
    }
  ],
  "unavailable_types": [
    "booking"
  ]
}
Empty
Empty
{
  "message": "Customer onboarding error."
}
Empty
Empty