---
title: "FlashSaleItem"
description: "The information of product variants the campaign applies to."
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/storefront-api/common-objects/objects/flash-sale-item'
  md: 'https://developer.shopline.com/docs/storefront-api/common-objects/objects/flash-sale-item.md'
---
# FlashSaleItem

The information of product variants the campaign applies to.

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

## Type Signature

`FlashSaleItem`

## Fields

* `buyerRemainingInventory`

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

  The remaining quantity available for purchase by the buyer. Return null if there is no limit.

* `productId`

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

  The unique ID of the product

* `salePrice`

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

  The sale price of the product variant. Return the product price if the campaign has not started

* `savingAmount`

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

  Discount amount of the product variant. Returns null if the campaign has not started.

* `variantId`

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

  The unique ID of the product variant

* `variantRemainingInventory`

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

  Remaining stock for the product variant in the campaign. Returns null if the campaign has not started.

## Schema Definition

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

## Field from

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

  The campaign information matching the supplied product or product variant.

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

  商品款式的活动信息	The campaign information matching the supplied product or product variant.

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

  The information of product variants the campaign applies to. Limit the returned information to 50 products at most

## Error Handling

For detailed information about common codes, see [Status and error codes](https://developer.shopline.com/docs/apps/api-instructions-for-use/storefront-api/overview.md#status-and-error-codes).

