Przejdź do głównej zawartości

Ustaw automatyczne wznawianie

POST
/api/Offers/SetOffersAutoRenew
curl --request POST \
--url https://twoja-instancja-sales-offers-erli-api.enterprise.sellrocket.pl/api/Offers/SetOffersAutoRenew \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "connectionId": "example", "offerIds": [ 1 ], "enabled": true }'

Włącza lub wyłącza automatyczne wznawianie wskazanych ofert.

object
connectionId
wymagane
string
offerIds
wymagane
Array<integer>
enabled
wymagane
boolean
Examplegenerated
{
"connectionId": "example",
"offerIds": [
1
],
"enabled": true
}

OK

object
succeededOfferIds
wymagane
Array<integer>
rejected
wymagane
Array<object>
object
index
wymagane
integer format: int32
pimProductId
wymagane
integer format: int64
issues
wymagane
Array<object>
object
field
wymagane
string
code
wymagane
string
message
wymagane
string
clientRowId
string
nullable