Customers
Update Customer
This endpoint updates an existing customer.
PUT
/v1/customers/:id
Bearer*
Body
sso_id
string
This is the sso_id of the customer
customer
object
This is the customer object.
Response
success
number
Indicates whether the call was successful. 1 if successful, 0 if not.
user_group
object
The contents of the user group
curl --location --request PUT 'https://api.stateset.com/v1/customers/:id' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": "string",
"email": "string",
"firstName": "string",
"lastName": "string",
"phone": "string",
"stripe_customer_id": "string",
"timestamp": "string",
"activationDate": "string"
}'
{
"id": "string",
"email": "string",
"firstName": "string",
"lastName": "string",
"phone": "string",
"stripe_customer_id": "string",
"timestamp": "string",
"activationDate": "string"
}
curl --location --request PUT 'https://api.stateset.com/v1/customers/:id' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": "string",
"email": "string",
"firstName": "string",
"lastName": "string",
"phone": "string",
"stripe_customer_id": "string",
"timestamp": "string",
"activationDate": "string"
}'
{
"id": "string",
"email": "string",
"firstName": "string",
"lastName": "string",
"phone": "string",
"stripe_customer_id": "string",
"timestamp": "string",
"activationDate": "string"
}