Skip to main content

Registration ID

This is a plugin for pretix.

Adds an automatic, sequential registration ID (1, 2, 3, …) to orders. The ID is shown on the order page in the backend and to the customer.

Configure it under Settings → Registration ID in your event:

  • Select the products that should get a registration ID. Orders that contain none of them don’t get one.

  • Choose when the ID is assigned: when the order is placed, approved or paid. You can additionally have it assigned when an order is changed.

Nothing is assigned until at least one product and a moment to assign it are selected. Orders placed before the plugin was configured don’t get a registration ID retroactively.

REST API

Look up an order by its registration ID:

GET /api/v1/organizers/<organizer>/events/<event>/regid/<registration ID>/

The response is the same as pretix’s GET .../orders/<code>/ (including positions with their question answers), with an additional regid field. The include and exclude query parameters of the order endpoint work here too. It requires the “view orders” permission and works with team API tokens, OAuth and devices with full device access. Devices with a pretixSCAN security profile are not allowed to use it.

Look up the registration ID of an order by its order code:

GET /api/v1/organizers/<organizer>/events/<event>/regid/by-order/<order code>/

This returns {"order": "<order code>", "regid": 42}, or "regid": null if the order has no registration ID. Unknown order codes return 404. The same permissions apply as above.

To install: pip3 install pretix-regid && python3 -m pretix migrate && python3 -m pretix rebuild && service pretix-web restart

Then just activate it in your event config.

Development setup

  1. Make sure that you have a working pretix development setup.

  2. Clone this repository.

  3. Activate the virtual environment you use for pretix development.

  4. Execute pip3 install -e . within this directory to register this application with pretix’s plugin registry.

  5. Execute make within this directory to compile translations.

  6. Restart your local pretix server. You can now use the plugin from this repository for your events by enabling it in the ‘plugins’ tab in the settings.

This plugin has CI set up to enforce a few code style rules. To check locally, you need these packages installed:

pip install flake8 isort black docformatter

To check your plugin for rule violations, run:

docformatter --check -r .
black --check .
isort -c .
flake8 .

You can auto-fix some of these issues by running:

docformatter -r .
isort .
black .

To automatically check for these issues before you commit, you can run .install-hooks.

License

Copyright 2022 Christiaan de Die le Clercq (techwolf12)

Released under the terms of the Apache License 2.0

Metadata

Release files for pretix-regid 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pretix-regid 0.3.0
File Size Uploaded Provenance
pretix_regid-0.3.0.tar.gz 16.0 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pretix-regid 0.3.0
File Interpreter ABI Platform
pretix_regid-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 32.6 kB

Release files / pretix_regid-0.3.0.tar.gz

Download URL pretix_regid-0.3.0.tar.gz
Size 16.0 kB
Tags Source
SHA-256 checksum
How to use checksums
f040c8ddf91d1404cc58e7336689fb189cad1575e186033cfa95e4d51ee6b13a
BLAKE2b-256 checksum
How to use checksums
145282dd56fd4f562baa68df6b8f2386621239071e7f93ed0e87706198bc6254
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Release files / pretix_regid-0.3.0-py3-none-any.whl

Download URL pretix_regid-0.3.0-py3-none-any.whl
Size 16.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c65a8de35c254542d5369bd18fac4aaa81d7168acbe7e1934686b9e78c753b3b
BLAKE2b-256 checksum
How to use checksums
5fb6a76f1d476d96d1ac6b6a72b29e0b4d74cce484151d41404576dd19ffcdff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Security for pretix-regid 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pretix_regid-0.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page