Przejdź do głównej zawartości

Zaktualizuj ustawienia połączenia

PUT
/api/Connections/UpdateConnectionSettings
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.

object
connectionId
wymagane
string
listing
wymagane
object
dispatchTimeDays
wymagane
integer format: int32
taxRate
string
nullable
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
}
}

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
nullable
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

Not Found

object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties