Przejdź do głównej zawartości

Pobierz listę połączeń (stronicowanie)

GET
/api/v3/Connections
curl --request GET \
--url 'https://twoja-instancja-smerp-api.enterprise.sellrocket.pl/api/v3/Connections?limit=100&offset=0' \
--header 'Authorization: Bearer <token>'

Zwraca skonfigurowane integracje (konta marketplace, sklepy, kurierzy). Zbliżone do listy integracji w BaseLinker.

limit
integer format: int32
default: 100
offset
integer format: int32
0

Success

Typ treściapplication/json
object
list
Array<object>
nullable
object
id
integer format: int64
name
string
nullable
connectionType
string
nullable
externalSourceType
string
nullable
externalSourceTypeName
string
nullable
externalSourceId
string
nullable
isConfigured
boolean
isSystemTool
boolean
positionInDefinition
object
position
integer format: int64
createdAt
string format: date-time
pageNumber
integer format: int32
total
integer format: int32
Examplegenerated
{
"list": [
{
"id": 1,
"name": "example",
"connectionType": "example",
"externalSourceType": "example",
"externalSourceTypeName": "example",
"externalSourceId": "example",
"isConfigured": true,
"isSystemTool": true,
"positionInDefinition": {
"position": 1
},
"createdAt": "2026-04-15T12:00:00Z"
}
],
"pageNumber": 1,
"total": 1
}

Bad Request

Typ treściapplication/json
object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}

Unauthorized

Typ treściapplication/json
object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}

Not Found

Typ treściapplication/json
object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}