Creating a new customer
POST {{api_url}}/customer/{{tenant}}/signup
Creates a new customer account.
Note: The request needs to be authorized with an anonymous access token.
Required scopes
No specific scopes are required.
Request Body
{"email"=>"{{real_email_address}}", "password"=>"UNSAFE_PASSWORD", "customerDetails"=>{"title"=>"MR", "firstName"=>"John", "middleName"=>"", "lastName"=>"Doe", "contactEmail"=>"{{real_email_address}}", "contactPhone"=>"123456789", "company"=>"Emporix", "preferredLanguage"=>"de_DE", "preferredCurrency"=>"EUR", "preferredSite"=>"main"}, "customerAddress"=>{"contactName"=>"John Doe", "companyName"=>"Emporix", "street"=>"Platz der Republik", "streetNumber"=>"1", "streetAppendix"=>"", "extraLine1"=>"", "extraLine2"=>"", "extraLine3"=>"", "extraLine4"=>"", "zipCode"=>"11011", "city"=>"Berlin", "country"=>"DE", "state"=>"Berlin", "contactPhone"=>"123456789", "tags"=>["BILLING", "SHIPPING"]}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
hybris-session-id | string |
RESPONSES
status: Created
{"id":"13730481","link":"https://saas-ag-prod.apigee.net/caas-customer/{{tenant}}/me"}