New Customer vs. update customer methods

I wanted to confirm. If someone is a new customer and I enter their CG params into the update customer method then CG will still create the new customer correct?

  1. Hi Derreck --

    You'll actually need to create the customer record before you can use the update method.

    Let me know if you need help with anything else.

  2. Jess Pendley closed this discussion on 28 Oct, 2014 07:03 PM.

  3. Derreck Nassar re-opened this discussion on 29 Oct, 2014 02:56 PM

  4. So update method does not also work to create a new customer if all the
    required params are given to the API? I just wanted to confirm so I can
    build a fail safe system.

  5. That's correct.

  6. What about update subscription vs new customer? Will update subscription
    work to create a new customer if the subscription does not already exist?

  7. Hi Derreck --

    The customer record needs to be created before you can use either the update subscription or update customer method.

  8. Are you sure that is true? Your documentation for Update Sub
    <https://cheddargetter.com/developers#update-subscription> says the
    following:
    Notes*If the customer does not already have a subscription with a valid
    credit card, all credit card information is required.* If the plan code
    corresponds to a "free" plan, no credit card data is required. If the
    customer already has a subscription with a credit card, no credit card
    information data is required. In this instance, any subset of credit card
    data may be provided. Your preferences still apply for ccCardCode and
    ccZip.

  9. Yes, I'm sure.

    That is only referencing credit card information for existing customer records. If there is no existing customer record, that would not apply.

  10. Marcela Poffald closed this discussion on 11 Apr, 2018 03:55 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