to navigate · to open See all results
GET /api/v1/subscriptions/{record}/pause/options

Subscription pause options

Look up subscription pause options.

Last updated

Request

GET /api/v1/subscriptions/{record}/pause/options

Requires subscriptions:lifecycle. See token permissions. Every listed permission is required for this endpoint.

Send Authorization: Bearer YOUR_API_TOKEN and Accept: application/json.

record is the numeric subscription ID in your token’s organization.

Query parameters

No query parameters are required.

Example

Set ASSETCENTER_API_TOKEN as described in the quick start. Replace example record and option IDs with values from your organization.

cURL / Bash
curl --request GET "https://my.assetcenter.app/api/v1/subscriptions/123/pause/options" \
  --header "Authorization: Bearer $ASSETCENTER_API_TOKEN" \
  --header "Accept: application/json"

Response

200 OK. Example response; IDs, values, and timestamps will differ in your organization.

JSON
{
  "data": {
    "modes": [
      "with_billing",
      "without_billing",
      "custom_billing"
    ]
  }
}

Behavior and constraints

Returns fixed allowed values for this action. This response is not paginated.

Errors

401 means the token is missing, expired, revoked, or not a customer API token. 403 means a required permission or administrator access is missing. 404 means the record or child record is unavailable in this organization. 429 means a rate limit was reached. See error handling and rate limits.