@wocart/storefront / index / ReviewEligibility
Interface: ReviewEligibility
What a shopper's order lets them review, once its number and phone proved the purchase — and, when the store takes them, what they may attach.
Properties
customerName
customerName:
string
media
media:
object
null: text only.
expiresAt
expiresAt:
number
Unix seconds.
grant
grant:
string
Send with each upload and with the review. Lasts until expiresAt.
maxPhotos
maxPhotos:
number
0: no photos.
voiceMaxSeconds
voiceMaxSeconds:
number
null: no voice note.
orderNumber
orderNumber:
string
products
products:
ReviewableProduct[]