Stock movements

In order to get stock movements you can either setup a webhook or use API endpoints to retrieve them.

Webhooks

Currently supported stock movement types:

  • stock_correction

  • completition

Every stock movent type offers webhook when new stock stock movement of that type is created

List of currently available webhooks:

  • CREATE_STOCK_MOVEMENT_STOCK_CORRECTION

  • CREATE_STOCK_MOVEMENT_COMPLETITION

API Endpoints

Filter stock movements

post
Authorizations
authorizationstringRequired
x-api-keystringRequired
Header parameters
x-api-keystringRequired

This is the eshop key you receive during onboarding.

authorizationstringRequired

Token you get from calling /users/login

Body
pageinteger · min: 1Optional

Page number, can be used for pagination

Default: 1Example: 1
itemsinteger · min: 1 · max: 1000Optional

items per page

Default: 10Example: 30
Responses
200

Success response

application/json
post
/stock-movements/filter

Last updated