Przejdź do głównej zawartości

Zaktualizuj zapisany filtr ofert

PUT
/api/ManageOffersFilterPreset/UpdatePreset
curl --request PUT \
--url https://twoja-instancja-sales-offers-allegro-api.enterprise.sellrocket.pl/api/ManageOffersFilterPreset/UpdatePreset \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "id": 1, "name": "example", "filterGroups": [ { "conditions": [ { "field": "example", "fieldType": "Text", "operator": "example", "value": "example", "valueTo": "example" } ] } ] }'

Używane głównie przez panel Sellrocket.

object
id
wymagane
integer format: int64
name
wymagane
string
filterGroups
wymagane
Array<object>
object
conditions
wymagane
Array<object>
object
field
wymagane
string
fieldType
wymagane
string
Dozwolone wartości: Text Numeric Dictionary Date Boolean DictionaryMultiple
operator
wymagane
string
value
string
nullable
valueTo
string
nullable

OK

object
id
wymagane
integer format: int64
name
wymagane
string
filterGroups
wymagane
Array<object>
object
conditions
wymagane
Array<object>
object
field
wymagane
string
fieldType
wymagane
string
Dozwolone wartości: Text Numeric Dictionary Date Boolean DictionaryMultiple
operator
wymagane
string
value
string
nullable
valueTo
string
nullable