curl --request GET \
--url https://api.example.com/listings/{id}{
"id": "e4b6d4e8-8e6d-41da-abdb-8fc358a9e7f1",
"connectionId": "488fa4bd-9e19-4eb5-b461-abeb38a0f9de",
"productId": null,
"externalId": "MLB12345678",
"sku": "SKU-XPTO",
"title": "Celular Smartphone Top de Linha",
"price": 1500.00,
"stock": 10,
"status": "active",
"permalink": "https://...",
"thumbnail": "https://...",
"lastSyncedAt": "2024-02-15T10:00:00.000Z"
}
Obtém as características de um anúncio importado através do id salvo localmente no OmniDom.
curl --request GET \
--url https://api.example.com/listings/{id}{
"id": "e4b6d4e8-8e6d-41da-abdb-8fc358a9e7f1",
"connectionId": "488fa4bd-9e19-4eb5-b461-abeb38a0f9de",
"productId": null,
"externalId": "MLB12345678",
"sku": "SKU-XPTO",
"title": "Celular Smartphone Top de Linha",
"price": 1500.00,
"stock": 10,
"status": "active",
"permalink": "https://...",
"thumbnail": "https://...",
"lastSyncedAt": "2024-02-15T10:00:00.000Z"
}
{
"id": "e4b6d4e8-8e6d-41da-abdb-8fc358a9e7f1",
"connectionId": "488fa4bd-9e19-4eb5-b461-abeb38a0f9de",
"productId": null,
"externalId": "MLB12345678",
"sku": "SKU-XPTO",
"title": "Celular Smartphone Top de Linha",
"price": 1500.00,
"stock": 10,
"status": "active",
"permalink": "https://...",
"thumbnail": "https://...",
"lastSyncedAt": "2024-02-15T10:00:00.000Z"
}