v1
latestSwagger 2.02026-07-17148179252.3 KBCustomers
Create Customers
Creates Customers. Multiple customers can be created in one call. Required Fields
- last_name
- first_name
- email Required Fields Customer Address
- first_name
- city
- country_code
- state_or_province
- last_name
- address1
- postal_code Required Fields Attributes
- Attributes must be created BEFORE creating a customer.
- attribute_id
- attribute_value -- This is input as a string, regardless of the Type.
post/customers
Request body
Example request
[
{
"addresses": [
{
"address1": "Addr 1",
"address2": "",
"address_type": "residential",
"city": "San Francisco",
"company": "History",
"country_code": "US",
"first_name": "Ronald",
"last_name": "Swimmer",
"phone": "707070707",
"postal_code": "33333",
"state_or_province": "California"
}
],
"attributes": [
{
"attribute_id": 55,
"value": "string value"
}
],
"store_credit_amounts": [
{
"amount": 43.18
}
]
}
]Response
OK
Example response
{
"data": [
{
"authentication": {
"force_password_reset": true
},
"addresses": [
{
"address_type": "residential"
}
],
"store_credit_amounts": [
{
"amount": 43.18
}
]
}
]
}