Correct a Company's Core under Spore-If-Match
Changes the name or operating country in place; each supplied set of activities, identifiers, or domains replaces the whole set, so a Company never loses its last activity, its last identifier-or-domain, or its primary. An identifier that stays keeps its verification; one another Company holds is refused naming the holder. A stale `Spore-If-Match` is refused with the current Company and its ETag. Free.
Changes the name or operating country in place; each supplied set of activities, identifiers, or domains replaces the whole set, so a Company never loses its last activity, its last identifier-or-domain, or its primary. An identifier that stays keeps its verification; one another Company holds is refused naming the holder. A stale Spore-If-Match is refused with the current Company and its ETag.
Free.
Authorization
bearerAuth In: header
Path Parameters
The Company's opaque id.
uuidHeader Parameters
The resource's current ETag, so a write cannot overwrite a change made by another caller. The standard conditional headers (If-Match and its kin) are refused on writes (ADR-0062).
Required for writes. Reusing this key with the same input replays the original response.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/api/v1/companies/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Spore-If-Match: string" \ -H "Idempotency-Key: string" \ -H "Content-Type: application/json" \ -d '{ "companyId": "7f9c2a14-3b6e-4d51-9a2f-1c8e5b0d47a3", "name": "Coop Eesti Keskühistu", "domains": [ { "domain": "coop.ee", "primary": true }, { "domain": "ecoop.ee" } ] }'{ "id": "7f9c2a14-3b6e-4d51-9a2f-1c8e5b0d47a3", "name": "Coop Eesti Keskühistu", "country": "EE", "origin": "external", "verified": false, "unlocked": false, "legalEntityId": null, "activities": [ { "code": "4711", "precision": "class", "source": { "scheme": "nace21", "code": "4711" }, "primary": true } ], "identifiers": [ { "kind": "registration", "country": "EE", "scheme": "ee-registrikood", "value": "10093971", "primary": true, "verifiedAt": null }, { "kind": "organization_system", "system": "hubspot", "value": "8842001", "primary": false } ], "domains": [ { "domain": "coop.ee", "primary": true } ], "etag": "\"2\"", "createdAt": "2026-09-02T00:00:00.000Z", "updatedAt": "2026-09-02T00:00:00.000Z"}Page the organization's Companies GET
Lists the organization's Companies newest first under an opaque cursor, with their Core: name, country, activities, identifiers, and domains. Narrow by operating `country` or a name fragment `q`. Ids are opaque and never reused; a Company of another organization is invisible. Free.
Delete a Company DELETE
Deletes the Company and its identifiers, activities, and domains outright; the id then reads as not found and the allowance count drops. Without `confirm=true` the call refuses with the counts it would remove. An Unlock grant on the Company's Legal entity is never deleted. Free.