API Reference

@frontend-sdk/rebuy - v0.25.1

Functions

useRebuyData

useRebuyData<T>(endpoint): Object

Type parameters

NameType
TT = unknown

Parameters

NameType
endpointstring

Returns

Object

NameType
dataundefined | T
errorunknown
loadingboolean

useRebuyWidget

useRebuyWidget(shopifyDomain): void

Parameters

NameType
shopifyDomainstring

Returns

void


Did this page help you?