Skip to content

Get Packages for Online Store

Request

Public endpoint that gets packages for use in the online store

Path
tenantIdstringrequired

The tenant

Bodyapplication/jsonrequired

Restrictions

event_idsArray of strings, >= 0 items(Events)required
event_restrictionstring(Event Restriction)
Enum:"exclude""include""none"
event_type_idsArray of strings, >= 0 items(Event Types)required
event_type_restrictionstring(Event Type Restriction)
Enum:"exclude""include""none"
curl -i -X POST \
  'https://docs.api.rhythmsoftware.com/_mock/apis/events/events-v1/registrationPackages/{tenantId}/public/onlineStore' \
  -H 'Content-Type: application/json' \
  -d '{
    "event_ids": [
      "string"
    ],
    "event_restriction": "exclude",
    "event_type_ids": [
      "string"
    ],
    "event_type_restriction": "exclude"
  }'

Responses

The store was retrieved

Headers
Access-Control-Allow-Headersstring
Access-Control-Allow-Methodsstring
Access-Control-Allow-Originstring
Bodyapplication/json
event_typesArray of objects
eventsArray of objects
registration_packagesArray of objects
Response
{ "event_types": [ { … } ], "events": [ { … } ], "registration_packages": [ { … } ] }