Pobierz historię zmian pól dodatkowych
GET
/api/v2/AdditionalFields/history
const url = 'https://twoja-instancja-additional-fields-api.enterprise.sellrocket.pl/api/v2/AdditionalFields/history?limit=100';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-additional-fields-api.enterprise.sellrocket.pl/api/v2/AdditionalFields/history?limit=100' \ --header 'Authorization: Bearer <token>'Zwraca stronicowaną historię zmian wartości pól dodatkowych obiektu.
Autoryzacja
Dział zatytułowany „Autoryzacja”Parametry
Dział zatytułowany „Parametry”Parametry zapytania
Dział zatytułowany „Parametry zapytania”objectId
integer format: int64
Id of an object for which the all the fields should be returned
ownerType
string
Type of an object for which the all the fields should be returned. To check available OwnerTypes, check GET /AdditionalFieldsOwners
from
string format: date-time
Starting point of the history entries
limit
integer format: int32
Limit of how many entries we are returning
Odpowiedzi
Dział zatytułowany „Odpowiedzi”Success
Typ treściapplication/json
object
results
Array<object>
object
id
integer format: int64
objectId
string
type
string
difference
object
options
object
propertyNameCaseInsensitive
boolean
parent
object
options
object
propertyNameCaseInsensitive
boolean
parent
object recursive
root
object
options
object
propertyNameCaseInsensitive
boolean
parent
object recursive
root
object recursive
root
object
options
object
propertyNameCaseInsensitive
boolean
parent
object
options
object
propertyNameCaseInsensitive
boolean
parent
object recursive
root
object recursive
root
object recursive
createdAtUtc
string format: date-time
createdBy
string
totalRecords
integer format: int32
pageNumber
integer format: int32
pageSize
integer format: int32
Examplegenerated
{ "results": [ { "id": 1, "objectId": "example", "type": "example", "difference": {}, "createdAtUtc": "2026-04-15T12:00:00Z", "createdBy": "example" } ], "totalRecords": 1, "pageNumber": 1, "pageSize": 1}Bad Request
Typ treściapplication/json
object
error
string
Examplegenerated
{ "error": "example"}Server Error

