Set Review Status
/admin/reviews/{reviewId}/statusPublishes a review on the storefront or hides it from there. A "hidden" review stays on the dashboard only and leaves its product's rating; publishing it again puts it back in.
Path Parameters
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Value in
- "published"
- "hidden"
Response Body
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/admin/reviews/string/status" \ -H "Content-Type: application/json" \ -d '{ "status": "published" }'{ "id": "string", "productId": "string", "productVariantId": "string", "productName": "string", "variantName": "string", "orderId": "string", "orderItemId": "string", "customerId": "string", "customerEmail": "string", "rating": 1, "message": "string", "reply": "string", "repliedAt": "string", "status": "published", "source": "buyer", "automatic": true, "createdAt": "string"}Reply To Review PUT
Sets the seller's reply to a review, replacing any earlier one. Shoppers see it under the review on the storefront while the review is published. An empty reply takes it down.
List Volume Discounts GET
Every volume discount of the store, the store-wide one first, at most 100, with the names of the product and variant each covers. A cart line with at least a tier's minQuantity units takes that tier's percentOff (a percent from 0 to 100, so 15 takes 15% off) off the line, the highest tier it reaches. A line takes the volume discount of its variant, else of its product, else the store's. At most 10 tiers, each starting at more units and taking more off than the one before.
