A subscription status has changed
Webhook
This event occurs when a package changes status (for example, when a package is cancelled it goes from an "active" status to a "cancelled" status).
Note these fields:
context_str = packagecontext_id = ...(this will be thepackage_idvalue of the package that changed)event = status
Your script should examine these attributes to determine the new status of the package:
package.package_status_strpackage.package_status_state
Your script may also wish to observe the package.package_status_name attribute, which provides a human-friendly status value.
Request
Responses
- 200
Return a 200 status to indicate that the data was received successfully