Skip to main content

useOrders

The useOrders hook fetches the user's recent order history from all Shop stores, sorted by most recent first. Use this for order history pages, reorder functionality, tracking shipments, or customer support features. Orders are aggregated across all merchants the user has purchased from through Shop.

Caution

This hook requires adding the following scopes to the manifest file:

orders

For more details, see manifest.json.

Anchor to params
params


Was this page helpful?