Skip to main content
PUT
/
medical
/
v1
/
organization
/
{id}
Update Organization
curl --request PUT \
  --url https://api.sandbox.metriport.com/medical/v1/organization/{id} \
  --header 'x-api-key: <api-key>'
import { Metriport, OrgType, USState } from "@metriport/api-sdk";

const metriport = new MetriportMedicalApi("YOUR_API_KEY");

const org = await metriport.updateOrganization({
  id: "018a80c4-292a-7486-a1234-7uwe234ert90",
  type: OrgType.postAcuteCare,
  name: "Metriport Inc.",
  location: {
    addressLine1: "2261 Market Street",
    addressLine2: "#4818",
    city: "San Francisco",
    state: USState.CA,
    zip: "94114",
    country: "USA",
  },
});

Path Params

id
string
required
The ID of your organization.

Body

Response

import { Metriport, OrgType, USState } from "@metriport/api-sdk";

const metriport = new MetriportMedicalApi("YOUR_API_KEY");

const org = await metriport.updateOrganization({
  id: "018a80c4-292a-7486-a1234-7uwe234ert90",
  type: OrgType.postAcuteCare,
  name: "Metriport Inc.",
  location: {
    addressLine1: "2261 Market Street",
    addressLine2: "#4818",
    city: "San Francisco",
    state: USState.CA,
    zip: "94114",
    country: "USA",
  },
});