> ## Documentation Index
> Fetch the complete documentation index at: https://razorpay.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Review Request Entity

> Entity parameters and sample code for the Orders Review Request API.

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:

```json Entity theme={null}
{
  "id": "rvreq_Nct0mnpQ12abcd",
  "entity": "order.review_request",
  "status": "sent",
  "is_razorpay_order": false,
  "applies_to": ["product", "order"],
  "order_id": null,
  "external_order": {
    "receipt": "RISTA-88921",
    "source": "pos",
    "fulfillment": "instant",
    "line_items": [
      {
        "sku": "SKU-BT-114",
        "name": "Attikan Estate",
        "variant_id": "250g-wb",
        "quantity": 1,
        "image_url": "https://cdn.example.com/attikan.jpg"
      }
    ],
    "purchased_at": 1752739200,
    "delivered_at": 1752739200
  },
  "cancelled_at": null,
  "reviews": [
    {
      "id": "ordrev_Ndx4kpTr77wxyz",
      "entity": "order.review",
      "review_request_id": "rvreq_Nct0mnpQ12abcd",
      "order_id": null,
      "receipt": "RISTA-88921",
      "customer_id": "cust_Nct0mnpQ12cust",
      "applies_to": "product",
      "published_status": "published",
      "rating": 5,
      "body": "Best filter coffee I have had.",
      "media_urls": ["https://ark-media.razorpay.com/r/9f2a1c.jpg"],
      "line_item": {
        "sku": "SKU-BT-114",
        "name": "Attikan Estate",
        "variant_id": "250g-wb"
      },
      "submitted_at": 1752998400,
      "update_request": null
    }
  ],
  "notes": {},
  "created_at": 1752739210
}
```

> [!NOTE]
>
> **Handy Tips**
>
> Exactly 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.

**id** `string`

Razorpay-issued identifier for the review request. The prefix is `rvreq_`.

**entity** `string`

Name of the entity. Here, it is `order.review_request`.

**status** `string`

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.

**is\_razorpay\_order** `boolean`

Read-only. `true` when `order_id` is set, that is, when the request references a Razorpay Order.

**applies\_to** `array of strings`

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.

Any combination of these values. The default is `["product", "order"]`. It is never empty.

**order\_id** `string`

Reference to an existing Razorpay Order. Mutually exclusive with `external_order`. `null` when the request carries an `external_order`.

**external\_order** `object`

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.

**external\_order.receipt** `string`

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.

**external\_order.source** `string`

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.

**external\_order.fulfillment** `string`

Fulfilment type of the order. Possible values:

* `instant`: For counter or POS sales.
* `pending_delivery`: For shipped orders.

**external\_order.line\_items** `array`

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`.

**external\_order.purchased\_at** `integer`

Unix timestamp when the order was purchased. `null` when unset.

**external\_order.delivered\_at** `integer`

Unix timestamp when the order was delivered. `null` when unset.

**customer\_id** `string`

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.

**customer** `object`

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.

**cancelled\_at** `integer`

Unix timestamp when the request was cancelled. Server-set. `null` when the request is not cancelled.

**reviews** `array`

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](https://razorpay.com/docs/api/orders/reviews/review-entity.md).

**notes** `json object`

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”`.

**created\_at** `integer`

Indicates the Unix timestamp when this review request was created. Server-set.

## 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.

| Status | Meaning |
| - | - |
| `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. |

> [!NOTE]
>
> **Handy Tips**
>
> The `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`.
