Skip to main content
POST
/
inventory
/
members
/
update-sold-by-provider
Update Member Sold By Provider
curl --request POST \
  --url https://api.decodahealth.com/inventory/members/update-sold-by-provider \
  --header 'API-KEY: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'TENANT: <tenant>' \
  --data '
{
  "memberId": "<string>",
  "providerId": "<string>"
}
'
true

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Body

application/json
memberId
string
required

ID of the member to update

providerId
string | null

ID of the provider who sold this membership (null to unassign)

Response

Successful Response

The response is of type boolean.