Create Order Review
/admin/reviews/orders/{orderId}Publishes the buyer's review of one line of one of the store's paid orders, such as one paid through your own checkout, as if they had left it on their order page: source "buyer", status "published", under the order's customer. orderItemId names the line. An empty message leaves a rating without words. A line takes one review, from either surface: a second is ReviewAlreadySubmittedError. An order of another store, or none the store has, is OrderNotFoundError; one not yet paid for is OrderNotPaidError. Only the store's owner, or an app API key, may call it: a team member is StoreOwnerRequiredError.
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.
^([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})$Value in
- 1
- 2
- 3
- 4
- 5
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/admin/reviews/orders/string" \ -H "Content-Type: application/json" \ -d '{ "orderItemId": "string", "rating": 1, "message": "string" }'{ "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"}Suspend Resellers POST
Suspends several resellers, each as SuspendReseller would, one after another, and answers what became of each. With revokeUnusedKeys every unused key of theirs is revoked too, which costs a request as much as a reseller does; the dashboard sends those one reseller at a time.
Get Review GET
Next Page
