Customers
Create a customer
Create a new customer record for the authenticated store.
post/v1/customers
Request body
Example request
{
"email": "john@example.com",
"name": "John Doe",
"metadata": {
"key": "value"
}
}Response
Successfully created the customer
Example response
{
"email": "user@example.com",
"name": "John Doe",
"metadata": {
"key": "value"
},
"country": "US",
"created_at": "2023-01-01T00:00:00Z",
"updated_at": "2023-01-01T00:00:00Z"
}