UNPKG

@lambdacurry/medusa-plugins-sdk

Version:
28 lines 722 B
export class StoreProductReviewsResource { client; constructor(client) { this.client = client; } async upsert(data, headers) { return this.client.fetch(`/store/product-reviews`, { method: 'POST', body: data, headers, }); } async list(query, headers) { return this.client.fetch(`/store/product-reviews`, { method: 'GET', query, headers, }); } async listStats(query, headers) { return this.client.fetch(`/store/product-review-stats`, { method: 'GET', query, headers, }); } } //# sourceMappingURL=store-product-reviews.js.map