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!

  1. Not sure how these didn't make it into the api docs... Both methods are implemented in the PHP client here

    Delete a customer

    /customers/delete/productCode/MY_PRODUCT_CODE/code/MY_CUSTOMER_CODE
    

    Cancel a customer's subscription

    /customers/cancel/productCode/MY_PRODUCT_CODE/code/MY_CUSTOMER_CODE
    

    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.

  2. Marc Guyer closed this discussion on 05 Oct, 2009 09:38 PM.

  3. philip crawford re-opened this discussion on 05 Oct, 2009 10:03 PM

  4. Thank you!

    Customer code, yes.

  5. 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

  6. 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:

    $ curl -u username:password https://cheddargetter.com/xml/customers/cancel/productCode/TEST_PRODUCT/code/[email blocked]
    

    The customer is canceled and the xml is returned.

  7. Marcela Poffald closed this discussion on 11 Apr, 2018 06:03 PM.

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

Recent Discussions