PUT
/
customers
/
{customer_id}
/
watchlists
/
subscriptions
/
{subscription_id}
Update watchlist monitoring subscription
curl --request PUT \
  --url https://api-sandbox.synctera.com/v0/customers/{customer_id}/watchlists/subscriptions/{subscription_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "auto_renew": true,
  "created": "2023-11-07T05:31:56Z",
  "customer_consent": true,
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "period_end": "2023-12-25",
  "period_start": "2023-12-25",
  "provider_subscription_id": "<string>",
  "status": "ACTIVE"
}'
{
  "auto_renew": true,
  "created": "2023-11-07T05:31:56Z",
  "customer_consent": true,
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "period_end": "2023-12-25",
  "period_start": "2023-12-25",
  "provider_subscription_id": "<string>",
  "status": "ACTIVE"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

subscription_id
string<uuid>
required

Watchlist monitoring subscription ID

Example:

"7d943c51-e4ff-4e57-9558-08cab6b963c7"

customer_id
string<uuid>
required

The customer's unique identifier

Example:

"7d943c51-e4ff-4e57-9558-08cab6b963c7"

Body

application/json

Watchlist monitoring subscription to be updated. The only field that matters is status; all other fields are ignored.

The body is of type object.

Response

200
application/json

Updated watchlist subscription

The response is of type object.