# Status of a subscription plan available in dashboard but not via API?

**URL:** <https://developer.squareup.com/forums/t/status-of-a-subscription-plan-available-in-dashboard-but-not-via-api/8301>\
**Category:** Questions\
**Created:** [January 22, 2023, 1:12am UTC](https://developer.squareup.com/forums/t/status-of-a-subscription-plan-available-in-dashboard-but-not-via-api/8301 "2023-01-22T01:12:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ludovic](https://avatars.discourse-cdn.com/v4/letter/l/7ab992/32.png) [@ludovic](https://developer.squareup.com/forums/u/ludovic)\
**Post date:** [January 22, 2023, 1:12am UTC](https://developer.squareup.com/forums/t/status-of-a-subscription-plan-available-in-dashboard-but-not-via-api/8301/1 "2023-01-22T01:12:24Z")

</div>

I want to retrieve the list of all my active subscriptions plans :  
in the production dashboard, there a status for subscription plan but I failed to find some status field in the API documentation for it ☹

---

<div class="post-metadata">

**Author:** ![josh-square](https://avatars.discourse-cdn.com/v4/letter/j/77aa72/32.png) [@josh-square](https://developer.squareup.com/forums/u/josh-square)\
**Post date:** [January 23, 2023, 8:24pm UTC](https://developer.squareup.com/forums/t/status-of-a-subscription-plan-available-in-dashboard-but-not-via-api/8301/2 "2023-01-23T20:24:54Z")

</div>

There is no field that has actual “ACTIVE” and “DEACTIVATED” values on SUBSCRIPTION\_PLAN objects. However, toggling those settings on your dashboard will change `present_at_all_locations` to `true` or `false`.

---

<div class="post-metadata">

**Author:** ![ludovic](https://avatars.discourse-cdn.com/v4/letter/l/7ab992/32.png) [@ludovic](https://developer.squareup.com/forums/u/ludovic)\
**Post date:** [January 23, 2023, 8:42pm UTC](https://developer.squareup.com/forums/t/status-of-a-subscription-plan-available-in-dashboard-but-not-via-api/8301/3 "2023-01-23T20:42:54Z")

</div>

OK thanks for the tip, maybe I can use present\_at\_all\_locations to filter indeed 🙂

Without making a new topic, on the same subject of SUBSCRIPTION\_PLAN I realised lately that there were no custom referenceId like we have for CUSTOMER or CARD objects.  
I don’t know if it has been already requested but that would be a useful 😉 or maybe you have another tip for that 😉

---

<div class="post-metadata">

**Author:** ![josh-square](https://avatars.discourse-cdn.com/v4/letter/j/77aa72/32.png) [@josh-square](https://developer.squareup.com/forums/u/josh-square)\
**Post date:** [January 24, 2023, 7:12pm UTC](https://developer.squareup.com/forums/t/status-of-a-subscription-plan-available-in-dashboard-but-not-via-api/8301/4 "2023-01-24T19:12:01Z")

</div>

Happy to help! I don’t have any workarounds I can suggest for `reference_id` on SUBSCRIPTION\_PLANs, but I’ll definitely note it down as a feature request 🙂
