delete or cancel accounts using the API
Hey,
Can we delete or cancel an account using the api?
Also, it appears that once the "code" is set, it is set for good. No chance to edit it.
thanks!
Discussions are closed to public comments.
If you need help with Cheddar please
start a new discussion.
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
Support Staff 1 Posted by Marc Guyer on 05 Oct, 2009 09:38 PM
Not sure how these didn't make it into the api docs... Both methods are implemented in the PHP client here
Delete a customer
Cancel a customer's subscription
Which code do you mean? You should be able to edit it via the GUI. In the API, it's a little more difficult because, assuming you want to change a customer's code, you have to reference the customer with CG's id for the customer. You can't reference a record by code and change the code at the same time.
Marc Guyer closed this discussion on 05 Oct, 2009 09:38 PM.
philip crawford re-opened this discussion on 05 Oct, 2009 10:03 PM
2 Posted by philip crawford on 05 Oct, 2009 10:03 PM
Thank you!
Customer code, yes.
3 Posted by philip crawford on 05 Oct, 2009 11:18 PM
Hey Marc,
We're calling the cancel method, but it doesn't appear to respond to
the call. Also, the subscription isn't canceled.
The URI below for cancel appears to be missing "productCode".
- Phil
Support Staff 4 Posted by Marc Guyer on 06 Oct, 2009 01:54 PM
Oops. I've fixed the post above to include the productCode in the URI.
I can't seem to replicate the issue you describe though. I've tested it with:
The customer is canceled and the xml is returned.
Marcela Poffald closed this discussion on 11 Apr, 2018 06:03 PM.