Skip to content

appendAccountPath

appendAccountPath(base, path?): string

Defined in: .pnpm/@[email protected]_graphql@[email protected]_typescript@6.0.3/node_modules/@storesynk/core/dist/customer/account-url.d.ts:29

Join an suffix onto the resolved account base - e.g. (“https://shopify.com/123/account”, “orders”) → “https://shopify.com/123/account/orders”. One implementation for the client element AND the server transform, so SSR’d hrefs and the first client update can’t disagree.

string

string | null

string