Skip to main content
POST
/
inventory
/
members
/
update-billing-date
Update Billing Date
curl --request POST \
  --url https://api.decodahealth.com/inventory/members/update-billing-date \
  --header 'API-KEY: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'TENANT: <tenant>' \
  --data '
{
  "memberId": "<string>",
  "nextBillingDate": "2023-11-07T05:31:56Z",
  "comment": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

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 the billing date for

nextBillingDate
string<date-time> | null

New next billing date (null to reset to automatic)

comment
string | null

Comment explaining the billing date change

Response

Successful Response