x

Retrieving a customer ID with python

I'm using the Python API to create a customer intake form for our system. My goal is to create a customer using fields input by users, and then edit custom customer attribute fields for their profile. 


What is working: Creating a customer using input fields

What is not working: Retrieving their customer ID for use in the upsert_customer_custom_attribute command

142 Views
Message 1 of 2
Report
1 REPLY 1
Square Champion

@bluesteel ;

As I see this i your first post welcome to the sellers community forum.

 

The Customer ID field is one you assign to a customer, Square does not assign this field for your customer.

 

So when you say its not working, does the customer have a Refrence ID in Square?

 

Try putting the customers phone # in for their Refrence ID and then see if your Python API is working.  

 

If I goto to my customers directory in Square : https://app.squareup.com/dashboard/customers/directory ;

The refrence ID is blank, maybe that is your problem too.

 

The Refrence ID is not autopopulated by Square.

Keith
Owner
Pocono Candle

Mark as Best Answer if this Helped you solve an issue or give it a thumbs up if you like the answer.
Square Support Number 855-700-6000.
Make Sure App and OS is up to date on your Device.
111 Views
Message 2 of 2
Report