Admin API / Types
GiveawaySaleModeInput
InputA 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 GiveawaySaleModeInputInput fields
| Field | Type | Description |
|---|---|---|
audience | GiveawayAudience! | Who can enter: everyone, or followers of the seller. |
domesticOnly | Boolean! | When the seller has a default address, only buyers with a shipping address in its country can enter. |
duration | Duration! | 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). |