POST
/
enrollments
/
{enrollmentId}
curl --request POST \
  --url https://enrollments.us.stedi.com/2024-09-01/enrollments/{enrollmentId} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "transactions": {
    "claimPayment": {
      "enroll": true
    }
  },
  "primaryContact": {
    "firstName": "Updated First Name",
    "lastName": "Updated Last Name",
    "email": "test@example.com",
    "phone": "333-123-34354",
    "streetAddress1": "123 Some Str.",
    "city": "A City",
    "state": "MD",
    "zipCode": "20814"
  },
  "userEmail": "test@example.com",
  "payer": {
    "idOrAlias": "87726"
  },
  "provider": {
    "id": "db6665c5-7b97-4af9-8c68-a00a336c2998"
  }
}'
{
  "id": "db6675c5-7bg7-4af9-8c68-a54a336d2911",
  "primaryContact": {
    "firstName": "Updated First Name",
    "lastName": "Updated Last Name",
    "email": "test@example.com",
    "phone": "333-123-34354",
    "streetAddress1": "123 Some Str.",
    "city": "A City",
    "state": "MD",
    "zipCode": "20814"
  },
  "userEmail": "test@example.com",
  "createdAt": "2024-11-07T05:31:56Z",
  "updatedAt": "2024-11-18T07:25:42Z",
  "transactions": {
    "claimPayment": {
      "enroll": true
    }
  },
  "status": "DRAFT",
  "provider": {
    "name": "Test Medical Provider",
    "id": "db6665c5-7b97-4af9-8c68-a00a336c2998"
  },
  "payer": {
    "name": "UnitedHealthcare",
    "stediPayerId": "87726"
  },
  "source": "API"
}
This is a beta endpoint. We may make backwards incompatible changes.

This endpoint allows you to update enrollments that are still in DRAFT status. If you need to make changes to an enrollment that is already in SUBMITTED, PROVISIONING, LIVE, REJECTED, or CANCELED status, contact support.

Calling this endpoint completely overwrites the previous request record. You must provide all the information for the enrollment in the request, not just the properties you want to update.

Authorizations

Authorization
string
header
required

A Stedi API Key for authentication.

Path Parameters

enrollmentId
string
required

The Stedi-assigned identifier for the enrollment.

Body

application/json

Response

200
application/json
UpdateEnrollment 200 response

The response is of type object.