Create customerAsk AIpost https://example.com/customers/private/v1/customersThe API allows to create new customer in the systemBody ParamsCreated customer objectuidstringCustomer ID for the new customeremailstringEmail address of the new customercustomernamestringCustomername of the new customerfirstNamestringFirst name of the new customerlastNamestringLast name of the new customerphoneNumberstringPhone number of the new customerisCorporatebooleanFlag indicating if the customer is a corporate customertruefalseroleNamestringRole name of the new customerparentIdstringID of the parent customerstatusstringStatus of the new customercustomerGroupobjectcustomerGroup objectcustomerGroupIdnumberID of the customer groupcreatedAtstringDate and time when the customer was createdupdatedAtstringDate and time when the customer was last updatedlastLoginAtstringDate and time of the customer's last loginlastActedActstringLast action performed by the customerlastLoginIpstringIP address of the customer's last loginchallengeNamestringenumThis information indicates that the customer should do something. For example if the value is equal 'new_password_required' it means the customer should change own password.new_password_requiredAllowed:new_password_requiredblockedUntilstringDate and time until which the customer is blockedisPhoneConfirmedbooleanFlag indicating if the customer's phone number is confirmedtruefalseisEmailConfirmedbooleanFlag indicating if the customer's email address is confirmedtruefalsecompanyDetailsobjectcompanyDetails objectcompanyIdintegerID of the customer's companyphysicalAddressesarray of objectsArray of physical addresses associated with the customerphysicalAddressesADD objectmailingAddressesarray of objectsArray of mailing addresses associated with the customermailingAddressesADD objectclassIdintegerID of the customer's classdateOfBirthstringDate of birth of the customerdocumentTypestringType of document associated with the customerdocumentPersonalIdstringPersonal ID document of the customerinternalNotesstringinternal notes left by the adminpositionstringcustomer's positionResponses 201Created 401Unauthorized 403Forbidden 409Conflict 422Unprocessable Entity 500Internal Server ErrorUpdated 7 months ago