cURL
curl --request POST \ --url https://api.stan-app.fr/v1/customers \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data '{ "name": "<string>", "email": "jsmith@example.com", "address": { "firstname": "<string>", "lastname": "<string>", "street_address": "<string>", "street_address_line2": "<string>", "locality": "<string>", "zip_code": "<string>", "country": "<string>", "region": "<string>" }, "phone_number": "<string>" }'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "email": "jsmith@example.com", "phone_number": "<string>", "address": { "firstname": "<string>", "lastname": "<string>", "street_address": "<string>", "street_address_line2": "<string>", "locality": "<string>", "zip_code": "<string>", "country": "<string>", "region": "<string>" } }
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
Successful operation
The response is of type object.
object