Create customer
customers.writeCreates a customer when the email is new. If the customer already exists, supplied non-blank profile fields update the existing customer before it is returned.
api.superfiliate.com/api/v1/customersBody parametersapplication/json
emailstringrequiredEmail address for this person.
first_namestringSingle-line name; whitespace is normalized before persistence. HTTP(S) URLs and control characters are rejected
last_namestringSingle-line name; whitespace is normalized before persistence. HTTP(S) URLs and control characters are rejected
instagram_handlestringThe instagram handle for this resource.
tiktok_handlestringThe tiktok handle for this resource.
phonestringPhone number for this person.
Responses
The customer. If the email already existed, the existing customer is returned unchanged.
idintegeremailstringEmail address for this person.
phonestring | nullPhone number for this person.
first_namestring | nullPerson's given name.
last_namestring | nullPerson's family name.
instagram_handlestring | nullThe instagram handle for this resource.
tiktok_handlestring | nullThe tiktok handle for this resource.
balancestringStore credit amount in wallet. Eg.
"12.3", meaning $12.30codestring | nullMay be blank if customer is not enrolled yet. Public, to share with friends/followers
microsite_urlstring | nullMay be blank if customer is not enrolled yet. Public, to share with friends/followers
reward_codestring | nullMay be blank if customer is not enrolled yet. Private, to redeem their wallet balance.
redeem_urlstring | nullMay be blank if customer is not enrolled yet. Private, to redeem their wallet balance.
campaign_idinteger | nullMay be blank if customer is not enrolled yet.
enrolled_atstring | nullISO8601 timestamp when customer was enrolled. May be blank if customer is not enrolled yet.
tagsarray of stringsCustomer tags added via the admin app