Skip to content

added items,payment and payer to api query#4023

Merged
ColonelPhantom merged 2 commits into
masterfrom
extend_api
Jun 21, 2026
Merged

added items,payment and payer to api query#4023
ColonelPhantom merged 2 commits into
masterfrom
extend_api

Conversation

@Luukosaurus

Copy link
Copy Markdown
Contributor

Closes #4014 .

Summary

How to test

  1. Make database entries for sales event.
  2. Go to 'http://127.0.0.1:8000/api/v2/admin/sales/shifts/1/orders/'
  3. See that there is now more useful data being fetched

@ColonelPhantom ColonelPhantom left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did not test, but code looks good at a glance other than the prefetch thingy.

Comment thread website/sales/api/v2/admin/views.py Outdated
@JAicewizard

Copy link
Copy Markdown
Contributor

I propose we merge this

@ColonelPhantom ColonelPhantom merged commit 42ab5bc into master Jun 21, 2026
8 checks passed
@ColonelPhantom ColonelPhantom deleted the extend_api branch June 21, 2026 23:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Extend admin/shift/orders api

3 participants