---
updatedAt: 2025-11-11T02:11:34.000Z
agentTools:
  projectIndex: https://beamable2.readme.io/llms.txt
---

# get

# OpenAPI definition

```json
{
  "info": {
    "title": "commerce object",
    "version": "1.0",
    "contact": {
      "name": "Beamable Support",
      "url": "https://api.beamable.com",
      "email": "support@beamable.com"
    }
  },
  "servers": [
    {
      "url": "https://api.beamable.com"
    }
  ],
  "paths": {
    "/object/commerce/{objectId}/": {
      "get": {
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetActiveOffersResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request"
          }
        },
        "parameters": [
          {
            "name": "scope",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "required": false
          },
          {
            "name": "objectId",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "security": [
          {
            "scope": [],
            "user": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "ItemCreateRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "contentId": {
            "type": "string"
          },
          "properties": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ItemProperty"
            }
          }
        }
      },
      "PlayerListingView": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "clientDataList": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClientDataEntry"
            }
          },
          "symbol": {
            "type": "string"
          },
          "clientData": {
            "type": "object",
            "additionalProperties": true
          },
          "cooldown": {
            "type": "integer"
          },
          "secondsActive": {
            "type": "integer"
          },
          "offer": {
            "$ref": "#/components/schemas/PlayerOfferView"
          },
          "queryAfterPurchase": {
            "type": "boolean"
          },
          "purchasesRemain": {
            "type": "integer"
          },
          "secondsRemain": {
            "type": "integer"
          },
          "active": {
            "type": "boolean"
          }
        },
        "required": [
          "secondsActive",
          "active",
          "queryAfterPurchase"
        ]
      },
      "Price": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "type": {
            "type": "string"
          },
          "symbol": {
            "type": "string"
          },
          "amount": {
            "type": "integer"
          },
          "schedule": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          }
        }
      },
      "PlayerStoreView": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "listings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PlayerListingView"
            }
          },
          "symbol": {
            "type": "string"
          },
          "nextDeltaSeconds": {
            "type": "integer"
          },
          "title": {
            "type": "string"
          },
          "secondsRemain": {
            "type": "integer"
          }
        }
      },
      "PlayerOfferView": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "coupons": {
            "type": "integer"
          },
          "price": {
            "$ref": "#/components/schemas/Price"
          },
          "buttonText": {
            "type": "string"
          },
          "titles": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "symbol": {
            "type": "string"
          },
          "obtainItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ItemCreateRequest"
            }
          },
          "obtainCurrency": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CurrencyChange"
            }
          },
          "images": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "descriptions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "obtain": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "coupons"
        ]
      },
      "CurrencyChange": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "symbol": {
            "type": "string"
          },
          "amount": {
            "type": "integer"
          },
          "originalAmount": {
            "type": "integer"
          }
        },
        "required": [
          "amount"
        ]
      },
      "ItemProperty": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        }
      },
      "GetActiveOffersResponse": {
        "properties": {
          "stores": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PlayerStoreView"
            }
          }
        },
        "additionalProperties": false,
        "title": "Get Active Offers Response",
        "type": "object"
      },
      "ClientDataEntry": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        }
      }
    },
    "securitySchemes": {
      "scope": {
        "type": "apiKey",
        "name": "X-DE-SCOPE",
        "in": "header",
        "description": "Customer and project scope. This should contain the '<customer-id>.<project-id>'."
      },
      "user": {
        "type": "http",
        "description": "Bearer authentication with an player access token in the Authorization header.",
        "scheme": "bearer",
        "bearerFormat": "Bearer <Access Token>"
      }
    }
  },
  "security": [],
  "externalDocs": {
    "description": "Beamable Documentation",
    "url": "https://docs.beamable.com"
  },
  "openapi": "3.0.2",
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```