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": "[email protected]", "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": "[email protected]", "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
Customer fullname
Show child attributes
Successful operation