---
title: "FlashSaleProductInput"
description: "需要查询限时促销活动的商品"
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/products/inputs/flash-sale-product-input'
  md: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/products/inputs/flash-sale-product-input.md'
---
# FlashSaleProductInput

需要查询限时促销活动的商品

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

## Input Fields

* `productId`

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

  商品ID

* `selectedVariantId`

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

  商品款式ID

## Argument from

* [Query](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common-objects/queries/flash-sale-campaign-by-product.md).flashSaleCampaignByProduct

## Error Handling

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

