Get pre-3.0 order status (by ID)
curl --request GET \
--url https://itemshop.dev/api/v2/storefront/v1/orders/{orderId}/statusimport requests
url = "https://itemshop.dev/api/v2/storefront/v1/orders/{orderId}/status"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://itemshop.dev/api/v2/storefront/v1/orders/{orderId}/status', 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://itemshop.dev/api/v2/storefront/v1/orders/{orderId}/status",
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://itemshop.dev/api/v2/storefront/v1/orders/{orderId}/status"
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://itemshop.dev/api/v2/storefront/v1/orders/{orderId}/status")
.asString();require 'uri'
require 'net/http'
url = URI("https://itemshop.dev/api/v2/storefront/v1/orders/{orderId}/status")
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{
"success": true,
"data": {
"orderId": "664f1a2b3c4d5e6f7a8b9c0d",
"orderNumber": "A1B2C3D4",
"shopId": "664f1a2b3c4d5e6f7a8b9c0d",
"status": "paid",
"productName": "Ranga VIP",
"serverName": "Survival",
"nick": "Steve",
"amount": 19.99,
"currency": "PLN",
"createdAt": "2026-10-27T12:00:00.000Z",
"groupId": null,
"items": [
{
"orderId": "664f1a2b3c4d5e6f7a8b9c0d",
"orderNumber": "A1B2C3D4",
"status": "paid",
"productName": "Ranga VIP",
"variant": "30 dni",
"quantity": 1,
"serverName": "Survival",
"amount": 19.99,
"delivery": {
"kind": "license_keys",
"state": "delivered",
"ready": true
}
}
],
"delivery": {
"kind": "license_keys",
"state": "delivered",
"ready": true
}
}
}{
"success": false,
"statusCode": 404,
"code": "SHOP_NOT_FOUND",
"message": "Shop not found",
"error": "Shop not found",
"timestamp": "2026-10-27T12:00:00.000Z",
"path": "/api/v2/storefront/v1/shops/moj-sklep",
"details": {}
}{
"success": false,
"statusCode": 404,
"code": "SHOP_NOT_FOUND",
"message": "Shop not found",
"error": "Shop not found",
"timestamp": "2026-10-27T12:00:00.000Z",
"path": "/api/v2/storefront/v1/shops/moj-sklep",
"details": {}
}{
"success": false,
"statusCode": 404,
"code": "SHOP_NOT_FOUND",
"message": "Shop not found",
"error": "Shop not found",
"timestamp": "2026-10-27T12:00:00.000Z",
"path": "/api/v2/storefront/v1/shops/moj-sklep",
"details": {}
}Storefront v1
Get pre-3.0 order status (by ID)
deprecated
Only orders and groups placed before release 3.0 (no status key) — public by identifier (ID or number). New ones: GET /orders/by-number/{orderNumber}/status?key=; here they return 404.
GET
/
api
/
v2
/
storefront
/
v1
/
orders
/
{orderId}
/
status
Get pre-3.0 order status (by ID)
curl --request GET \
--url https://itemshop.dev/api/v2/storefront/v1/orders/{orderId}/statusimport requests
url = "https://itemshop.dev/api/v2/storefront/v1/orders/{orderId}/status"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://itemshop.dev/api/v2/storefront/v1/orders/{orderId}/status', 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://itemshop.dev/api/v2/storefront/v1/orders/{orderId}/status",
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://itemshop.dev/api/v2/storefront/v1/orders/{orderId}/status"
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://itemshop.dev/api/v2/storefront/v1/orders/{orderId}/status")
.asString();require 'uri'
require 'net/http'
url = URI("https://itemshop.dev/api/v2/storefront/v1/orders/{orderId}/status")
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{
"success": true,
"data": {
"orderId": "664f1a2b3c4d5e6f7a8b9c0d",
"orderNumber": "A1B2C3D4",
"shopId": "664f1a2b3c4d5e6f7a8b9c0d",
"status": "paid",
"productName": "Ranga VIP",
"serverName": "Survival",
"nick": "Steve",
"amount": 19.99,
"currency": "PLN",
"createdAt": "2026-10-27T12:00:00.000Z",
"groupId": null,
"items": [
{
"orderId": "664f1a2b3c4d5e6f7a8b9c0d",
"orderNumber": "A1B2C3D4",
"status": "paid",
"productName": "Ranga VIP",
"variant": "30 dni",
"quantity": 1,
"serverName": "Survival",
"amount": 19.99,
"delivery": {
"kind": "license_keys",
"state": "delivered",
"ready": true
}
}
],
"delivery": {
"kind": "license_keys",
"state": "delivered",
"ready": true
}
}
}{
"success": false,
"statusCode": 404,
"code": "SHOP_NOT_FOUND",
"message": "Shop not found",
"error": "Shop not found",
"timestamp": "2026-10-27T12:00:00.000Z",
"path": "/api/v2/storefront/v1/shops/moj-sklep",
"details": {}
}{
"success": false,
"statusCode": 404,
"code": "SHOP_NOT_FOUND",
"message": "Shop not found",
"error": "Shop not found",
"timestamp": "2026-10-27T12:00:00.000Z",
"path": "/api/v2/storefront/v1/shops/moj-sklep",
"details": {}
}{
"success": false,
"statusCode": 404,
"code": "SHOP_NOT_FOUND",
"message": "Shop not found",
"error": "Shop not found",
"timestamp": "2026-10-27T12:00:00.000Z",
"path": "/api/v2/storefront/v1/shops/moj-sklep",
"details": {}
}Czy ta strona była pomocna?
⌘I