Omniplex Docs
PopplioStaging

Shop

These API endpoints are related to the IBL shop.

GET
/shop/public-coupons

Get Shop Coupons

Gets the publicly viewable shop coupons on the list

/shop/public-coupons
curl -X GET "https://spider-staging.omniplex.gg/shop/public-coupons"

Success

{
  "items": [
    {
      "allowed_users": [
        "string"
      ],
      "applicable_items": [
        "string"
      ],
      "cents": 0.1,
      "code": "string",
      "created_at": "2019-08-24T14:15:22Z",
      "created_by": {
        "avatar": "string",
        "bot": true,
        "display_name": "string",
        "extra_data": {
          "property1": null,
          "property2": null
        },
        "flags": [
          "string"
        ],
        "id": "string",
        "status": "string",
        "username": "string"
      },
      "expiry": 0,
      "id": "string",
      "last_updated": "2019-08-24T14:15:22Z",
      "max_uses": 0,
      "public": true,
      "requirements": [
        "string"
      ],
      "reuse_wait_duration": 0,
      "target_types": [
        "string"
      ],
      "updated_by": {
        "avatar": "string",
        "bot": true,
        "display_name": "string",
        "extra_data": {
          "property1": null,
          "property2": null
        },
        "flags": [
          "string"
        ],
        "id": "string",
        "status": "string",
        "username": "string"
      },
      "usable": true
    }
  ]
}

GET
/shop/items

Get Shop Items

Gets the publicly viewable shop items on the list

/shop/items
curl -X GET "https://spider-staging.omniplex.gg/shop/items"

Success

{
  "items": [
    {
      "benefits": [
        "string"
      ],
      "cents": 0.1,
      "created_at": "2019-08-24T14:15:22Z",
      "created_by": {
        "avatar": "string",
        "bot": true,
        "display_name": "string",
        "extra_data": {
          "property1": null,
          "property2": null
        },
        "flags": [
          "string"
        ],
        "id": "string",
        "status": "string",
        "username": "string"
      },
      "description": "string",
      "duration": 0,
      "id": "string",
      "last_updated": "2019-08-24T14:15:22Z",
      "name": "string",
      "target_types": [
        "string"
      ],
      "updated_by": {
        "avatar": "string",
        "bot": true,
        "display_name": "string",
        "extra_data": {
          "property1": null,
          "property2": null
        },
        "flags": [
          "string"
        ],
        "id": "string",
        "status": "string",
        "username": "string"
      }
    }
  ]
}

GET
/shop/item-benefits

Get Shop Items

Gets the publicly viewable shop items on the list

/shop/item-benefits
curl -X GET "https://spider-staging.omniplex.gg/shop/item-benefits"

Success

{
  "items": [
    {
      "created_at": "2019-08-24T14:15:22Z",
      "created_by": {
        "avatar": "string",
        "bot": true,
        "display_name": "string",
        "extra_data": {
          "property1": null,
          "property2": null
        },
        "flags": [
          "string"
        ],
        "id": "string",
        "status": "string",
        "username": "string"
      },
      "description": "string",
      "id": "string",
      "last_updated": "2019-08-24T14:15:22Z",
      "name": "string",
      "target_types": [
        "string"
      ],
      "updated_by": {
        "avatar": "string",
        "bot": true,
        "display_name": "string",
        "extra_data": {
          "property1": null,
          "property2": null
        },
        "flags": [
          "string"
        ],
        "id": "string",
        "status": "string",
        "username": "string"
      }
    }
  ]
}