docs(pretix): document organizer-detail endpoint feeding events.company
Catch-up note for the organizer display-name fetch added with ab25c10:
GET /organizers/<slug>/ returns the organisation name (multi-lingual object
or string), which the sidecar resolves via pickPretixName and stores on
events.company during each Pretix sync so badges can bind a Company field.
There is no separate company field on the organizer resource.
This commit is contained in:
1 parent
6bde90aac1
commit
d4205d0342
1 file changed
+16
@@ -67,6 +67,22 @@ GET https://pretix.eu/api/v1/organizers/appecommday/events/tickets/items/
|
||||
|
||||
Currently the event has a **single item**: id `1074118`, name "Regular ticket".
|
||||
|
||||
### 3. Organizer detail (the owning company name)
|
||||
|
||||
```
|
||||
GET https://pretix.eu/api/v1/organizers/appecommday/
|
||||
```
|
||||
|
||||
| Field | Type | Notes |
|
||||
|---|---|---|
|
||||
| `slug` | string | `appecommday` |
|
||||
| `name` | multi-lingual object or string | the organisation / company display name, e.g. `"Austrian Power Platform Enthusiasts"` |
|
||||
|
||||
The sidecar fetches this during each Pretix sync and stores the resolved name on
|
||||
`events.company`, so badges can bind a **Company / organizer** field independent
|
||||
of the event's own name. (There is no separate `company` field on the organizer
|
||||
resource — the display name is the company.)
|
||||
|
||||
## Pagination
|
||||
|
||||
List responses are:
|
||||
|
||||
Reference in new issue
Block a user