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
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.
Square Community
Square Products