Przejdź do głównej zawartości

Pobierz połączenia pogrupowane wg definicji

GET
/api/v3/Connections/AllGrouped
curl --request GET \
--url https://twoja-instancja-smerp-api.enterprise.sellrocket.pl/api/v3/Connections/AllGrouped \
--header 'Authorization: Bearer <token>'

Zwraca wszystkie połączenia pogrupowane według definicji/rodzaju. Używane głównie przez panel Sellrocket.

Success

Typ treściapplication/json
object
kinds
Array<object>
nullable
object
kind
string
nullable
definitions
Array<object>
nullable
object
id
string
nullable
extensionName
string
nullable
extensionState
string
nullable
extensionVendor
string
nullable
extensionDescription
string
nullable
name
string
nullable
description
string
nullable
isDisabled
boolean
isEditable
boolean
isHidden
boolean
kind
string
nullable
isShop
boolean
createShipmentOperation
string
nullable
deleteDisabled
boolean
protocolDisabled
boolean
requestPickupDisabled
boolean
generatePickupForm
boolean
connectionDefaultsFormEnabled
boolean
requiresToSelectConnectionFirstBeforeCreatingAShipment
boolean
trackingNumberTransfer
boolean
invoiceTransfer
boolean
isSystemTool
boolean
setupAccount
nullable
deleteConnectionOperation
nullable
setupShipment
nullable
trackingLinks

Tracking links with format - key: iso country code, value: hyperlink, example: “PL”: “http://www.someexamplelink.pl?trackingId=#TRACKING_ID#”

object
key
additional properties
string
uspl
string
nullable
positionOverwriteModule
object
showPositionOverwriteModule
boolean
showOverwriteNameOption
boolean
showOverwriteProductIdOption
boolean
showOverwriteWeightOption
boolean
showOverwriteEanOption
boolean
showOverwriteSkuOption
boolean
showOverwriteTaxRateOption
boolean
showStockSyncModule

Optional. Defaults to NULL. Used by UI.

boolean
nullable
showPriceSyncModule

Optional. Defaults to NULL. Used by UI.

boolean
nullable
connections
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
Example
{
"kinds": [
{
"definitions": [
{
"trackingLinks": {
"PL": "https://www.someexamplelink.pl?trackingId=#TRACKING_ID#"
}
}
]
}
]
}

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"
}