Information
This endpoint allows you to access different informations about your orders.
Orders List
GET/api/v1/information/order/list/
Get a listing of orders.
Name | Type | Required | Description |
---|---|---|---|
page | string | ❌ | Page number for pagination (default: 1) |
Example Request
- cURL
- JavaScript
- PHP
- Python
- Go
- C#
curl -X GET https://api.axro.com/api/v1/information/order/list/ \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
// Using Fetch API
fetch('https://api.axro.com/api/v1/information/order/list/', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
// Using cURL
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://api.axro.com/api/v1/information/order/list/');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
'Authorization: Bearer YOUR_ACCESS_TOKEN'
));
$response = curl_exec($ch);
$error = curl_error($ch);
curl_close($ch);
if ($error) {
echo "Error: " . $error;
} else {
$data = json_decode($response, true);
print_r($data);
}
# Using requests library
import requests
url = 'https://api.axro.com/api/v1/information/order/list/'
headers = {'Authorization': 'Bearer YOUR_ACCESS_TOKEN'}
response = requests.get(url, headers=headers)
print(response.status_code)
print(response.json())
package main
import (
"fmt"
"io/ioutil"
"net/http"
)
func main() {
url := "https://api.axro.com/api/v1/information/order/list/"
req, err := http.NewRequest("GET", url, nil)
if err != nil {
fmt.Println("Error creating request:", err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_ACCESS_TOKEN")
client := &http.Client{}
resp, err := client.Do(req)
if err != nil {
fmt.Println("Error sending request:", err)
return
}
defer resp.Body.Close()
body, err := ioutil.ReadAll(resp.Body)
if err != nil {
fmt.Println("Error reading response:", err)
return
}
fmt.Println("Response Status:", resp.Status)
fmt.Println("Response Body:", string(body))
}
// Using HttpClient (modern approach)
using System;
using System.Net.Http;
using System.Threading.Tasks;
class Program
{
static async Task Main()
{
using (HttpClient client = new HttpClient())
{
// Set authorization header
client.DefaultRequestHeaders.Add("Authorization", "Bearer YOUR_ACCESS_TOKEN");
// Make the GET request
HttpResponseMessage response = await client.GetAsync("https://api.axro.com/api/v1/information/order/list/");
// Read the response
string responseBody = await response.Content.ReadAsStringAsync();
// Check if request was successful
if (response.IsSuccessStatusCode)
{
Console.WriteLine("Response: " + responseBody);
}
else
{
Console.WriteLine("Error: " + response.StatusCode);
Console.WriteLine("Response: " + responseBody);
}
}
}
}
Example Response
{
"orders": [
{
"order_number": "123456",
"date": "2025-06-25",
"commission": "123456/22",
"currency": "EUR",
"order_total": 17981,
"order_source": "Webshop"
},
{
"order_number": "123455",
"date": "2025-06-24",
"commission": "123455/1",
"currency": "EUR",
"order_total": 33510,
"order_source": "Offline"
},
{
"order_number": "123454",
"date": "2025-06-24",
"commission": "123454/231",
"currency": "EUR",
"order_total": 109751,
"order_source": "Api"
}
],
"total_pages": 1
}
Order Details
GET/api/v1/information/order/detail/{order_number}/
Get details of a specific order.
Example Request
- cURL
- JavaScript
- PHP
- Python
- Go
- C#
curl -X GET https://api.axro.com/api/v1/information/order/detail/{order_number}/ \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
// Using Fetch API
fetch('https://api.axro.com/api/v1/information/order/detail/{order_number}/', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
// Using cURL
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://api.axro.com/api/v1/information/order/detail/{order_number}/');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
'Authorization: Bearer YOUR_ACCESS_TOKEN'
));
$response = curl_exec($ch);
$error = curl_error($ch);
curl_close($ch);
if ($error) {
echo "Error: " . $error;
} else {
$data = json_decode($response, true);
print_r($data);
}
# Using requests library
import requests
url = 'https://api.axro.com/api/v1/information/order/detail/{order_number}/'
headers = {'Authorization': 'Bearer YOUR_ACCESS_TOKEN'}
response = requests.get(url, headers=headers)
print(response.status_code)
print(response.json())
package main
import (
"fmt"
"io/ioutil"
"net/http"
)
func main() {
url := "https://api.axro.com/api/v1/information/order/detail/{order_number}/"
req, err := http.NewRequest("GET", url, nil)
if err != nil {
fmt.Println("Error creating request:", err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_ACCESS_TOKEN")
client := &http.Client{}
resp, err := client.Do(req)
if err != nil {
fmt.Println("Error sending request:", err)
return
}
defer resp.Body.Close()
body, err := ioutil.ReadAll(resp.Body)
if err != nil {
fmt.Println("Error reading response:", err)
return
}
fmt.Println("Response Status:", resp.Status)
fmt.Println("Response Body:", string(body))
}
// Using HttpClient (modern approach)
using System;
using System.Net.Http;
using System.Threading.Tasks;
class Program
{
static async Task Main()
{
using (HttpClient client = new HttpClient())
{
// Set authorization header
client.DefaultRequestHeaders.Add("Authorization", "Bearer YOUR_ACCESS_TOKEN");
// Make the GET request
HttpResponseMessage response = await client.GetAsync("https://api.axro.com/api/v1/information/order/detail/{order_number}/");
// Read the response
string responseBody = await response.Content.ReadAsStringAsync();
// Check if request was successful
if (response.IsSuccessStatusCode)
{
Console.WriteLine("Response: " + responseBody);
}
else
{
Console.WriteLine("Error: " + response.StatusCode);
Console.WriteLine("Response: " + responseBody);
}
}
}
}
Example Response
{
"order_number": "123456",
"order": {
"invoice_number": "654321",
"date": "24.06.2025",
"commission": "25306956",
"currency": "EUR",
"order_total": 17981,
"order_source": "online",
"carrier": "",
"shipping_address": {
"company": "AXRO GmbH",
"street": "Schnackenburgallee 183-201",
"zip": "22525",
"city": "Hamburg"
},
"billing_address": {
"company": "AXRO GmbH",
"street": "Schnackenburgallee 183-201",
"zip": "22525",
"city": "Hamburg"
},
"items": [
{
"product_number": "CANP36KP",
"order_number": "493627",
"oem_number": "7737A001",
"quantity": 15,
"total": 14325
},
{
"product_number": "FR_AUTO_MD",
"order_number": "493627",
"oem_number": "FR_AUTO_MD",
"quantity": 1,
"total": 295
},
{
"product_number": "FR_AUTO",
"order_number": "493627",
"oem_number": "FR_AUTO",
"quantity": 1,
"total": 490
}
]
}
}
Shipments List
GET/api/v1/information/shipment/list/
Get a listing of shipments of your orders.
Name | Type | Required | Description |
---|---|---|---|
page | string | ❌ | Page number for pagination (default: 1) |
Example Request
- cURL
- JavaScript
- PHP
- Python
- Go
- C#
curl -X GET https://api.axro.com/information/shipment/list/ \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
// Using Fetch API
fetch('https://api.axro.com/api/v1/information/shipment/list/', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
// Using cURL
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://api.axro.com/api/v1/information/shipment/list/');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
'Authorization: Bearer YOUR_ACCESS_TOKEN'
));
$response = curl_exec($ch);
$error = curl_error($ch);
curl_close($ch);
if ($error) {
echo "Error: " . $error;
} else {
$data = json_decode($response, true);
print_r($data);
}
# Using requests library
import requests
url = 'https://api.axro.com/api/v1/information/shipment/list/'
headers = {'Authorization': 'Bearer YOUR_ACCESS_TOKEN'}
response = requests.get(url, headers=headers)
print(response.status_code)
print(response.json())
package main
import (
"fmt"
"io/ioutil"
"net/http"
)
func main() {
url := "https://api.axro.com/api/v1/information/shipment/list/"
req, err := http.NewRequest("GET", url, nil)
if err != nil {
fmt.Println("Error creating request:", err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_ACCESS_TOKEN")
client := &http.Client{}
resp, err := client.Do(req)
if err != nil {
fmt.Println("Error sending request:", err)
return
}
defer resp.Body.Close()
body, err := ioutil.ReadAll(resp.Body)
if err != nil {
fmt.Println("Error reading response:", err)
return
}
fmt.Println("Response Status:", resp.Status)
fmt.Println("Response Body:", string(body))
}
// Using HttpClient (modern approach)
using System;
using System.Net.Http;
using System.Threading.Tasks;
class Program
{
static async Task Main()
{
using (HttpClient client = new HttpClient())
{
// Set authorization header
client.DefaultRequestHeaders.Add("Authorization", "Bearer YOUR_ACCESS_TOKEN");
// Make the GET request
HttpResponseMessage response = await client.GetAsync("https://api.axro.com/api/v1/information/shipment/list/");
// Read the response
string responseBody = await response.Content.ReadAsStringAsync();
// Check if request was successful
if (response.IsSuccessStatusCode)
{
Console.WriteLine("Response: " + responseBody);
}
else
{
Console.WriteLine("Error: " + response.StatusCode);
Console.WriteLine("Response: " + responseBody);
}
}
}
}
Example Response
{
"shipments": [
{
"shipment_number": "123456",
"company": "AXRO GmbH",
"commission": "25306964/1",
"status": "OnTheWay",
"date": "2025-06-24",
"shipping_date": "2025-06-24",
"tracking_url": "https://nolp.dhl.de/nextt-online-public/set_identcodes.do?lang=en&idc=0012345678901234567",
"tracking_code": "0012345678901234567",
"carrier": "DHL"
},
{
"shipment_number": "654321",
"company": "Acme Inc.",
"commission": "25306949/22",
"status": "Completed",
"date": "2025-06-24",
"shipping_date": "2025-06-24",
"tracking_url": "https://nolp.dhl.de/nextt-online-public/set_identcodes.do?lang=en&idc=00987654321098765432",
"tracking_code": "00987654321098765432",
"carrier": "DHL"
}
],
"total_pages": 1
}
Shipment Details
GET/api/v1/information/shipment/detail/{shipment_number}/
Get details of a specific shipment.
Example Request
- cURL
- JavaScript
- PHP
- Python
- Go
- C#
curl -X GET https://api.axro.com/api/v1/information/shipment/detail/{shipment_number}/ \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
// Using Fetch API
fetch('https://api.axro.com/api/v1/information/shipment/detail/{shipment_number}/', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
// Using cURL
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://api.axro.com/api/v1/information/shipment/detail/{shipment_number}/');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
'Authorization: Bearer YOUR_ACCESS_TOKEN'
));
$response = curl_exec($ch);
$error = curl_error($ch);
curl_close($ch);
if ($error) {
echo "Error: " . $error;
} else {
$data = json_decode($response, true);
print_r($data);
}
# Using requests library
import requests
url = 'https://api.axro.com/api/v1/information/shipment/detail/{shipment_number}/'
headers = {'Authorization': 'Bearer YOUR_ACCESS_TOKEN'}
response = requests.get(url, headers=headers)
print(response.status_code)
print(response.json())
package main
import (
"fmt"
"io/ioutil"
"net/http"
)
func main() {
url := "https://api.axro.com/api/v1/information/shipment/detail/{shipment_number}/"
req, err := http.NewRequest("GET", url, nil)
if err != nil {
fmt.Println("Error creating request:", err)
return
}
req.Header.Add("Authorization", "Bearer YOUR_ACCESS_TOKEN")
client := &http.Client{}
resp, err := client.Do(req)
if err != nil {
fmt.Println("Error sending request:", err)
return
}
defer resp.Body.Close()
body, err := ioutil.ReadAll(resp.Body)
if err != nil {
fmt.Println("Error reading response:", err)
return
}
fmt.Println("Response Status:", resp.Status)
fmt.Println("Response Body:", string(body))
}
// Using HttpClient (modern approach)
using System;
using System.Net.Http;
using System.Threading.Tasks;
class Program
{
static async Task Main()
{
using (HttpClient client = new HttpClient())
{
// Set authorization header
client.DefaultRequestHeaders.Add("Authorization", "Bearer YOUR_ACCESS_TOKEN");
// Make the GET request
HttpResponseMessage response = await client.GetAsync("https://api.axro.com/api/v1/information/shipment/detail/{shipment_number}/");
// Read the response
string responseBody = await response.Content.ReadAsStringAsync();
// Check if request was successful
if (response.IsSuccessStatusCode)
{
Console.WriteLine("Response: " + responseBody);
}
else
{
Console.WriteLine("Error: " + response.StatusCode);
Console.WriteLine("Response: " + responseBody);
}
}
}
}
A shipment can contain items from multiple orders. The order_numbers
field indicates which orders are included in the shipment.
Example Response
{
"shipment_number": "654321",
"shipment": {
"order_numbers": [
"123456"
],
"invoice_number": "932035",
"shipment_number": "545208",
"shipping_date": "2025-06-24",
"items": [
{
"product_number": "BROT423BK",
"order_number": "123456",
"oem_number": "TN423BK",
"commission": "25306964/1",
"quantity": 2,
"total": 17422
},
{
"product_number": "BROT423C",
"order_number": "123456",
"oem_number": "TN423C",
"commission": "25306964/1",
"quantity": 2,
"total": 23582
},
{
"product_number": "FR_AUTO",
"order_number": "123456",
"oem_number": "FR_AUTO",
"commission": "25306964/1",
"quantity": 1,
"total": 990
}
{
"product_number": "FR_AUTO_MD",
"order_number": "123456",
"oem_number": "FR_AUTO_MD",
"commission": "25306964/1",
"quantity": 1,
"total": 295
}
]
}
}