Skip to content

getVolumeDiscounts

getVolumeDiscounts(productId, namespace, locale?, opts?): Promise<VolumeDiscountAdoptData | null>

Defined in: @storesynk/next/dist/runtime.d.ts:39

The volume-discount discovery data for a product (the dedicated VOLUME_DISCOUNTS query - product refs + shop refs + collection ids in ONE request), normalized to the shape the server transform and client adoption both consume. Null when the product wasn’t found.

string

string

I18nState | null

FetchOptions

Promise<VolumeDiscountAdoptData | null>