Available in🇮🇳 India
A review request asks a customer to review a purchase. The model is order → review request → review. A request references a Razorpay Order by order_id, or carries the order details itself through external_order. One resource covers every sales channel.
The Review Request entity has the following parameters:
Handy TipsExactly one of
order_id and external_order is set when you create a request. order_id points to a Razorpay Order; external_order describes a sale that happened outside Razorpay, such as a POS bill or a marketplace order. The customer object is write-only, so it is accepted on create but never returned.The status of the review request. It is derived from the initial communication and the cancel marker, and is not affected by review submission. Possible values:
created: Request received. Waiting for the delivery signal.scheduled: Message queued with a send time.sent: The initial message was handed to the provider.failed: The send failed permanently.cancelled: The merchant cancelled, or the feature was disabled before the send.
What the customer is asked to review, as an array. Possible values:
product: One review per product on the order.order: One order-level review.
["product", "order"]. It is never empty.Reference to an existing Razorpay Order. Mutually exclusive with
external_order. null when the request carries an external_order.Embedded order details for a non-Razorpay sale.
null when the request references a Razorpay Order through order_id. It has the following child parameters.The merchant’s own order id. This is the same field as
receipt on a Razorpay Order. It must be unique per merchant and 1-256 characters long. It acts as the idempotency key for create.Origin platform of the order. Known platform values (
shopify, woocommerce) are set by Razorpay for platform-fetched orders. API integrations may pass their own value, such as business, pos or a marketplace name.Fulfilment type of the order. Possible values:
instant: For counter or POS sales.pending_delivery: For shipped orders.
The items on the order, 1-100 of them. The
name and image_url of each item appear in the WhatsApp message and on the review page. Each item has sku, name, variant_id, quantity and image_url.Razorpay Customer id, prefixed
cust_. When set, the customer’s contact details come from the Customer, and the customer object may be omitted on create. null when no Customer is linked.Write-only. The customer’s contact details, with
name, contact and email. contact is required unless customer_id is set. This object is accepted on create but never returned.Unix timestamp when the request was cancelled. Server-set.
null when the request is not cancelled.Read-only. The reviews the customer submitted against this request, in submission order: at most one per product on the order, plus at most one order-level review. Empty until the customer responds. See the Review entity.
Key-value pair that can be used to store additional information about the entity. Maximum 15 key-value pairs, 256 characters (maximum) each. For example,
"note_key": "Beam me up Scotty”.Review request status lifecycle
The status covers the initial message (attempt 0) plus the cancel marker.instant orders skip the delivery signal. A fallback timer schedules a pending_delivery request that never receives a delivery signal.
Handy TipsThe
communications object, which records each individual send and reminder, is not returned in v1. Until then, send detail arrives on the order.review_request.* webhooks as payload.communication.