Skip to main content

Reviews

getShopReviews

Fetches all public reviews for the store.

Response

Feedback[]

Example: Reviews Section

Invoices

getInvoice

Fetches full invoice details.

Response

Invoice

getInvoiceStatus

Lightweight endpoint for status polling. Use this instead of getInvoice for real-time updates.

Example: Order Status Page

Formatting Utilities

formatPrice

Formats a price with currency symbol.

Parameters

number
required
Price amount
string
default:"Store currency"
ISO 4217 currency code
string
default:"en"
Locale for formatting

createFormatter

Creates a reusable Intl.NumberFormat instance.

Next Steps

Products API

Fetch products, variants, and categories

SDK Types

Full TypeScript type reference