# Update the company `PATCH /api/v1/company-profile/company` Updates the supplied company settings and preserves omitted settings. ## Permissions Send your API key in `X-API-Key`. Required permissions are **Settings → Write**. ## Body parameters - `name` (string) — Company name, up to 200 characters. - `email_from_name` (string) — Display name shown on outgoing emails. - `company_address` (string) — Street address. - `company_city` (string) — City. - `company_province` (string) — Province or state. - `company_zip` (string) — Postal code. - `company_vat` (string) — VAT registration number. - `company_tax_id` (string) — Tax identification number. - `company_email` (string) — Company contact email. - `company_pec` (string) — Certified email address. - `company_sdi` (string) — Electronic invoicing recipient code. - `company_phone` (string) — Company phone number. - `company_website` (string) — HTTP or HTTPS website URL. ## Request Set ASDINCLOUD_API_KEY and any variables named in the example before running it. ```sh curl --request PATCH \ --url "https://api.asdincloud.com/api/v1/company-profile/company" \ --header "X-API-Key: $ASDINCLOUD_API_KEY" \ --header "Content-Type: application/json" \ --data '{"company_email":"office@example.com"}' ``` ## Response **200 OK** Returns the updated company profile and its primary contact in `data`. Example with fictional data and selected fields. ```json { "status": "success", "data": { "company": { "name": "Example Sports Club", "slug": "example-club", "company_email": "office@example.com" }, "primary_contact": { "id": 8, "firstname": "Alex", "surname": "Example", "email": "alex@example.com" } } } ``` ## Errors - `401` — The API key is missing or invalid. - `403` — The API key lacks the required permission. - `400` — A field is unknown or invalid. - `404` — The requested record was not found. - `422` — One or more fields failed validation. - `500` — The change could not be saved.