Skip to main content
GET
/
store
/
{id}
Get Store Item
curl --request GET \
  --url https://payments.shakesco.com/store/{id} \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://payments.shakesco.com/store/{id}"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://payments.shakesco.com/store/{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://payments.shakesco.com/store/{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: Bearer <token>"
],
]);

$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://payments.shakesco.com/store/{id}"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("Authorization", "Bearer <token>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://payments.shakesco.com/store/{id}")
.header("Authorization", "Bearer <token>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://payments.shakesco.com/store/{id}")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
{
  "id": 101,
  "user_id": 42,
  "name": "Wireless Headphones",
  "description": "High-quality wireless headphones",
  "price": "149.99000000",
  "quantity": 50,
  "image": "https://example.com/headphones.jpg",
  "created_at": "2026-05-01T10:00:00.000000Z",
  "updated_at": "2026-05-01T10:00:00.000000Z"
}
{ "error": "Invalid item ID" }
{ "message": "Item not found." }
For the complete documentation index, see llms.txt. Returns one item from your store catalogue.

Path Parameters

id
integer
required
The item’s numeric ID (returned by GET /store)

Response

id
integer
Item ID
name
string
Item name
description
string
Item description
price
string
Unit price as a decimal string
quantity
integer | null
Stock count, or null if untracked
image
string | null
Image URL, or null
const res = await fetch("https://payments.shakesco.com/store/101", {
  headers: { Authorization: `Bearer ${API_KEY}` },
});
const item = await res.json();
{
  "id": 101,
  "user_id": 42,
  "name": "Wireless Headphones",
  "description": "High-quality wireless headphones",
  "price": "149.99000000",
  "quantity": 50,
  "image": "https://example.com/headphones.jpg",
  "created_at": "2026-05-01T10:00:00.000000Z",
  "updated_at": "2026-05-01T10:00:00.000000Z"
}
{ "error": "Invalid item ID" }
{ "message": "Item not found." }