API Announcement for March 4, 2021

On April 30, 2021, the Coupon API will limit the characters allowed in a coupon name. An error will result if any special characters other than the following are used in the Coupon code field:

  • Alphanumeric values

  • White spaces

  • Underscores ( _ )

  • Hyphens ( - )

To prevent a disruption in service, remove special characters from all coupon codes.


Storefront Data Hooks & Theme Updates for March 4, 2021

Storefront Hooks

1.0.1

1.1.0

**Fix ****useUpdateItem**

Resolves #22

Login SSO

  • Accept options in the useLogin hook to allow Login SSO

  • Update Readme with a quick guide of using Login SSO

Resolves #11 and #13

Allow to get products of different categories

  • Add a new key to useSearchcategoryIds

  • Stringify categoryIds to use as a key in SWR

  • Add a deprecation warning to categoryId

Resolves #9

Fix **useAddItem** types

  • Set variantId as optional

Resolves #21

Theme

  • Added improvements focusing on WCAG 2.1 Level AA compliance. To learn how to develop a theme to meet the needs of all users, see Developing Themes for Accessibility.  

Developer Blog