Admin API / Types

GiveawaySaleModeInput

Input

A free draw of the listing's one variant. The variant ships (GIVEAWAY_VARIANT_MUST_SHIP), has a price of 0 USD (PRICE_OUT_OF_RANGE) and has 1 in stock (QUANTITY_INVALID). The listing takes no offers. The draw does not start at create: a host starts it in a livestream.

input GiveawaySaleModeInput

Input fields

FieldTypeDescription
audienceGiveawayAudience!Who can enter: everyone, or followers of the seller.
domesticOnlyBoolean!When the seller has a default address, only buyers with a shipping address in its country can enter.
durationDuration!How long the draw stays open after the host starts it: at least 1 second, in whole seconds, with no upper bound beyond the 2147483647 seconds Graph stores (GIVEAWAY_DURATION_INVALID).