An access token is required to call this API. Refer to Authorization for more information about how to obtain the token.
Query flash sale campaigns by a specific product.
Arguments
flashSaleProduct ● FlashSaleProductInput!non-null
The product information used to query flash sale campaigns.
buyerId ● ID
Pass in this argument to retrieve the buyer's eligible flash sale campaigns. If no eligible campaigns are found, no campaign information is returned.
Returns
combinesWithDiscounts ● Boolean
Whether discount codes and automatic discounts can be applied after the flash sale price.
displaySettings ● FlashSaleDisplaySettings
Display settings for the campaign
endsAt ● Date
The date and time when the campaign ends
flashSaleInfoByVariant ● [FlashSaleItem]
商品款式的活动信息 The campaign information matching the supplied product or product variant.
id ● ID
The unique ID of the flash sale campaign.
productInventory ● Int
The total available quantity of promotional items.
purchaseLimitConfiguration ● PurchaseLimitConfiguration
The purchase limit configuration for buyers
seoHandleUrl ● String
The URL used for viewing the campaign products on the shop's Online Store. Returns null if the campaign does not generate a landing page.
soldQuantity ● Int
The total sold quantity of promotional items.
startsAt ● Date
The date and time when the campaign starts
title ● String
The title of the campaign.
Error Code
For more information about common error codes, refer to Status and error codes.
Was this article helpful to you?