cURL
curl -X PATCH "https://api.easy-orders.net/api/partners-apps/v1/reviews/7e3d9a2b-5c1f-4b8e-a6d4-3f2e1d0c9b8a" \
-H "Authorization: Bearer $EASYORDERS_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"is_accepted": true
}'const response = await fetch('https://api.easy-orders.net/api/partners-apps/v1/reviews/7e3d9a2b-5c1f-4b8e-a6d4-3f2e1d0c9b8a', {
method: 'PATCH',
headers: {
Authorization: `Bearer ${process.env.EASYORDERS_ACCESS_TOKEN}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
is_accepted: true,
}),
})
const json = await response.json()
if (!response.ok) {
throw new Error(`${json.error.code}: ${json.error.message}`)
}
const { review } = jsonpackage main
import (
"bytes"
"encoding/json"
"fmt"
"net/http"
"os"
)
func main() {
body := []byte(`{
"is_accepted": true
}`)
req, err := http.NewRequest("PATCH", "https://api.easy-orders.net/api/partners-apps/v1/reviews/7e3d9a2b-5c1f-4b8e-a6d4-3f2e1d0c9b8a", bytes.NewReader(body))
if err != nil {
panic(err)
}
req.Header.Set("Authorization", "Bearer "+os.Getenv("EASYORDERS_ACCESS_TOKEN"))
req.Header.Set("Content-Type", "application/json")
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
var answer map[string]any
if err := json.NewDecoder(res.Body).Decode(&answer); err != nil {
panic(err)
}
if res.StatusCode >= 300 {
panic(fmt.Sprint(res.Status, answer["error"]))
}
fmt.Println(answer["review"])
}<?php
$ch = curl_init('https://api.easy-orders.net/api/partners-apps/v1/reviews/7e3d9a2b-5c1f-4b8e-a6d4-3f2e1d0c9b8a');
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => 'PATCH',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('EASYORDERS_ACCESS_TOKEN'),
'Content-Type: application/json',
],
CURLOPT_POSTFIELDS => json_encode([
'is_accepted' => true,
]),
]);
$answer = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
curl_close($ch);
if ($status >= 300) {
throw new RuntimeException($answer['error']['code'] . ': ' . $answer['error']['message']);
}
$review = $answer['review'];import os
import requests
response = requests.patch(
"https://api.easy-orders.net/api/partners-apps/v1/reviews/7e3d9a2b-5c1f-4b8e-a6d4-3f2e1d0c9b8a",
headers={
"Authorization": f"Bearer {os.environ['EASYORDERS_ACCESS_TOKEN']}",
},
json={
"is_accepted": True,
},
timeout=30,
)
answer = response.json()
if not response.ok:
raise RuntimeError(f"{answer['error']['code']}: {answer['error']['message']}")
review = answer["review"]{
"review": {
"id": "7e3d9a2b-5c1f-4b8e-a6d4-3f2e1d0c9b8a",
"product_id": "0b6f3c7e-3a1d-4a8e-9d5e-2f1b7c9a4e10",
"rating": 5,
"user_name": "Sara Adel",
"comment": "Great quality, arrived in two days.\nWould buy again.",
"image": "https://cdn.example.com/reviews/sara-shoes.jpg",
"is_accepted": true,
"created_at": "2026-12-04T12:30:00Z",
"updated_at": "2026-12-04T12:30:00Z"
}
}{
"error": {
"code": "invalid_request",
"message": "Invalid JSON body: unknown field"
}
}{
"error": {
"code": "unauthenticated",
"message": "Missing or invalid access token"
}
}{
"error": {
"code": "payment_required",
"message": "The app's subscription on this store is suspended"
}
}{
"error": {
"code": "insufficient_scope",
"message": "This request requires the scope: read_orders",
"details": {
"required_scope": "read_orders"
}
}
}{
"error": {
"code": "not_found",
"message": "Resource not found"
}
}{
"error": {
"code": "validation_failed",
"message": "Validation failed",
"details": {
"fields": [
{
"field": "items[0].quantity",
"rule": "between",
"param": "1,10000"
}
]
}
}
}{
"error": {
"code": "too_many_requests",
"message": "Rate limit exceeded"
}
}Reviews
Update a review
Scope: write_reviews
Changes only the fields you send; null is refused. Set
is_accepted to show the review on the product page or hide it.
A review stays on its product: sending product_id answers 422
with the rule read_only.
PATCH
/
reviews
/
{id}
cURL
curl -X PATCH "https://api.easy-orders.net/api/partners-apps/v1/reviews/7e3d9a2b-5c1f-4b8e-a6d4-3f2e1d0c9b8a" \
-H "Authorization: Bearer $EASYORDERS_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"is_accepted": true
}'const response = await fetch('https://api.easy-orders.net/api/partners-apps/v1/reviews/7e3d9a2b-5c1f-4b8e-a6d4-3f2e1d0c9b8a', {
method: 'PATCH',
headers: {
Authorization: `Bearer ${process.env.EASYORDERS_ACCESS_TOKEN}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
is_accepted: true,
}),
})
const json = await response.json()
if (!response.ok) {
throw new Error(`${json.error.code}: ${json.error.message}`)
}
const { review } = jsonpackage main
import (
"bytes"
"encoding/json"
"fmt"
"net/http"
"os"
)
func main() {
body := []byte(`{
"is_accepted": true
}`)
req, err := http.NewRequest("PATCH", "https://api.easy-orders.net/api/partners-apps/v1/reviews/7e3d9a2b-5c1f-4b8e-a6d4-3f2e1d0c9b8a", bytes.NewReader(body))
if err != nil {
panic(err)
}
req.Header.Set("Authorization", "Bearer "+os.Getenv("EASYORDERS_ACCESS_TOKEN"))
req.Header.Set("Content-Type", "application/json")
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
var answer map[string]any
if err := json.NewDecoder(res.Body).Decode(&answer); err != nil {
panic(err)
}
if res.StatusCode >= 300 {
panic(fmt.Sprint(res.Status, answer["error"]))
}
fmt.Println(answer["review"])
}<?php
$ch = curl_init('https://api.easy-orders.net/api/partners-apps/v1/reviews/7e3d9a2b-5c1f-4b8e-a6d4-3f2e1d0c9b8a');
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => 'PATCH',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('EASYORDERS_ACCESS_TOKEN'),
'Content-Type: application/json',
],
CURLOPT_POSTFIELDS => json_encode([
'is_accepted' => true,
]),
]);
$answer = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
curl_close($ch);
if ($status >= 300) {
throw new RuntimeException($answer['error']['code'] . ': ' . $answer['error']['message']);
}
$review = $answer['review'];import os
import requests
response = requests.patch(
"https://api.easy-orders.net/api/partners-apps/v1/reviews/7e3d9a2b-5c1f-4b8e-a6d4-3f2e1d0c9b8a",
headers={
"Authorization": f"Bearer {os.environ['EASYORDERS_ACCESS_TOKEN']}",
},
json={
"is_accepted": True,
},
timeout=30,
)
answer = response.json()
if not response.ok:
raise RuntimeError(f"{answer['error']['code']}: {answer['error']['message']}")
review = answer["review"]{
"review": {
"id": "7e3d9a2b-5c1f-4b8e-a6d4-3f2e1d0c9b8a",
"product_id": "0b6f3c7e-3a1d-4a8e-9d5e-2f1b7c9a4e10",
"rating": 5,
"user_name": "Sara Adel",
"comment": "Great quality, arrived in two days.\nWould buy again.",
"image": "https://cdn.example.com/reviews/sara-shoes.jpg",
"is_accepted": true,
"created_at": "2026-12-04T12:30:00Z",
"updated_at": "2026-12-04T12:30:00Z"
}
}{
"error": {
"code": "invalid_request",
"message": "Invalid JSON body: unknown field"
}
}{
"error": {
"code": "unauthenticated",
"message": "Missing or invalid access token"
}
}{
"error": {
"code": "payment_required",
"message": "The app's subscription on this store is suspended"
}
}{
"error": {
"code": "insufficient_scope",
"message": "This request requires the scope: read_orders",
"details": {
"required_scope": "read_orders"
}
}
}{
"error": {
"code": "not_found",
"message": "Resource not found"
}
}{
"error": {
"code": "validation_failed",
"message": "Validation failed",
"details": {
"fields": [
{
"field": "items[0].quantity",
"rule": "between",
"param": "1,10000"
}
]
}
}
}{
"error": {
"code": "too_many_requests",
"message": "Rate limit exceeded"
}
}Authorizations
An access token from the OAuth flow (eo_at_...). It lasts one hour;
refresh it with the refresh token. See Authentication.
Body
application/json
Every field is optional; only the fields sent change. No field takes null, and product_id cannot be sent.