Skip to content

HasDropsMethods ​

php
trait Zairakai\LaravelTwitch\Services\Concerns\HasDropsMethods

Twitch Drops Entitlements API methods.

Source: src/Services/Concerns/HasDropsMethods.php

Methods ​

getDropsEntitlements() ​

php
public function getDropsEntitlements(string|array|null $ids = null, string $userId = null, string $gameId = null, string $fulfillmentStatus = null, int $first = 20, string $after = null): PaginatedResult

Get a list of entitlements for a given organization that have been granted to a user.

ParameterDescription
$idsFilter by entitlement ID(s)
$fulfillmentStatusFilter by status: CLAIMED, FULFILLED

Returns PaginatedResult<DropsEntitlement>

updateDropsEntitlements() ​

php
public function updateDropsEntitlements(array $entitlementIds, string $fulfillmentStatus): DataCollection

Update the fulfillment status of entitlements.

ParameterDescription
$entitlementIdsList of entitlement IDs to update (max 100)
$fulfillmentStatusCLAIMED or FULFILLED

Returns DataCollection<int, EntitlementStatus>

Documentation of 4.1.4 , built from a03e949 on 4.1.4 by pipeline #2949087255 on 2026-10-11.