Stock History endpoint

Hello there,

I’m interested about stock histories endpoint. That would be great if you describe it. What params are required and how the response is build.

Also is there any delay between products stock quantity field was changed and that time I can receive those change through this endpoint?

Thanx a lot :slight_smile:

Hey Andriy,

Thanks for asking about this. Stock history was recently updated. I’m waiting to hear back from the engineer who made the update about how it now works.

It is an undocumented end point, this means that the way it works may not be entirely as expected!

I’ll update you when I know more.

Okay, waiting for new info.
Thank you)

The stock_history end point is just a feed of the latest stock changes and the entities that caused those changes.

These changes will be fairly instant, however could be up to a couple minutes delay at times depending on the back-end worker that is processing the changes.

The reason why we haven’t formally exposed this endpoint is that its quite advanced. Before we expose it fully (and provide better support and documentation for it) we need to check all the code and make sure that it runs consistently, predictably and reliably.

If we get enough demand, we’ll expose it fully.

Do you want the Stock History endpoint to be formally exposed and documented?

  • Yes
  • No

0 voters

1 Like