<Resource>.update method as alternative to retrieve -> update
See original GitHub issueIt would be great to have an update method on resource classes directly. This would save one unnecessary request.
Example:
CustomerUpdateParams params = ...;
Customer.update(id, params);
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Laravel Resource Controller update method not firing
It seems the update function is not firing at all, which I think means there is something wrong with the action attribute in...
Read more >Update behaviors of stack resources - AWS CloudFormation
When you submit an update, AWS CloudFormation updates resources based on differences between what you submit and the stack's current template.
Read more >Using HTTP Methods for RESTful Services - REST API Tutorial
HTTP methods tutorial on how to use them for RESTful API or Web Service. ... These correspond to create, read, update, and delete...
Read more >15. Resource - update() method in Laravel - YouTube
Editing the HTML form for put/ patch method. done Step 3. Deciding the route in HTML Form so as to submit it and...
Read more >Implement Resource Update | Terraform - HashiCorp Developer
Implement resource update. This update method uses the HashiCups client library to invoke a PUT request to the /orders/{orderId} endpoint with the updated...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@soutchay I would not recommend doing it this way because we could make change to the infrastructure that would break your integration. You could, but you’d need to make sure that whenever you upgrade your version of stripe-java, even with a minor version, you triple check that we are not causing a regression for your code.
We are definitely aware of this limitation. We just shipped client/services in stripe-php 2 weeks ago and we do hope to revamp the stripe-java library in the future to make this easier too.
Thank you for the quick response and recommendation! I look forward to the stripe-java library revamp