Allow adding charges and/or items to customer update API

Andrew Wallace's Avatar

Andrew Wallace

04 Dec, 2014 05:32 PM

Hello,

It would be great if the customer update api call could include the same information as the new customer call (at least charges and items).
The issue is that if we want to add many custom charges and items, we need to do 2 * X calls being X the number of items/charges, having a chance of failure for each of them resulting in a partially updated subscription. A failure would be very rare the consecuences are not bad at all, the subscription update will just not include all changes, and missing changes will need to be added later. This can also be helped with some retry logic as well. But, it seems like the update customer api call should be able to do this just like the create customer one.

  1. Support Staff 1 Posted by Marc Guyer on 22 Apr, 2015 05:37 PM

    Marc Guyer's Avatar

    Hi Andrew -- Sorry for the delayed response on this. Thanks very much for the suggestion. This is something that's been on our wishlist for some time. I've added you to our dev ticket so you'll receive updates here when we get around to adding this feature.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac