Get an event
GET
/events/{event_id}
const url = 'https://sandbox.partners.loops.sa/v1/events/evt_01J9C2X4RS';const options = { method: 'GET', headers: {'Loops-Merchant-Id': 'mer_7Hq2Lw8Z', Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://sandbox.partners.loops.sa/v1/events/evt_01J9C2X4RS \ --header 'Authorization: Bearer <token>' \ --header 'Loops-Merchant-Id: mer_7Hq2Lw8Z'One event by ID.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”event_id
required
string
The event ID (evt_…).
Header Parameters
Section titled “Header Parameters”Loops-Merchant-Id
string
The merchant you are acting for (mer_…). Required for platform applications;
optional for direct integrations, which have a single merchant.
Responses
Section titled “Responses”The event.
Media typeapplication/json
object
id
required
string
type
required
string
created_at
required
string format: date-time
merchant_id
required
string
location_id
string | null
connection_id
required
string
origin
required
What caused the change. Ignore events where application_id is your own.
object
type
string
application_id
string | null
data
required
Event-specific payload.
object
key
additional properties
any
Example
{ "id": "evt_01J9C2X4RS", "type": "order.status_changed", "origin": { "type": "channel" }}The access token is missing, expired or invalid.
Media typeapplication/problem+json
RFC 9457 Problem Details with a stable code.
object
type
required
string format: uri
title
required
string
status
required
integer
code
required
Stable machine-readable error code. Switch on this, not on title.
string
detail
string
request_id
required
string
errors
Field errors, for invalid_request.
Array<object>
object
field
string
message
string
Example
{ "type": "https://docs.partners.loops.sa/errors/scope_not_granted", "title": "Scope not granted", "status": 403, "code": "invalid_request", "detail": "The merchant has not granted orders:read to this application.", "request_id": "req_01J9X7P2QK"}Not found, or not accessible with this connection.
Media typeapplication/problem+json
RFC 9457 Problem Details with a stable code.
object
type
required
string format: uri
title
required
string
status
required
integer
code
required
Stable machine-readable error code. Switch on this, not on title.
string
detail
string
request_id
required
string
errors
Field errors, for invalid_request.
Array<object>
object
field
string
message
string
Example
{ "type": "https://docs.partners.loops.sa/errors/scope_not_granted", "title": "Scope not granted", "status": 403, "code": "invalid_request", "detail": "The merchant has not granted orders:read to this application.", "request_id": "req_01J9X7P2QK"}© 2026 Loops Technologies | شركة لووبز للتقنيات. All rights reserved.
