/yodobashi/products/stock
curl --request POST \
--url https://api.anysite.io/api/yodobashi/products/stock \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"product": "<string>",
"count": 2,
"timeout": 300,
"in_stock_only": false,
"on_display_only": false
}
'import requests
url = "https://api.anysite.io/api/yodobashi/products/stock"
payload = {
"product": "<string>",
"count": 2,
"timeout": 300,
"in_stock_only": False,
"on_display_only": False
}
headers = {
"access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
product: '<string>',
count: 2,
timeout: 300,
in_stock_only: false,
on_display_only: false
})
};
fetch('https://api.anysite.io/api/yodobashi/products/stock', 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.anysite.io/api/yodobashi/products/stock",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'product' => '<string>',
'count' => 2,
'timeout' => 300,
'in_stock_only' => false,
'on_display_only' => false
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"access-token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.anysite.io/api/yodobashi/products/stock"
payload := strings.NewReader("{\n \"product\": \"<string>\",\n \"count\": 2,\n \"timeout\": 300,\n \"in_stock_only\": false,\n \"on_display_only\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("access-token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.anysite.io/api/yodobashi/products/stock")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"product\": \"<string>\",\n \"count\": 2,\n \"timeout\": 300,\n \"in_stock_only\": false,\n \"on_display_only\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/yodobashi/products/stock")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"product\": \"<string>\",\n \"count\": 2,\n \"timeout\": 300,\n \"in_stock_only\": false,\n \"on_display_only\": false\n}"
response = http.request(request)
puts response.read_body[
{
"id": "<string>",
"@type": "YodobashiStoreStock",
"name": "<string>",
"url": "<string>",
"price": 123,
"currency": "JPY",
"point": 123,
"is_in_stock": false,
"stock_message": "<string>",
"is_on_display": false,
"pickup_message": "<string>",
"is_pickup_all_day": false,
"address": "<string>",
"postal_code": "<string>",
"prefecture": "<string>",
"prefecture_id": "<string>",
"sub_area": "<string>",
"sub_area_id": "<string>",
"lat": 123,
"lng": 123,
"brands": []
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}/yodobashi
/yodobashi/products/stock
Physical store availability of a Yodobashi Camera (ヨドバシカメラ) product: per-store stock flag and message, in-store price and Gold Point reward, pickup readiness, address, postal code, coordinates, prefecture, shopping area, phone number and the next seven days of opening hours.
Price: 5 credits
POST
/
api
/
yodobashi
/
products
/
stock
/yodobashi/products/stock
curl --request POST \
--url https://api.anysite.io/api/yodobashi/products/stock \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"product": "<string>",
"count": 2,
"timeout": 300,
"in_stock_only": false,
"on_display_only": false
}
'import requests
url = "https://api.anysite.io/api/yodobashi/products/stock"
payload = {
"product": "<string>",
"count": 2,
"timeout": 300,
"in_stock_only": False,
"on_display_only": False
}
headers = {
"access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
product: '<string>',
count: 2,
timeout: 300,
in_stock_only: false,
on_display_only: false
})
};
fetch('https://api.anysite.io/api/yodobashi/products/stock', 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.anysite.io/api/yodobashi/products/stock",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'product' => '<string>',
'count' => 2,
'timeout' => 300,
'in_stock_only' => false,
'on_display_only' => false
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"access-token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.anysite.io/api/yodobashi/products/stock"
payload := strings.NewReader("{\n \"product\": \"<string>\",\n \"count\": 2,\n \"timeout\": 300,\n \"in_stock_only\": false,\n \"on_display_only\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("access-token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.anysite.io/api/yodobashi/products/stock")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"product\": \"<string>\",\n \"count\": 2,\n \"timeout\": 300,\n \"in_stock_only\": false,\n \"on_display_only\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/yodobashi/products/stock")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"product\": \"<string>\",\n \"count\": 2,\n \"timeout\": 300,\n \"in_stock_only\": false,\n \"on_display_only\": false\n}"
response = http.request(request)
puts response.read_body[
{
"id": "<string>",
"@type": "YodobashiStoreStock",
"name": "<string>",
"url": "<string>",
"price": 123,
"currency": "JPY",
"point": 123,
"is_in_stock": false,
"stock_message": "<string>",
"is_on_display": false,
"pickup_message": "<string>",
"is_pickup_all_day": false,
"address": "<string>",
"postal_code": "<string>",
"prefecture": "<string>",
"prefecture_id": "<string>",
"sub_area": "<string>",
"sub_area_id": "<string>",
"lat": 123,
"lng": 123,
"brands": []
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
API token from the dashboard
Headers
Body
application/json
Minimum string length:
1Required range:
x >= 1Required range:
20 <= x <= 1500Available options:
hokkaido, aomori, iwate, miyagi, akita, yamagata, fukushima, ibaraki, tochigi, gunma, saitama, chiba, tokyo, kanagawa, niigata, toyama, ishikawa, fukui, yamanashi, nagano, gifu, shizuoka, aichi, mie, shiga, kyoto, osaka, hyogo, nara, wakayama, tottori, shimane, okayama, hiroshima, yamaguchi, tokushima, kagawa, ehime, kochi, fukuoka, saga, nagasaki, kumamoto, oita, miyazaki, kagoshima, okinawa Available options:
shinjuku, tokyo_ginza_kanda, akihabara_ueno_kinshicho, kichijoji, tachikawa_machida_hachioji, ikebukuro, kawasaki, yokohama, kamiooka Available options:
yodobashi_camera, ishii_sports, art_sports, yodobloom Response
Successful Response
Show child attributes
Show child attributes