Skip to main content
PATCH
/
v1
/
reviews
/
{id}
Update
curl --request PATCH \
  --url https://{defaultHost}/v1/reviews/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "review": {
    "title": "Updated title"
  }
}
'
{
  "id": "5dc2b366-0ce0-4e48-bd2e-402fd68f1515",
  "object": "review",
  "body": "Really enjoyed using this.",
  "status": "in_review",
  "title": "Updated title",
  "stars": 4.5,
  "verified": false,
  "customer": "24fd58a5-33cb-44b9-92f1-ed4515236611",
  "product": "fb5c84ec-d692-4a2e-96bb-a9045c1f2ad2",
  "purchase": null,
  "created_at": 1778010926,
  "updated_at": 1778010926
}

Documentation Index

Fetch the complete documentation index at: https://developer.surecart.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json
review
object

Response

200 - application/json

Success

id
string | null

The UUID of the specific object.

object
string

A string describing the object type returned.

title
string | null

The title of the review.

body
string | null

The content/body of the review.

stars
number<float> | null

The numerical rating provided in the review. Can be a decimal from 1.0 to 5.0.

status
string | null

The status of the review (e.g. in_review, published, unpublished).

verified
boolean

Indicates whether the reviewer has purchased the product (based on presence of a purchase).

customer

Expandable – The associated customer ID.

product

Expandable – The associated product ID.

purchase

Expandable – The associated purchase ID.

review_medias

Expandable – Property not returned unless expanded.

discarded_at
integer | null

Time at which the object was discarded. Measured in seconds since the Unix epoch.

created_at
integer | null

Time at which the object was created. Measured in seconds since the Unix epoch.

updated_at
integer | null

Time at which the object was last updated. Measured in seconds since the Unix epoch.