Skip to main content
GET
/
events
/
{event}
/
addons
Listar adicionais
curl --request GET \
  --url http://localhost/api/v1/events/{event}/addons \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": 123,
      "event_id": 123,
      "name": "<string>",
      "description": "<string>",
      "image_path": "<string>",
      "image_url": "<string>",
      "price_cents": 123,
      "max_quantity": 123,
      "quantity_sold": 123,
      "is_active": true,
      "sort_order": 123,
      "batch_ids": [
        "<unknown>"
      ],
      "created_at": "<string>",
      "updated_at": "<string>"
    }
  ],
  "meta": {
    "page": 123,
    "per_page": 123,
    "total": 123,
    "last_page": 123
  },
  "links": {
    "next": "<string>",
    "prev": "<string>"
  }
}

Authorizations

Authorization
string
header
required

API key do hub com escopo manage. Header: Authorization: Bearer <api_key>.

Path Parameters

event
string
required

Response

data
EventAddonResource · object[]
required
meta
object
required