API
HQ APIEnterprise

Update enterprise

Updates enterprise by ID.

POST/v1/hq/enterprise/{enterprise_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

enterprise_id*string

Enterprise ID

Query Parameters

unset?array<EnterpriseField>
select?array<string>
expand?array<string>

Request Body

application/json

connections?
profile?

Response Body

application/json

curl -X POST "https://api.noona.is/v1/hq/enterprise/string" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": "aqmzX9Cm5tekKecsA",
  "companies": [
    "string"
  ],
  "connections": {
    "available_on_marketplace": true,
    "url_name": "noonacuts",
    "allows_booking_without_auth": true,
    "marketplace": {
      "enable_vouchers": true
    },
    "vouchers": {
      "enabled": true,
      "settlement_account_id": "wda8wud9a8wuddopk"
    }
  },
  "profile": {
    "name": "Noonacuts",
    "image": {
      "thumb": "https://placekitten.com/200/200",
      "image": "https://placekitten.com/200/300",
      "public_id": "https://placekitten.com/200/300",
      "type": "thumbnail",
      "provider": "cloudinary",
      "width": 200,
      "height": 300,
      "bytes": 95849
    },
    "cover_images": [
      {
        "thumb": "https://placekitten.com/200/200",
        "image": "https://placekitten.com/200/300",
        "public_id": "https://placekitten.com/200/300",
        "type": "thumbnail",
        "provider": "cloudinary",
        "width": 200,
        "height": 300,
        "bytes": 95849
      }
    ]
  }
}
Empty