Get_a_Single_Customer() gives me 404

's Avatar

andrew

23 Apr, 2011 10:08 PM

I can see my test customer in the admin section:
https://cheddargetter.com/admin/customers/get/id/f9029380-b91c-102e...

but i get a 404: Resource not found when I call thru the api:
https://www.cheddargetter.com/customers/get/productCode/COUPONSINDE...

am i doing something wrong?

API DOCS say:
Get a Single Customer

Get the customer data from the product with productCode=MY_PRODUCT_CODE for the customer with code=MY_CUSTOMER_CODE

Path

/customers/get/productCode/MY_PRODUCT_CODE/code/MY_CUSTOMER_CODE
  1. Support Staff 1 Posted by Marc Guyer on 23 Apr, 2011 10:41 PM

    Marc Guyer's Avatar

    There are a couple of problems here:

    1. CheddarGetter's id is not the same as the code.
      • The code you've set this customer up with is the same as the customer's email address. Folks usually use a code equal to the unique id for the customer in their system.
    2. When talking to the api, the path is [host]/xml/[path]/...

    Are you using a wrapper? If so, which one?

  2. Marc Guyer closed this discussion on 28 Apr, 2011 06:09 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