curl --request PATCH \
--url https://api.example.com/listings/{id}/product \
--header 'Content-Type: application/json' \
--data '
{
"productId": "<string>"
}
'{
"id": "e4b6d4e8-8e6d-41da-abdb-8fc358a9e7f1",
"productId": "cffbca85-da89-4b2a-aecf-31422abcb34a",
"title": "Celular Smartphone Top de Linha"
}
Vincula de forma impositiva um Anúncio (Listing) cego a um Produto do catálogo interno (Product).
curl --request PATCH \
--url https://api.example.com/listings/{id}/product \
--header 'Content-Type: application/json' \
--data '
{
"productId": "<string>"
}
'{
"id": "e4b6d4e8-8e6d-41da-abdb-8fc358a9e7f1",
"productId": "cffbca85-da89-4b2a-aecf-31422abcb34a",
"title": "Celular Smartphone Top de Linha"
}
{
"id": "e4b6d4e8-8e6d-41da-abdb-8fc358a9e7f1",
"productId": "cffbca85-da89-4b2a-aecf-31422abcb34a",
"title": "Celular Smartphone Top de Linha"
}