Skip to content

Update to schema version 562 - #359

Merged
1337joe merged 1 commit into
mainfrom
schema-562
Oct 27, 2026
Merged

1337joe merged 1 commit into
mainfrom
schema-562

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

v562

  • Adds new "pricing" user role, covering the PartPricing, PartSellPriceBreak and PartInternalPriceBreak models
  • The "part" role no longer grants access to part pricing data
  • Cached pricing fields (pricing_min, pricing_max, etc) are omitted from Part and BomItem API responses for users without the "pricing" view permission
  • This also applies to nested (embedded) part data, e.g. "part_detail" and "sub_part_detail" fields
  • Moves part pricing endpoints to the new /api/pricing/ namespace:
    • /api/part/sale-price/ -> /api/pricing/sale-price/
    • /api/part/internal-price/ -> /api/pricing/internal-price/
    • /api/part//pricing/ -> /api/pricing/part//
  • The legacy endpoints redirect (HTTP 308, preserving the request method and body) to the new endpoints

Automatically generated, check schema diff for needed changes

Adds new "pricing" user role, covering the PartPricing, PartSellPriceBreak and PartInternalPriceBreak models
The "part" role no longer grants access to part pricing data
Cached pricing fields (pricing_min, pricing_max, etc) are omitted from Part and BomItem API responses for users without the "pricing" view permission
This also applies to nested (embedded) part data, e.g. "part_detail" and "sub_part_detail" fields
Moves part pricing endpoints to the new /api/pricing/ namespace:

    /api/part/sale-price/ -> /api/pricing/sale-price/
    /api/part/internal-price/ -> /api/pricing/internal-price/
    /api/part//pricing/ -> /api/pricing/part//

The legacy endpoints redirect (HTTP 308, preserving the request method and body) to the new endpoints
@1337joe
1337joe marked this pull request as ready for review October 27, 2026 03:45
@1337joe
1337joe merged commit cd2706d into main Oct 27, 2026
3 checks passed
@1337joe
1337joe deleted the schema-562 branch October 27, 2026 03:46
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.

1 participant