POST api2/customers.json

Create a customer

Request Information

URI Parameters

None.

Body Parameters

api_root
NameDescriptionTypeAdditional information
customer

OrderCustomers

None.

Request Format

{
  "customer": {
    "group_member_of": [
      {
        "id": 1,
        "organisation": "sample string 2",
        "email": "sample string 3",
        "expire_at": "2024-04-26T04:37:22.052231+02:00",
        "group_id": 1,
        "valid": true,
        "created_at": "2024-04-26T04:37:22.052231+02:00",
        "confirmed": true,
        "disabled": true,
        "invited": true,
        "custom_data_1": "sample string 4",
        "authentication": 64,
        "allowed_concurrent_users": 1,
        "monthly_cost": 1
      },
      {
        "id": 1,
        "organisation": "sample string 2",
        "email": "sample string 3",
        "expire_at": "2024-04-26T04:37:22.052231+02:00",
        "group_id": 1,
        "valid": true,
        "created_at": "2024-04-26T04:37:22.052231+02:00",
        "confirmed": true,
        "disabled": true,
        "invited": true,
        "custom_data_1": "sample string 4",
        "authentication": 64,
        "allowed_concurrent_users": 1,
        "monthly_cost": 1
      }
    ],
    "language": "en",
    "country": null,
    "country_name": null,
    "country_code": null,
    "default": true,
    "province_code": null,
    "province": null,
    "name": "sample string 10 sample string 11",
    "first_name": "sample string 10",
    "last_name": "sample string 11",
    "company": "sample string 12",
    "address1": "sample string 13",
    "address2": "sample string 14",
    "zip": "sample string 15",
    "city": "sample string 16",
    "email": "sample string 17",
    "phone": "sample string 18",
    "password": "sample string 19",
    "title": 1,
    "token": "sample string 20",
    "password_option": 64,
    "player_refresh_token": "sample string 21",
    "player_token_expires": "2024-04-26T04:37:22.052231+02:00",
    "modified_by": 1
  }
}

Response Information

Resource Description

created customer

api_root
NameDescriptionTypeAdditional information
customer

OrderCustomers

None.

Response Format

{
  "customer": {
    "id": 1,
    "group_member_of": [
      {
        "id": 1,
        "organisation": "sample string 2",
        "email": "sample string 3",
        "expire_at": "2024-04-26T04:37:22.2866024+02:00",
        "group_id": 1,
        "valid": true,
        "created_at": "2024-04-26T04:37:22.2866024+02:00",
        "confirmed": true,
        "disabled": true,
        "invited": true,
        "custom_data_1": "sample string 4",
        "authentication": 64,
        "allowed_concurrent_users": 1,
        "monthly_cost": 1
      },
      {
        "id": 1,
        "organisation": "sample string 2",
        "email": "sample string 3",
        "expire_at": "2024-04-26T04:37:22.2866024+02:00",
        "group_id": 1,
        "valid": true,
        "created_at": "2024-04-26T04:37:22.2866024+02:00",
        "confirmed": true,
        "disabled": true,
        "invited": true,
        "custom_data_1": "sample string 4",
        "authentication": 64,
        "allowed_concurrent_users": 1,
        "monthly_cost": 1
      }
    ],
    "language": "en",
    "country": null,
    "country_name": null,
    "country_code": null,
    "default": true,
    "province_code": null,
    "province": null,
    "name": "sample string 10 sample string 11",
    "first_name": "sample string 10",
    "last_name": "sample string 11",
    "company": "sample string 12",
    "address1": "sample string 13",
    "address2": "sample string 14",
    "zip": "sample string 15",
    "city": "sample string 16",
    "email": "sample string 17",
    "phone": "sample string 18",
    "password": "sample string 19",
    "title": 1,
    "token": "sample string 20",
    "password_option": 64,
    "player_refresh_token": "sample string 21",
    "player_token_expires": "2024-04-26T04:37:22.2866024+02:00",
    "modified_by": 1
  }
}