Skip to main content
POST
/
v2
/
currency-offers
/
{currencyOffer}
/
archive
Archive a currency offer
curl --request POST \
  --url https://api.gameboost.com/v2/currency-offers/{currencyOffer}/archive \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": 123,
    "uuid": "<string>",
    "game": {
      "id": 123,
      "name": "<string>",
      "slug": "<string>"
    },
    "currency_unit": {
      "slug": "<string>",
      "currency_name": "<string>",
      "name": "<string>",
      "symbol": "<string>",
      "multiplier": 123
    },
    "title": "<string>",
    "description": "<string>",
    "parameters": {},
    "base_currency": "<string>",
    "status": "draft",
    "delivery_time": {
      "duration": 123,
      "unit": "minutes",
      "format": "<string>",
      "format_long": "<string>",
      "seconds": 123
    },
    "delivery_instructions": "<string>",
    "stock": 123,
    "min_quantity": 123,
    "price_eur": "<string>",
    "price_usd": "<string>",
    "views": 123,
    "icon_url": "<string>",
    "created_at": 123,
    "updated_at": 123,
    "listed_at": 123
  },
  "message": "<string>",
  "action": "<string>",
  "previous_status": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

currencyOffer
string
required

The ID of the currency offer. Can be retrieved from the list of currency offers.

Response

Currency offer action result

data
object

Currency offer object representing in-game currency for sale

message
string

Action result message

action
string

Action performed

previous_status
string | null

Previous status before action

I