PUT /shoppers/:id

Use this method to update currently stored attributes about a shopper.

put
Shopper

https://app.fera.ai/api/v2/shoppers/:id
This endpoint updates the currently stored attributes about the current shopper
Request
Response
Path Parameters
id
required
string
ID token of the shopper
Query Parameters
public_key
required
string
Your public key found in your store settings API tab.
200: OK
Shopper found.
{
customer_id: "customer-123",
name: "John Doe",
email: "john.doe@example.com",
country_code: "US",
region_name: "California",
city_name: "Orange County",
zip: "78730",
// These are custom attributes:
favorite_color: "red",
shirt_size: "medium"
}
404: Not Found
Could not find a cake matching this query.
{
"message": "Shopper not found"
}