Skip to main content
Module

x/harmony/mod.ts>RESTEndpoints#consumeSKU

An easy to use Discord API Library for Deno.
Go to Latest
method RESTEndpoints.prototype.consumeSKU
Re-export
import { RESTEndpoints } from "https://deno.land/x/harmony@v2.9.0/mod.ts";

Marks a given entitlement for the user as consumed, meaning it will no longer be returned in an entitlements check. Ensure the user was granted whatever items the entitlement was for before consuming it!

Parameters

applicationId: string
entitlementId: string
payload: unknown

Returns

Promise<unknown>