---
title: "Update Member Sold By Provider"
method: POST
path: "/inventory/members/update-sold-by-provider"
tags: ["provider", "inventory"]
---

# Update Member Sold By Provider

`POST /inventory/members/update-sold-by-provider`

## Request

- Base URL: `https://docs.decodahealth.com` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.decodahealth.com/inventory/members/update-sold-by-provider`
- Auth: none declared. Required headers: `TENANT`, `API-KEY`
- TypeScript: <https://skmtc.dev/decodahealth/apis/decoda-api/docs/inventory/members/update-sold-by-provider/post.ts> (a function with typed inputs; its response is checked against the schema)

Update the sold_by_provider_id for a member.

## Headers

- `TENANT` string, required
- `API-KEY` string, required

## Request body

- MemberSoldByProviderUpdate
  - `memberId` string, required: ID of the member to update
  - `providerId` string, nullable: ID of the provider who sold this membership (null to unassign)

## Response `200`

Successful Response

- boolean

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/decodahealth/apis/decoda-api.md) - [All operations](https://skmtc.dev/decodahealth/apis/decoda-api/llms.txt) - [OpenAPI document](https://skmtc.dev/decodahealth/apis/decoda-api/revisions/4ab18c80f9e9?raw)
