Avisi cloud logo
Organisations

Update organisation settings.

PATCH
/api/v1/organisations/{organisationSlug}

Request Body

application/jsonRequired

organisationNamestring

organisationTypestring

vatNumberstring

contactEmailobject

billingEmailobject

Path Parameters

organisationSlug
Required
string

curl -X PATCH "http://localhost:8090/api/v1/organisations/string" \
  -H "Content-Type: application/json" \
  -d '{
    "organisationName": "string",
    "organisationType": "string",
    "vatNumber": "string",
    "contactEmail": {
      "email": "string"
    },
    "billingEmail": {
      "email": "string"
    }
  }'

Request was successfully processed. The response body contains the requested data.

{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "identity": "10a80a7a-1a32-4a74-b592-aa2a4ef691c5",
  "name": "string",
  "vatCode": "string",
  "companyName": "string",
  "companyAddress": "string",
  "contactEmail": "string",
  "billingEmail": "string",
  "vatCodeValidated": true,
  "vatCodeValidatedAt": "2019-08-24T14:15:22Z",
  "phoneNumber": "string",
  "createdAt": "2019-08-24T14:15:22Z",
  "acceptedTerms": true,
  "acceptedTermsAt": "2019-08-24T14:15:22Z",
  "hasStripeCustomer": true,
  "restrictedToAvailableCloudProviders": true,
  "type": "BUSINESS",
  "slug": {
    "slugValue": "string"
  }
}