Przejdź do głównej zawartości

Zaktualizuj powiązanie produktu

PUT
/api/product-links/v2/product-links/{id}
curl --request PUT \
--url https://twoja-instancja-pim-api.enterprise.sellrocket.pl/api/product-links/v2/product-links/1 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "productId": 1, "externalProductId": "example", "externalVariantId": "example", "externalConnectionId": "example", "connectionId": 1 }'

Zmienia powiązanie produktu z produktem lub ofertą w zewnętrznej integracji.

id
wymagane
integer format: int64
object
productId
integer format: int64
externalProductId
string
nullable
externalVariantId
string
nullable
externalConnectionId
string
nullable
connectionId
integer format: int64
Examplegenerated
{
"productId": 1,
"externalProductId": "example",
"externalVariantId": "example",
"externalConnectionId": "example",
"connectionId": 1
}

No Content

Client Error

object
message
string
nullable

Server Error