Blacklist

Get Blacklist Logs

Changed on

Retrieves the blacklist logs.

get/v1/shops/{shopId}/blacklist-logs

Request

Request body

pageinteger nullable

Page number.

perPageinteger nullable

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

orderColumn'id' | 'value' | 'decision' | 'rule_id' | 'rule_type' | 'invoice_id' | 'created_at' nullable
orderDirection'asc' | 'desc' nullable
idinteger nullable

Filter by log ID.

valuestring nullable

Filter by matched value.

decision'allow' | 'block' nullable
rule_type'blacklist' | 'whitelist' nullable
rule_idinteger nullable

Filter by rule ID.

created_at_startstring nullable

Must be a valid date.

created_at_endstring nullable

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

Example request

{
  "page": 1
}

Response

current_pageinteger
first_page_urlstring
frominteger
last_pageinteger
last_page_urlstring
next_page_urlstring nullable
pathstring
per_pageinteger
prev_page_urlstring nullable
tointeger
totalinteger

Example response

{
  "current_page": 1,
  "data": [
    {
      "id": 1,
      "shop_id": 1,
      "value": "blocked@sellauth.test",
      "decision": "block",
      "rule_id": 1,
      "rule_type": "blacklist",
      "invoice_id": null,
      "created_at": "2026-11-01T20:00:51.000000Z",
      "updated_at": "2026-11-01T20:00:51.000000Z",
      "rule": {
        "id": 1,
        "value": "blocked@sellauth.test",
        "type": "email"
      },
      "invoice": null
    }
  ],
  "first_page_url": "http://api.sellauth.test/v1/shops/1/blacklist-logs?page=1",
  "from": 1,
  "last_page": 1,
  "last_page_url": "http://api.sellauth.test/v1/shops/1/blacklist-logs?page=1",
  "links": [
    {
      "url": null,
      "label": "&laquo; Previous",
      "page": null,
      "active": false
    },
    {
      "url": "http://api.sellauth.test/v1/shops/1/blacklist-logs?page=1",
      "label": "1",
      "page": 1,
      "active": true
    },
    {
      "url": null,
      "label": "Next &raquo;",
      "page": null,
      "active": false
    }
  ],
  "next_page_url": null,
  "path": "http://api.sellauth.test/v1/shops/1/blacklist-logs",
  "per_page": 20,
  "prev_page_url": null,
  "to": 1,
  "total": 1
}

Changes

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

      added the optional property // to the response with the status