Pobierz powiązanie produktu po ID
GET
/api/product-links/v2/product-links/{id}
const url = 'https://twoja-instancja-pim-api.enterprise.sellrocket.pl/api/product-links/v2/product-links/1';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-pim-api.enterprise.sellrocket.pl/api/product-links/v2/product-links/1 \ --header 'Authorization: Bearer <token>'Zwraca szczegóły pojedynczego powiązania produktu z zewnętrzną integracją.
Autoryzacja
Dział zatytułowany „Autoryzacja”Parametry
Dział zatytułowany „Parametry”Parametry ścieżki
Dział zatytułowany „Parametry ścieżki”id
wymagane
integer format: int64
Odpowiedzi
Dział zatytułowany „Odpowiedzi”Success
object
id
integer format: int64
productId
integer format: int64
externalProductId
string
externalVariantId
string
externalConnectionId
string
connectionId
integer format: int64
object
id
integer format: int64
productId
integer format: int64
externalProductId
string
externalVariantId
string
externalConnectionId
string
connectionId
integer format: int64
Examplegenerated
{ "id": 1, "productId": 1, "externalProductId": "example", "externalVariantId": "example", "externalConnectionId": "example", "connectionId": 1}object
id
integer format: int64
productId
integer format: int64
externalProductId
string
externalVariantId
string
externalConnectionId
string
connectionId
integer format: int64
Examplegenerated
{ "id": 1, "productId": 1, "externalProductId": "example", "externalVariantId": "example", "externalConnectionId": "example", "connectionId": 1}Client Error
object
message
string
object
message
string
Examplegenerated
{ "message": "example"}object
message
string
Examplegenerated
{ "message": "example"}Server Error

