Zaktualizuj ustawienia połączenia
PUT
/api/Connections/UpdateConnectionSettings
const url = 'https://twoja-instancja-sales-offers-erli-api.enterprise.sellrocket.pl/api/Connections/UpdateConnectionSettings';const options = { method: 'PUT', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"connectionId":"example","listing":{"dispatchTimeDays":1,"taxRate":"example","offerStatus":"example","throttleRequestsPerMinute":1},"polling":{"intervalSeconds":1,"maxHours":1,"maxOffersPerRound":1}}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://twoja-instancja-sales-offers-erli-api.enterprise.sellrocket.pl/api/Connections/UpdateConnectionSettings \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "connectionId": "example", "listing": { "dispatchTimeDays": 1, "taxRate": "example", "offerStatus": "example", "throttleRequestsPerMinute": 1 }, "polling": { "intervalSeconds": 1, "maxHours": 1, "maxOffersPerRound": 1 } }'Zmienia ustawienia ofertowania dla połączenia Erli.
Autoryzacja
Dział zatytułowany „Autoryzacja”Treść żądania
Dział zatytułowany „Treść żądania”object
connectionId
wymagane
string
listing
wymagane
object
dispatchTimeDays
wymagane
integer format: int32
taxRate
string
offerStatus
wymagane
string
throttleRequestsPerMinute
wymagane
integer format: int32
polling
wymagane
object
intervalSeconds
wymagane
integer format: int32
maxHours
wymagane
integer format: int32
maxOffersPerRound
wymagane
integer format: int32
Examplegenerated
{ "connectionId": "example", "listing": { "dispatchTimeDays": 1, "taxRate": "example", "offerStatus": "example", "throttleRequestsPerMinute": 1 }, "polling": { "intervalSeconds": 1, "maxHours": 1, "maxOffersPerRound": 1 }}object
connectionId
wymagane
string
listing
wymagane
object
dispatchTimeDays
wymagane
integer format: int32
taxRate
string
offerStatus
wymagane
string
throttleRequestsPerMinute
wymagane
integer format: int32
polling
wymagane
object
intervalSeconds
wymagane
integer format: int32
maxHours
wymagane
integer format: int32
maxOffersPerRound
wymagane
integer format: int32
Examplegenerated
{ "connectionId": "example", "listing": { "dispatchTimeDays": 1, "taxRate": "example", "offerStatus": "example", "throttleRequestsPerMinute": 1 }, "polling": { "intervalSeconds": 1, "maxHours": 1, "maxOffersPerRound": 1 }}object
connectionId
wymagane
string
listing
wymagane
object
dispatchTimeDays
wymagane
integer format: int32
taxRate
string
offerStatus
wymagane
string
throttleRequestsPerMinute
wymagane
integer format: int32
polling
wymagane
object
intervalSeconds
wymagane
integer format: int32
maxHours
wymagane
integer format: int32
maxOffersPerRound
wymagane
integer format: int32
Examplegenerated
{ "connectionId": "example", "listing": { "dispatchTimeDays": 1, "taxRate": "example", "offerStatus": "example", "throttleRequestsPerMinute": 1 }, "polling": { "intervalSeconds": 1, "maxHours": 1, "maxOffersPerRound": 1 }}Odpowiedzi
Dział zatytułowany „Odpowiedzi”OK
object
id
wymagane
integer format: int64
connectionId
wymagane
string
name
wymagane
string
createdAt
wymagane
string format: date-time
updatedAt
wymagane
string format: date-time
listing
wymagane
object
dispatchTimeDays
wymagane
integer format: int32
taxRate
string
offerStatus
wymagane
string
throttleRequestsPerMinute
wymagane
integer format: int32
polling
wymagane
object
intervalSeconds
wymagane
integer format: int32
maxHours
wymagane
integer format: int32
maxOffersPerRound
wymagane
integer format: int32
object
id
wymagane
integer format: int64
connectionId
wymagane
string
name
wymagane
string
createdAt
wymagane
string format: date-time
updatedAt
wymagane
string format: date-time
listing
wymagane
object
dispatchTimeDays
wymagane
integer format: int32
taxRate
string
offerStatus
wymagane
string
throttleRequestsPerMinute
wymagane
integer format: int32
polling
wymagane
object
intervalSeconds
wymagane
integer format: int32
maxHours
wymagane
integer format: int32
maxOffersPerRound
wymagane
integer format: int32
Examplegenerated
{ "id": 1, "connectionId": "example", "name": "example", "createdAt": "2026-04-15T12:00:00Z", "updatedAt": "2026-04-15T12:00:00Z", "listing": { "dispatchTimeDays": 1, "taxRate": "example", "offerStatus": "example", "throttleRequestsPerMinute": 1 }, "polling": { "intervalSeconds": 1, "maxHours": 1, "maxOffersPerRound": 1 }}object
id
wymagane
integer format: int64
connectionId
wymagane
string
name
wymagane
string
createdAt
wymagane
string format: date-time
updatedAt
wymagane
string format: date-time
listing
wymagane
object
dispatchTimeDays
wymagane
integer format: int32
taxRate
string
offerStatus
wymagane
string
throttleRequestsPerMinute
wymagane
integer format: int32
polling
wymagane
object
intervalSeconds
wymagane
integer format: int32
maxHours
wymagane
integer format: int32
maxOffersPerRound
wymagane
integer format: int32
Examplegenerated
{ "id": 1, "connectionId": "example", "name": "example", "createdAt": "2026-04-15T12:00:00Z", "updatedAt": "2026-04-15T12:00:00Z", "listing": { "dispatchTimeDays": 1, "taxRate": "example", "offerStatus": "example", "throttleRequestsPerMinute": 1 }, "polling": { "intervalSeconds": 1, "maxHours": 1, "maxOffersPerRound": 1 }}Not Found
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}
