Update a subscription

Update details about a subscription.

You can use the PATCH operation to modify existing subscription details, such as name, status, and notificationUrl.

Path Params
string
required
length ≥ 1

BILL-generated ID of the subscription

Body Params
string

Subscription name

status
object

Subscription status information

events
array of objects

Subscription events information. You can retrieve event type and version with GET /v3/events/catalog.

events
string

Event notification URL. The URL must be HTTPS. BILL uses this URL to send you event notifications.

Headers
string | null

API session ID generated with /v3/login

string | null

Developer key sent to you by BILL when you create a developer account. Set sessionId and devKey for organization-level BILL v3 API webhook events.

string | null

Application key sent to you by BILL when you create a partner account. Set sessionId and appKey for partner-level BILL v3 API webhook events.

string | null

Access token for Spend & Expense API authentication. Set apiToken for Spend & Expense webhook events.

Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json