Synchronizuj oferty
POST
/api/Offers/SyncOffers
const url = 'https://twoja-instancja-sales-offers-erli-api.enterprise.sellrocket.pl/api/Offers/SyncOffers';const options = {method: 'POST', 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 POST \ --url https://twoja-instancja-sales-offers-erli-api.enterprise.sellrocket.pl/api/Offers/SyncOffers \ --header 'Authorization: Bearer <token>'Pobiera aktualny stan ofert z Erli i aktualizuje go w Sellrocket.
Autoryzacja
Dział zatytułowany „Autoryzacja”Parametry
Dział zatytułowany „Parametry”Parametry zapytania
Dział zatytułowany „Parametry zapytania”connectionId
string
Odpowiedzi
Dział zatytułowany „Odpowiedzi”OK
object
skipped
wymagane
boolean
skipReason
string
summary
object
remoteProducts
wymagane
integer format: int32
imported
wymagane
integer format: int32
updated
wymagane
integer format: int32
markedActive
wymagane
integer format: int32
markedEnded
wymagane
integer format: int32
markedMissing
wymagane
integer format: int32
renewed
wymagane
integer format: int32
renewBlocked
wymagane
integer format: int32
object
skipped
wymagane
boolean
skipReason
string
summary
object
remoteProducts
wymagane
integer format: int32
imported
wymagane
integer format: int32
updated
wymagane
integer format: int32
markedActive
wymagane
integer format: int32
markedEnded
wymagane
integer format: int32
markedMissing
wymagane
integer format: int32
renewed
wymagane
integer format: int32
renewBlocked
wymagane
integer format: int32
Examplegenerated
{ "skipped": true, "skipReason": "example", "summary": { "remoteProducts": 1, "imported": 1, "updated": 1, "markedActive": 1, "markedEnded": 1, "markedMissing": 1, "renewed": 1, "renewBlocked": 1 }}object
skipped
wymagane
boolean
skipReason
string
summary
object
remoteProducts
wymagane
integer format: int32
imported
wymagane
integer format: int32
updated
wymagane
integer format: int32
markedActive
wymagane
integer format: int32
markedEnded
wymagane
integer format: int32
markedMissing
wymagane
integer format: int32
renewed
wymagane
integer format: int32
renewBlocked
wymagane
integer format: int32
Examplegenerated
{ "skipped": true, "skipReason": "example", "summary": { "remoteProducts": 1, "imported": 1, "updated": 1, "markedActive": 1, "markedEnded": 1, "markedMissing": 1, "renewed": 1, "renewBlocked": 1 }}
