beamable-sdk / api / commerceGetCouponsCountByObjectId
Function: commerceGetCouponsCountByObjectId()¶
commerceGetCouponsCountByObjectId(
requester,objectId,gamertag?):Promise<HttpResponse<GetTotalCouponResponse>>
Defined in: src/__generated__/apis/CommerceApi.ts:163
Parameters¶
requester¶
The HttpRequester type to use for the API request.
objectId¶
Gamertag of the player.Underlying objectId type is integer in format int64.
string | bigint
gamertag?¶
string
Override the Gamer Tag of the player. This is generally inferred by the auth token.
Returns¶
Promise<HttpResponse<GetTotalCouponResponse>>
Remarks¶
Authentication:
This method requires a valid bearer token in the Authorization header.