メインコンテンツまでスキップ

ペットの在庫を取得する

ステータス別に分類されたペットの在庫を返します。

GET https://petstore3.swagger.io/api/v3/store/inventory

cURL
GET "https://petstore3.swagger.io/api/v3/store/inventory" \
-H "accept: application/json" \
-H "api_key: <YOUR_API_KEY>"

レスポンス

コード説明
200操作成功
default予期せぬエラー
レスポンス例

200: 操作成功

Response
{
"sold": 0,
"available": 0,
"pending": 0
}

パラメータ

なし