Creates new Customer.

​

Body·

required

Cancellation token to cancel the operation

  • Properties: 9
  • Properties: 2
  • the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z

  • Signed 64-bit integers (long type).

  • Possible values:

    • None = 0
    • Male = 1
    • Female = 2
    • Max = 3

Responses

  • application/json
Request Example for post/v1/customers
curl https://apiint.api.parpos.com/order/v1/customers \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'parpos-access-token: YOUR_SECRET_TOKEN' \
  --header 'parpos-location-token: YOUR_SECRET_TOKEN' \
  --data '{
  "AccountNumber": "1001011114",
  "Addresses": [
    {
      "Address1": "987 AnyStreet",
      "Address2": "Apt. 1",
      "City": "San Diego",
      "Country": "USA",
      "Company": "ParTech",
      "Id": 1,
      "Notes": "This is a test user",
      "PostalCode": "92127",
      "State": "CA"
    }
  ],
  "Attributes": [
    {
      "AttributeId": 640227226,
      "Value": "Yes"
    }
  ],
  "BirthDate": "2001-05-07T06:53:51.8760526+00:00",
  "EmailAddress": "test1@partech.com",
  "EmailAddressVerified": false,
  "EmailOptIn": true,
  "FirstName": "CustomerFirstName",
  "Id": "00000000-0000-0000-0000-000000000000",
  "IsDisabled": false,
  "FirstOrderId": 0,
  "Gender": 1,
  "LastEditTime": "2025-11-07T06:53:51.8760547+00:00",
  "LastName": "Testing",
  "LastVisit": "2026-05-07T06:53:51.8760551+00:00",
  "Password": "***",
  "PhoneNumbers": [
    {
      "AreaCode": "858",
      "Extension": "125",
      "Id": 1,
      "Number": "5559778"
    }
  ],
  "PostalOptIn": true,
  "PreferredAddressId": 0,
  "PreferredLocationId": 0,
  "PreferredPhoneNumberId": 0,
  "RegistrationTime": "2025-11-07T06:53:51.8760562+00:00",
  "SignupEmployeeId": 4007868,
  "SignupLocationId": 1,
  "SignupTime": "2025-11-07T06:53:51.8760566+00:00",
  "TextOptIn": true,
  "TotalSpent": 15.25,
  "VisitCount": 2
}'
Success
{
  "Data": "145149d4-73e7-4419-b5c9-33c950fe26f3"
}