Feedbacks

Get Feedbacks

Retrieves the feedbacks.

get/v1/shops/{shopId}/feedbacks

Request body

pageinteger

Page number.

perPageinteger

Items per page, 1-100. Must be at least 1. Must not be greater than 100.

orderColumn'status' | 'rating' | 'reply' | 'created_at' | 'updated_at'
orderDirection'asc' | 'desc'
idstring

Filter by feedback ID.

statusesstring[]
invoice_idstring

Filter by invoice ID.

ratinginteger

Filter by rating, 1-5. Must be at least 1. Must not be greater than 5.

invoice_emailstring

Filter by customer email.

message_keywordstring

Search in feedback messages.

is_automaticboolean

Only automatic feedbacks.

created_at_startstring

Must be a valid date.

created_at_endstring

Must be a valid date. Must be a date after <code>created_at_start</code>.

reply_keywordstring

Search in replies.

has_replyboolean

Only feedbacks with a reply.

product_namestring
variant_namestring
product_idstring
variant_idstring

Example request

{
  "page": 1
}

Response

current_pageinteger
first_page_urlstring
frominteger
last_pageinteger
last_page_urlstring
next_page_urlstring
pathstring
per_pageinteger
prev_page_urlstring
tointeger
totalinteger

Example response

{
  "current_page": 1,
  "data": [
    {
      "id": 1,
      "invoice_id": 1,
      "status": "published",
      "message": "Great product, instant delivery.",
      "image": null,
      "rating": 5,
      "is_automatic": false,
      "reply": null,
      "dispute_reason": null,
      "disputed_at": null,
      "replied_at": null,
      "created_at": "2026-08-28T18:23:02.000000Z",
      "updated_at": "2026-08-28T18:23:02.000000Z",
      "deleted_at": null,
      "image_url": null,
      "invoice": {
        "id": 1,
        "salt": "e1ba502e01286",
        "email": "customer@sellauth.test",
        "unique_id": "e1ba502e01286-0000000000001",
        "items": [
          {
            "id": 1,
            "invoice_id": 1,
            "product_id": 1,
            "variant_id": 1,
            "custom_name": null,
            "product": {
              "id": 1,
              "name": "License Keys",
              "stock_count": 0
            },
            "variant": {
              "id": 1,
              "name": "Standard"
            }
          }
        ]
      }
    }
  ],
  "first_page_url": "http://api.sellauth.test/v1/shops/1/feedbacks?page=1",
  "from": 1,
  "last_page": 1,
  "last_page_url": "http://api.sellauth.test/v1/shops/1/feedbacks?page=1",
  "links": [
    {
      "url": null,
      "label": "&laquo; Previous",
      "active": false
    },
    {
      "url": "http://api.sellauth.test/v1/shops/1/feedbacks?page=1",
      "label": "1",
      "active": true
    },
    {
      "url": null,
      "label": "Next &raquo;",
      "active": false
    }
  ],
  "next_page_url": null,
  "path": "http://api.sellauth.test/v1/shops/1/feedbacks",
  "per_page": 20,
  "prev_page_url": null,
  "to": 1,
  "total": 1
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.