---
title: "FlashSaleItem"
description: "活动适用的商品款式信息。限制最多返回50个活动商品"
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common-objects/objects/flash-sale-item'
  md: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common-objects/objects/flash-sale-item.md'
---
# FlashSaleItem

活动适用的商品款式信息。限制最多返回50个活动商品

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

## Type Signature

`FlashSaleItem`

## Fields

* `buyerRemainingInventory`

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

  买家的活动剩余可购买数量。不限制时返回 null

* `productId`

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

  商品ID

* `salePrice`

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

  商品款式的活动价格。活动未开始时返回商品售价

* `savingAmount`

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

  商品款式的优惠金额。活动未开始时返回为空

* `variantId`

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

  商品款式ID

* `variantRemainingInventory`

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

  商品款式的限时促销活动剩余库存。活动未开始时返回为空

## Schema Definition

```graphql
type FlashSaleItem { 
	buyerRemainingInventory: Int
	productId: ID
	salePrice: Money
	savingAmount: Money
	variantId: ID
	variantRemainingInventory: Int 
}
```

## Field from

* [FlashSaleCampaign](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common-objects/objects/flash-sale-campaign.md).flashSaleInfoByVariant

  商品款式的活动信息

* [FlashSaleInfo](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common-objects/objects/flash-sale-info.md).flashSaleInfoByVariant

  活动适用的商品款式信息。限制最多返回50个活动商品

* [FlashSaleProduct](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/products/objects/flash-sale-product.md).flashSaleInfoByVariant

  商品款式的活动信息

## Error Handling

关于更多通用错误码说明，参考：[状态码和错误码](https://developer.shopline.com/zh-hans-cn/docs/apps/api-instructions-for-use/storefront-api/overview.md#status-and-error-codes)。

