/
Update a Subscription
Updates a Subscription. Specify only those parameters you wish to change.
Security
basic_auth
Start date for the subscription. This is the date on which the subscription will begin, and the first time the report will be run.
- Mock serverhttps://docs.checkr.com/_mock/apis/openapi/subscriptions/{id}
- Staginghttps://api.checkr-staging.com/v1/subscriptions/{id}
curl -i -X POST \
-u '<username>:<password>' \
'https://docs.checkr.com/_mock/apis/openapi/subscriptions/{id}' \
-H 'Content-Type: application/json' \
-d '{
"package": "string",
"candidate_id": "string",
"start_date": "2019-08-24",
"interval_count": 0,
"interval_unit": "day",
"node": "string",
"work_locations": [
{
"country": "US",
"state": "CA",
"city": "San Francisco"
}
]
}'Subscription was successfully created
URI of the Subscription.
Example:"/v1/subscriptions/e44aa283528e6fde7d542194"
Time at which the Subscription was created.
Example:"2014-01-18T12:34:00Z"
Interval at which the Subscription will repeat.
Enum:"day""week""month""year"
Example:"month"
Start date for the Subscription. This is the date on which the Subscription will begin, and the first time the report will be run.
Example:"2014-06-10"
The next date on which the Subscription will be run. This date is determined based on the start_date, interval_unit, interval_count, and the last date the subscription was run.
Example:"2014-07-10"
Response
{ "id": "e44aa283528e6fde7d542194", "object": "subscription", "uri": "/v1/subscriptions/e44aa283528e6fde7d542194", "status": "active", "created_at": "2014-01-18T12:34:00Z", "canceled_at": null, "package": "driver_pro", "interval_count": 1, "interval_unit": "month", "start_date": "2014-06-10", "next_occurrence_date": "2014-07-10", "candidate_id": "4722c07dd9a10c3985ae432a", "node": "zpy8orej4r614ize", "work_locations": [ { … } ] }