New Customer vs. update customer methods

Derreck Nassar's Avatar

Derreck Nassar

28 Oct, 2014 06:02 PM

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. 1 Posted by Jess Pendley on 28 Oct, 2014 07:03 PM

    Jess Pendley's Avatar

    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. 2 Posted by Derreck Nassar on 29 Oct, 2014 02:56 PM

    Derreck Nassar's Avatar

    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. 3 Posted by Jess Pendley on 29 Oct, 2014 02:57 PM

    Jess Pendley's Avatar

    That's correct.

  6. 4 Posted by Derreck Nassar on 29 Oct, 2014 04:00 PM

    Derreck Nassar's Avatar

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

  7. 5 Posted by Jess Pendley on 29 Oct, 2014 04:06 PM

    Jess Pendley's Avatar

    Hi Derreck --

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

  8. 6 Posted by Derreck Nassar on 29 Oct, 2014 04:10 PM

    Derreck Nassar's Avatar

    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. 7 Posted by Jess Pendley on 29 Oct, 2014 04:22 PM

    Jess Pendley's Avatar

    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

28 Mar, 2024 10:45 PM
24 Jan, 2024 08:33 AM
11 Jan, 2024 07:13 AM
30 Nov, 2023 02:07 AM
22 Nov, 2023 08:41 AM