Corrected the integer values for the INACTIVE and ENDING subscription statuses, which were swapped in the Subscription reference and the Implementing App Subscriptions guide.
The integer values for the INACTIVE and ENDING subscription statuses were previously swapped in the documentation. The correct values are INACTIVE = 1 and ENDING = 2, as shown in the Subscription Statuses reference. This has been corrected in both the reference and the Implementing App Subscriptions guide, which described the subscription lifecycle with the swapped values.
The API has always returned these values, only the documentation was incorrect. If your app branches on the numeric status value, double-check that 1 is treated as INACTIVE and 2 as ENDING.
We discovered this issue while reconciling our documentation against our OpenAPI spec in this commit.