8000 Add GET to Customers resource by chrismaddern · Pull Request #14 · button/button-client-ruby · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@chrismaddern
Copy link
Contributor

No description provided.

Copy link
Contributor
@griffinmyers griffinmyers left a comment

Choose a reason for hiding this comment

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

Awesome, chris!!


client = Button::Client.new('sk-XXX')

response = client.customers.get('btncustomer-XXX')
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm almost afraid to ask... but can partners CRUD in their own namespace like orders?

Copy link
Contributor

Choose a reason for hiding this comment

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

This is basically a TODO for me to update docs showing that partner's can pass their own order ids (and update the order reporting tool's snippets to use the partner order id)--this is an important feature of an integration because it means partners don't have to persist our ids for adjustments and cancellations.

@chrismaddern chrismaddern merged commit 0285087 into master Mar 30, 2017
@chrismaddern chrismaddern deleted the chris/get-customers branch March 30, 2017 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4CBE
None yet

Development

Successfully merging this pull request may close these issues.

3 participants

0