Skip to content

Conversation

@NatElkins
Copy link
Contributor

@NatElkins NatElkins commented Jan 13, 2026

Summary

  • Add products.list contract for fetching organization products via API
  • Returns products with their prices (supports fixed, custom, and free amounts)

Part of MDK-403. Merge this first, then update consumers.

Add products contract with:
- ProductSchema (id, name, description, recurringInterval, prices)
- ProductPriceSchema (amountType, amounts, meterId)
- listProductsContract for products.list endpoint
id: z.string(),
name: z.string(),
description: z.string().nullable(),
recurringInterval: z.enum(["MONTH", "QUARTER", "YEAR"]).nullable(),
Copy link
Contributor

Choose a reason for hiding this comment

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

do we want to have this before enabling subscriptions?

Copy link
Contributor

@martinsaposnic martinsaposnic left a comment

Choose a reason for hiding this comment

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

small comment, otherwise looks good

@NatElkins NatElkins merged commit 93b4a95 into main Jan 13, 2026
1 check passed
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.

3 participants