beamable-sdk / api / commerceGetByObjectId
Function: commerceGetByObjectId()¶
commerceGetByObjectId(
requester,objectId,scope?,gamertag?):Promise<HttpResponse<GetActiveOffersResponse>>
Defined in: src/__generated__/apis/CommerceApi.ts:137
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
scope?¶
string
The scope parameter to include in the API request.
gamertag?¶
string
Override the Gamer Tag of the player. This is generally inferred by the auth token.
Returns¶
Promise<HttpResponse<GetActiveOffersResponse>>
Remarks¶
Authentication:
This method requires a valid bearer token in the Authorization header.