---
title: "StoreAvailability"
description: "商品款式在各个库存地点的库存状态信息。"
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/products/objects/store-availability'
  md: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/products/objects/store-availability.md'
---
# StoreAvailability

商品款式在各个库存地点的库存状态信息。

- **API Version:** v20270301
- **API Type:** Storefront
- **API Protocol:** GraphQL
- **Operation Type:** Object

## Fields

* `available`

  [Boolean!](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common/scalars/boolean.md)

  该地点的商品款式是否有库存。
  
  - `true`：有库存。
  - `false`：无库存。

* `locationId`

  [String!](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common/scalars/string.md)

  商品款式库存地点的 ID。

* `quantityAvailable`

  [Int!](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common/scalars/int.md)

  该地点的商品款式可售库存数量。

* `location`

  [Location](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common-objects/objects/location.md)

  商品款式库存地点对象。

## Field from

* [StoreAvailabilityEdge](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/products/objects/store-availability-edge.md).node

* [StoreAvailabilityConnection](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/products/objects/store-availability-connection.md).nodes

