Skip to main content
POST
/
v2
/
gift-cards
/
offers
/
{giftCardOffer}
/
stock
Add stock to a gift card offer
curl --request POST \
  --url https://api.gameboost.com/v2/gift-cards/offers/{giftCardOffer}/stock \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "keys": [
    "<string>"
  ]
}
'
{
  "message": "Unauthenticated."
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

giftCardOffer
string
required

Body

application/json
keys
string[]
required

Array of key/code strings to add as stock

Minimum array length: 1

Response

User is not authenticated, happens when the API key is missing, expired or invalid

message
string
Example:

"Unauthenticated."