Objective: Consults supply movement - Kardex
JSON Composition for sending:
{
*"auth" : key obtained in get/auth method
*,"begin" : movement start date - YYYY/MM/DD
*,"end" : movement end date - YYYY/MM/DD
*,"sku" : SKU of the supply to be consulted
}
Notes:
Fields with * are mandatory.
Only one SKU can be consulted at a time, and the difference between start and end dates can be a maximum of 15 days.
Returns with (SUCCESS):
{
"movimento": [
{
"tipo": "SD", - will always return SD which is the initial balance of the period (even if it is 0)
"numero": "PREVIOUS BALANCE", - for type SD it will always be PREVIOUS BALANCE
"movto": YYYY/MM/DD,
"qtdade": 0, -- integer containing movement, in case of SD always ZERO
"saldo": -- previous balance itself
},
{
"tipo": "S", -- S or E (outbound/exit or inbound/entry)
"numero": "110793426", -- entry/exit document number
"movto": "2025-08-15 08:09:31.776691", -- date/time of entry
"qtdade": 1, -- moved quantity
"saldo": -1 -- calculated balance
},
]
}
HTTP Code:
200: success
400: No data sent in request
401: Provided JSON is invalid
402: Mandatory TAG not provided
403: Date range greater than 15 days
404: Zip code not found
500: Invalid auth
501: Invalid credentials
502: Client blocked