Marketplace API / Mutations
enterGiveaway
Enters the authenticated user into a giveaway that is accepting entries. A user has one entry per giveaway, and the prize ships to the user's default shipping address. The entry requirements are those of Giveaway.viewer.ineligibleReason. The giveaway's seller, and a user who is not permitted to take part, get UnauthorizedError.
enterGiveaway(
input: EnterGiveawayInput!
): EnterGiveawayPayload!Arguments
| Argument | Type | Description |
|---|---|---|
input | EnterGiveawayInput! | The giveaway to enter. |