Pobierz zapisane filtry ofert
GET
/api/ManageOffersFilterPreset/GetPresets
const url = 'https://twoja-instancja-sales-offers-allegro-api.enterprise.sellrocket.pl/api/ManageOffersFilterPreset/GetPresets';const options = {method: 'GET', 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 GET \ --url https://twoja-instancja-sales-offers-allegro-api.enterprise.sellrocket.pl/api/ManageOffersFilterPreset/GetPresets \ --header 'Authorization: Bearer <token>'Używane głównie przez panel Sellrocket.
Autoryzacja
Dział zatytułowany „Autoryzacja”Odpowiedzi
Dział zatytułowany „Odpowiedzi”OK
object
presets
wymagane
Array<object>
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
operator
wymagane
string
value
string
valueTo
string
object
presets
wymagane
Array<object>
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
operator
wymagane
string
value
string
valueTo
string
Example
{ "presets": [ { "filterGroups": [ { "conditions": [ { "fieldType": "Text" } ] } ] } ]}object
presets
wymagane
Array<object>
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
operator
wymagane
string
value
string
valueTo
string
Example
{ "presets": [ { "filterGroups": [ { "conditions": [ { "fieldType": "Text" } ] } ] } ]}
