curl --request GET \
--url https://api.example.com/api/warehouse-transfers/{id} \
--header 'Authorization: <authorization>' \
--header 'organization-id: <organization-id>'import requests
url = "https://api.example.com/api/warehouse-transfers/{id}"
headers = {
"Authorization": "<authorization>",
"organization-id": "<organization-id>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {Authorization: '<authorization>', 'organization-id': '<organization-id>'}
};
fetch('https://api.example.com/api/warehouse-transfers/{id}', 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.example.com/api/warehouse-transfers/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <authorization>",
"organization-id: <organization-id>"
],
]);
$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.example.com/api/warehouse-transfers/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<authorization>")
req.Header.Add("organization-id", "<organization-id>")
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.example.com/api/warehouse-transfers/{id}")
.header("Authorization", "<authorization>")
.header("organization-id", "<organization-id>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/warehouse-transfers/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<authorization>'
request["organization-id"] = '<organization-id>'
response = http.request(request)
puts response.read_body{
"id": 1,
"date": "2024-03-20",
"formattedDate": "Mar 20, 2024",
"transactionNumber": "WT-2024-001",
"fromWarehouseId": 1,
"toWarehouseId": 2,
"transferInitiatedAt": "2024-03-20T10:00:00Z",
"transferDeliveredAt": "2024-03-21T15:00:00Z",
"isInitiated": true,
"isTransferred": true,
"fromWarehouse": {},
"toWarehouse": {},
"entries": [
{
"id": 1,
"itemId": 1,
"quantity": 100,
"cost": 10.5,
"total": 1050,
"formattedQuantity": "100.00",
"formattedCost": "$10.50",
"formattedTotal": "$1,050.00",
"item": {}
}
],
"createdAt": "2024-03-20T09:00:00Z",
"updatedAt": "2024-03-21T15:00:00Z"
}Retrieve warehouse transfer transaction details.
curl --request GET \
--url https://api.example.com/api/warehouse-transfers/{id} \
--header 'Authorization: <authorization>' \
--header 'organization-id: <organization-id>'import requests
url = "https://api.example.com/api/warehouse-transfers/{id}"
headers = {
"Authorization": "<authorization>",
"organization-id": "<organization-id>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {Authorization: '<authorization>', 'organization-id': '<organization-id>'}
};
fetch('https://api.example.com/api/warehouse-transfers/{id}', 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.example.com/api/warehouse-transfers/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <authorization>",
"organization-id: <organization-id>"
],
]);
$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.example.com/api/warehouse-transfers/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<authorization>")
req.Header.Add("organization-id", "<organization-id>")
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.example.com/api/warehouse-transfers/{id}")
.header("Authorization", "<authorization>")
.header("organization-id", "<organization-id>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/warehouse-transfers/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<authorization>'
request["organization-id"] = '<organization-id>'
response = http.request(request)
puts response.read_body{
"id": 1,
"date": "2024-03-20",
"formattedDate": "Mar 20, 2024",
"transactionNumber": "WT-2024-001",
"fromWarehouseId": 1,
"toWarehouseId": 2,
"transferInitiatedAt": "2024-03-20T10:00:00Z",
"transferDeliveredAt": "2024-03-21T15:00:00Z",
"isInitiated": true,
"isTransferred": true,
"fromWarehouse": {},
"toWarehouse": {},
"entries": [
{
"id": 1,
"itemId": 1,
"quantity": 100,
"cost": 10.5,
"total": 1050,
"formattedQuantity": "100.00",
"formattedCost": "$10.50",
"formattedTotal": "$1,050.00",
"item": {}
}
],
"createdAt": "2024-03-20T09:00:00Z",
"updatedAt": "2024-03-21T15:00:00Z"
}Headers
Value must be 'Bearer ' where is an API key prefixed with 'bc_' or a JWT token.
"Bearer bc_1234567890abcdef"
Required if Authorization is a JWT token. The organization ID to operate within.
Path Parameters
Response
The warehouse transfer transaction details have been retrieved successfully.
The ID of the warehouse transfer
1
The date of the warehouse transfer
"2024-03-20"
The formatted date of the warehouse transfer
"Mar 20, 2024"
The transaction number of the warehouse transfer
"WT-2024-001"
The ID of the source warehouse
1
The ID of the destination warehouse
2
The date when the transfer was initiated
"2024-03-20T10:00:00Z"
The date when the transfer was delivered
"2024-03-21T15:00:00Z"
Whether the transfer has been initiated
true
Whether the transfer has been completed
true
The source warehouse details
The destination warehouse details
The entries of the warehouse transfer
Show child attributes
Show child attributes
The creation date of the warehouse transfer
"2024-03-20T09:00:00Z"
The last update date of the warehouse transfer
"2024-03-21T15:00:00Z"