Przejdź do głównej zawartości

Pobierz historię cen produktu

GET
/api/history/v3/prices
curl --request GET \
--url 'https://twoja-instancja-pim-api.enterprise.sellrocket.pl/api/history/v3/prices?gtId=1&limit=100' \
--header 'Authorization: Bearer <token>'

Zwraca historię zmian cen wskazanego produktu. Przydatne do audytu zmian cen.

gtId
wymagane
integer format: int64
limit
integer format: int32
default: 100 <= 100

Min value: 0, Max value: 100

Success

object
prices
Array<object>
nullable
object
historyId
integer format: int64
productId
integer format: int64
priceGroupId
integer format: int64
price
number format: double
previousPrice
number format: double
nullable
vat
number format: double
updatedAt
string format: date-time
actor
string
nullable
stocks
Array<object>
nullable
object
quantity
integer format: int32
warehouseId
integer format: int64
locationName
string
nullable