Chord OMS
...
Developer Tools
Next.js
SDK Reference
1min
the next js starter kit includes a set of react hooks that offer an easy way to interact with shopify's order management system, for common operations like adding items to a cart these hooks provide access to sdk methods that handle communication with shopify's order management system and keep the site's redux state up to date they also automatically send tracking events to segment hook description useanalytics docid\ nckp0r j2of yfuyi30qj provides support for sending ui related tracking events to segment useauth docid\ cdrddaitfc0 og4izk07 provides support for user authentication with a shopify customer account usecart docid\ hzk d3ymmacfriu69oktw returns the current shopping cart, and functions for creating and interacting with the shopping cart usetranslate docid\ i2ihc3pdaiu0buboob8co provides support for internationalization useuser docid\ ey4qycwhfswqdxrsehueb returns the current user, and functions for loading data about the user