Przejdź do głównej zawartości

Wyszukaj obiekty po wartości pola (GET)

GET
/api/v3/AdditionalFields/Search
curl --request GET \
--url 'https://twoja-instancja-additional-fields-api.enterprise.sellrocket.pl/api/v3/AdditionalFields/Search?offset=0&limit=100' \
--header 'Authorization: Bearer <token>'

Zwraca identyfikatory obiektów danego typu, których pole dodatkowe ma wskazaną wartość.

ownerType
string

Type of an object for which the all the fields should be searched. To check available OwnerTypes, check GET /AdditionalFieldsOwners

fieldValue
string

Value of the field

offset
integer format: int32
0
limit
integer format: int32
default: 100

Success

Typ treściapplication/json
object
list
Array<integer>
nullable
pageNumber
integer format: int32
total
integer format: int32
Examplegenerated
{
"list": [
1
],
"pageNumber": 1,
"total": 1
}

Bad Request

Typ treściapplication/json
object
error
string
nullable
Examplegenerated
{
"error": "example"
}

Server Error