Bugfix: Product ‘handle’ uniqueness and behavior upon archive
We’ve just released a bugfix for the Product API ‘handle’. Most of you shouldn’t notice, but just in case it causes unexpected behavior for some of you we wanted to make note.
There was a bug that allowed non-unique Product handles within a single Site. This could cause unexpected behavior when doing a Product lookup via the API, or when creating an new Subscription via the API using a ‘product_handle’ value. This has been fixed.
The behavior of archived Products has also been slightly altered:
- Upon archiving, the handle on a Product is removed (so it can be used again)
- Hosted signup pages are unavailable for archived Products
- Subscriptions may NOT be created to an archived Product (via the API or otherwise)
- Subscriptions may NOT be migrated to an archived Product (via the API or otherwise)
IF you have duplicate Product handle’s within a single Site, behavior won’t change for you unless you go to edit and save one of those Products - at that point you will be notified of the duplication and you’ll need to pick a new handle. Note: we may decide to identify any duplicates and notify you directly so that we can “cleanse” the system of this issue completely.