Update Provider
Updates an existing provider's information. Note that NPI and tax ID cannot be changed after creation.
/providers/{providerId}
This endpoint allows you to update information for an existing provider. For example, you may want to add an additional contact.
Please note:
- Calling this endpoint completely overwrites the previous request record. You must provide all the information for the provider in the request, not just the properties you want to update.
- Updating a provider record doesn't affect associated enrollments that are in
SUBMITTED
,PROVISIONING
orLIVE
status. If you need to update the provider details for an enrollment with these statuses, contact support.
A Stedi API Key for authentication.
Path Parameters
The Stedi-assigned identifier for the provider you want to update.
Body
The provider's business name. This is typically the provider's practice name, such as Dental Associates, LLC
, but it can also be the provider's first and last name.
- Minimum length:
5
Either organizationName
or firstName
and lastName
are required.
Response
UpdateProvider 200 response
A unique identifier Stedi assigns to this provider.
The date and time Stedi created the provider record.
- Format:
date-time
The date and time Stedi last updated the provider record.
- Format:
date-time
The provider's National Provider Identifier (NPI). This is a 10-digit number that is unique to the provider. Note that each provider record must have a unique NPI within Stedi - you cannot create a provider with an NPI that is already in use.
- Pattern:
^[0-9]{10}$
The type of tax ID. Can be either an EIN
- Employer Identification Number, or an SSN
- Social Security Number.
EIN
SSN
The provider's tax ID, as specified by taxIdType
. This identifier has to be provided without any separators, such as dashes or spaces. For example 111-22-3333 is invalid but 111223333
is valid.
- Pattern:
^\d{9}$
The provider's business name. This is typically the provider's practice name, such as Dental Associates, LLC
, but it can also be the provider's first and last name.
- Minimum length:
5
Either organizationName
or firstName
and lastName
are required.
curl --request POST \
--url "https://enrollments.us.stedi.com/2024-09-01/providers/{providerId}" \
--header "Authorization: <api_key>" \
--header "Content-Type: application/json" \
--data '{
"name": "TEST Updated Dental Inc",
"contacts": [
{
"firstName": "Test",
"lastName": "Tester",
"email": "bob@fortdental.center",
"phone": "555-123-213342",
"streetAddress1": "123 Some Str",
"city": "A City",
"zipCode": "12345",
"state": "WA"
}
]
}'
const body = JSON.stringify({
"name": "TEST Updated Dental Inc",
"contacts": [
{
"firstName": "Test",
"lastName": "Tester",
"email": "bob@fortdental.center",
"phone": "555-123-213342",
"streetAddress1": "123 Some Str",
"city": "A City",
"zipCode": "12345",
"state": "WA"
}
]
})
fetch("https://enrollments.us.stedi.com/2024-09-01/providers/{providerId}", {
headers: {
"Authorization": "<api_key>"
},
body
})
package main
import (
"fmt"
"net/http"
"io/ioutil"
"strings"
)
func main() {
url := "https://enrollments.us.stedi.com/2024-09-01/providers/{providerId}"
body := strings.NewReader(`{
"name": "TEST Updated Dental Inc",
"contacts": [
{
"firstName": "Test",
"lastName": "Tester",
"email": "bob@fortdental.center",
"phone": "555-123-213342",
"streetAddress1": "123 Some Str",
"city": "A City",
"zipCode": "12345",
"state": "WA"
}
]
}`)
req, _ := http.NewRequest("POST", url, body)
req.Header.Add("Authorization", "<api_key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
import requests
url = "https://enrollments.us.stedi.com/2024-09-01/providers/{providerId}"
body = {
"name": "TEST Updated Dental Inc",
"contacts": [
{
"firstName": "Test",
"lastName": "Tester",
"email": "bob@fortdental.center",
"phone": "555-123-213342",
"streetAddress1": "123 Some Str",
"city": "A City",
"zipCode": "12345",
"state": "WA"
}
]
}
response = requests.request("POST", url, json = body, headers = {
"Authorization": "<api_key>",
"Content-Type": "application/json"
})
print(response.text)
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.http.HttpResponse.BodyHandlers;
import java.time.Duration;
import java.net.http.HttpRequest.BodyPublishers;
var body = BodyPublishers.ofString("""{
"name": "TEST Updated Dental Inc",
"contacts": [
{
"firstName": "Test",
"lastName": "Tester",
"email": "bob@fortdental.center",
"phone": "555-123-213342",
"streetAddress1": "123 Some Str",
"city": "A City",
"zipCode": "12345",
"state": "WA"
}
]
}""");
HttpClient client = HttpClient.newBuilder()
.connectTimeout(Duration.ofSeconds(10))
.build();
HttpRequest.Builder requestBuilder = HttpRequest.newBuilder()
.uri(URI.create("https://enrollments.us.stedi.com/2024-09-01/providers/{providerId}"))
.header("Content-Type", "application/json")
.header("Authorization", "<api_key>")
.POST(body)
.build();
try {
HttpResponse<String> response = client.send(requestBuilder.build(), BodyHandlers.ofString());
System.out.println("Status code: " + response.statusCode());
System.out.println("Response body: " + response.body());
} catch (Exception e) {
e.printStackTrace();
}
{
"message": "string",
"fieldList": [
{
"path": "string",
"message": "string"
}
]
}
{
"message": "string",
"code": "string"
}
{
"message": "string",
"code": "string"
}
{
"message": "string",
"code": "string"
}
{
"message": "string",
"code": "string"
}