Pobierz definicje połączeń
GET
/api/v3/ConnectionDefinitions
const url = 'https://twoja-instancja-smerp-api.enterprise.sellrocket.pl/api/v3/ConnectionDefinitions';const options = {method: 'GET', headers: {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://twoja-instancja-smerp-api.enterprise.sellrocket.pl/api/v3/ConnectionDefinitions \ --header 'Authorization: Bearer <token>'Zwraca definicje dostępnych typów integracji (marketplace, sklepy, kurierzy itp.), opcjonalnie filtrowane po rodzaju.
Autoryzacja
Dział zatytułowany „Autoryzacja”Parametry
Dział zatytułowany „Parametry”Parametry zapytania
Dział zatytułowany „Parametry zapytania”kind
Array<string>
Odpowiedzi
Dział zatytułowany „Odpowiedzi”Success
Typ treściapplication/json
Array<object>
object
id
string
extensionName
string
extensionState
string
extensionVendor
string
extensionDescription
string
name
string
description
string
isDisabled
boolean
isEditable
boolean
isHidden
boolean
kind
string
isShop
boolean
createShipmentOperation
string
deleteDisabled
boolean
protocolDisabled
boolean
requestPickupDisabled
boolean
generatePickupForm
boolean
connectionDefaultsFormEnabled
boolean
requiresToSelectConnectionFirstBeforeCreatingAShipment
boolean
trackingNumberTransfer
boolean
invoiceTransfer
boolean
isSystemTool
boolean
setupAccount
deleteConnectionOperation
setupShipment
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
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
showPriceSyncModule
Optional. Defaults to NULL. Used by UI.
boolean
relatedDefinitions
Optional. Ids of other connection definitions installed/uninstalled together with this one.
Array<string>
inventorySettings
object
syncQuantityEqualsToSrInventory
boolean
setupMaxQuantity
boolean
endOfferBelow
boolean
increaseAndSubstractFromStock
boolean
Example
[ { "trackingLinks": { "PL": "https://www.someexamplelink.pl?trackingId=#TRACKING_ID#" } }]Bad Request
Typ treściapplication/json
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Unauthorized
Typ treściapplication/json
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Not Found
Typ treściapplication/json
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}
