Customer

Create/Update customer

Creates of updates customer for current authenticated merchant

post/public/customer

Request

  • Base URL: https://api.omno.com
  • URL: https://api.omno.com/public/customer
  • Auth: none declared

Request body

externalUserIdstring required

Your defined unique identifier for this customer.

firstNamestring

Customer first name

lastNamestring

Customer last name

emailstring

Customer email

phoneNumberstring

Customer phone number

dateOfBirthstring date

Customer date of birth

userNamestring

Customer user name

Example request

{
  "externalUserId": "123456789",
  "firstName": "John",
  "lastName": "Doe",
  "email": "john.doe@example.com",
  "phoneNumber": "1 1234567890",
  "dateOfBirth": "1990-12-01",
  "billing": {
    "address": "123 Main St",
    "city": "Atlanta",
    "state": "GA",
    "countryCode": "US",
    "postalCode": "30308"
  },
  "userName": "john123"
}

Response

Customer created

idstring required

Customer ID

firstNamestring required

Customer first name

lastNamestring required

Customer last name

externalUserIdstring required

Customer external User ID (merchant specified)

merchantIdstring required

Merchant ID associated with the customer

emailstring required

Customer email

phoneNumberstring required

Customer phone number

dateOfBirthstring required

Customer date of birth in format (YYYY-MM-DD)c

userNamestring

Customer user name

Example response

{
  "id": "123456789",
  "firstName": "John",
  "lastName": "Doe",
  "externalUserId": "123456789",
  "merchantId": "123456789",
  "email": "john.doe@example.com",
  "phoneNumber": "1 1234567890",
  "dateOfBirth": "1990-12-01",
  "userName": "john123"
}

Changes

No recorded changes to this operation across all 1 revision of this API.