Skip to content

feat(quotes): add quotes, order forms and orders clients - #414

Merged
toommz merged 3 commits into
mainfrom
lago-1698
Aug 26, 2026
Merged

feat(quotes): add quotes, order forms and orders clients#414
toommz merged 3 commits into
mainfrom
lago-1698

Conversation

@toommz

@toommz toommz commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Propagates the Quotes, Order forms and Orders APIs to the Python client, from the lago-openapi branches lago-1698, lago-1699 and lago-1700.

Collapsed from a three-PR stack: #415 and #416 have been merged into this branch.

Quotes

  • client.quotesfind, find_all, versions(quote_id)
  • client.quote_versionsfind, approve(id, QuoteVersionApprove), void, clone

Order forms

  • client.order_formsfind, find_all, mark_as_signed(id, OrderFormMarkAsSigned), void

Orders

  • client.ordersfind, find_all, execute(id, OrderExecute)

billing_items is typed down to each entry's envelope (id, localId, type); payload and overrides stay Dict[str, Any], since the spec states undocumented catalog keys may appear there. OrderResponse.billing_snapshot reuses QuoteBillingItemsResponse rather than redefining it.

The request-body shapes follow the spec and are deliberately not uniform: the quote approve body is unwrapped ({ expires_at }), while mark_as_signed and execute wrap theirs under order_form and order.

pytest (449 tests) and ruff check / ruff format --check are green.

🤖 Generated with Claude Code

@toommz toommz self-assigned this Aug 26, 2026
@toommz toommz changed the title feat(quotes): add quote and quote_version clients feat(quotes): add quotes, order forms and orders clients Aug 26, 2026
@toommz
toommz marked this pull request as ready for review August 26, 2026 08:20
@toommz
toommz merged commit abe0b11 into main Aug 26, 2026
21 checks passed
@toommz
toommz deleted the lago-1698 branch August 26, 2026 10:51
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.

2 participants