Skip to main content
PATCH
Mark a notification as read
Marks one notification (by id) as read and returns it. Only notifications belonging to the merchant on the bound store can be marked; an unknown id returns 404.

Authorizations

Authorization
string
header
required

Installed-app access token (prefix app_), issued by the OAuth install flow. The store is bound to the token server-side — never send a shop id.

Path Parameters

id
string
required

The id of the notification to mark as read.

Response

The updated notification.

Standard Salesive response envelope. The operation-specific payload is carried in data.

status
integer
required

HTTP status code, echoed in the body.

success
boolean
required

Whether the request succeeded.

message
string
required

Human-readable result message.

data
object

A single in-app notification belonging to the merchant on the store.