Skip to content

4 of 4 | Paginate customer subscriptions and purchases - #224

Draft
joshdholtz wants to merge 1 commit into
josh/dx-1056-duration-helpfrom
josh/dx-1053-paginated-customer-history
Draft

joshdholtz wants to merge 1 commit into
josh/dx-1056-duration-helpfrom
josh/dx-1053-paginated-customer-history

Conversation

@joshdholtz

@joshdholtz joshdholtz commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

Checklist

  • Tests added or updated, if applicable
  • go build ./..., go test -race ./..., and gofmt pass

Motivation

People use rc api to page through a customer's subscriptions and purchases. Both calls now have a dedicated command.

Description

  • rc customers subscriptions <customer-id> and rc customers purchases <customer-id> each return one page.
  • Both take --limit and --cursor. JSON includes next_page when there's another page.
  • Both show up in rc commands and rc schema. The existing rc customers show still uses its original request and output shape.

Stacked on #223 so we can test the whole CLI together. The tests check both endpoint paths, cursor and limit parameters, the page output, and discovery.

@joshdholtz
joshdholtz added this pull request to stack #225 November 26, 2026 23:19
@joshdholtz joshdholtz changed the title feat(cli): paginate customer subscriptions and purchases 4 of 4 | Paginate customer subscriptions and purchases Nov 26, 2026
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