Get item
curl --request GET \
--url https://api.quivo.co/items/{itemId}/movementsimport requests
url = "https://api.quivo.co/items/{itemId}/movements"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.quivo.co/items/{itemId}/movements', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.quivo.co/items/{itemId}/movements",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.quivo.co/items/{itemId}/movements"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.quivo.co/items/{itemId}/movements")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.quivo.co/items/{itemId}/movements")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"warehouseName": "<string>",
"itemMovements": [
{
"movementDate": "2023-12-25",
"warehouseIdentifier": "<string>",
"reference": "<string>",
"adjustmentQuantity": 123,
"movementType": "ORDER",
"typeReference": "<string>",
"lot": "<string>",
"expirationDate": "2023-12-25"
}
],
"nextPageToken": "<string>"
}items
Get item
Get stock movement history for the specified item.
GET
/
items
/
{itemId}
/
movements
Get item
curl --request GET \
--url https://api.quivo.co/items/{itemId}/movementsimport requests
url = "https://api.quivo.co/items/{itemId}/movements"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.quivo.co/items/{itemId}/movements', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.quivo.co/items/{itemId}/movements",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.quivo.co/items/{itemId}/movements"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.quivo.co/items/{itemId}/movements")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.quivo.co/items/{itemId}/movements")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"warehouseName": "<string>",
"itemMovements": [
{
"movementDate": "2023-12-25",
"warehouseIdentifier": "<string>",
"reference": "<string>",
"adjustmentQuantity": 123,
"movementType": "ORDER",
"typeReference": "<string>",
"lot": "<string>",
"expirationDate": "2023-12-25"
}
],
"nextPageToken": "<string>"
}Path Parameters
The unique identifier for an inventory item.
Query Parameters
The page number to retrieve when using offset-based pagination. Ignored if 'searchAfter' is provided.
The maximum number of items to return per page. Used for both offset and cursor-based pagination.
The start date/time for filtering item history movements. Format: ISO 8601 datetime.
The end date/time for filtering item history movements. Format: ISO 8601 datetime.
Response
200 - application/json
Returns the stock movement history for the specified item, including chronological records of movements, allocations, and adjustments with timestamps.