---
updatedAt: 2025-07-21T06:28:38.000Z
agentTools:
  projectIndex: https://rivhit-api.readme.io/llms.txt
---

# Customer.TypeList

### Get the Customer Type List

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Get the Customer Type List",
    "version": "1.0.0"
  },
  "paths": {
    "/online/RivhitOnlineAPI.svc/Customer.TypeList": {
      "post": {
        "summary": "Customer.TypeList",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "api_token": {
                    "type": "string",
                    "format": "uuid",
                    "example": "0279BF82-CD57-49BA-837C-930F0E2EB805",
                    "description": "Rivhit Merchant API Identifier.\n\n**Format:** `UUID`\n**Default:** No\n",
                    "nullable": false,
                    "deprecated": false
                  }
                },
                "required": [
                  "api_token"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error_code": {
                      "type": "integer",
                      "example": 0,
                      "description": "The Response Error/Status Number (0 = Success)"
                    },
                    "client_message": {
                      "type": "string",
                      "example": "",
                      "description": "The Client Error Message."
                    },
                    "debug_message": {
                      "type": "string",
                      "example": "",
                      "description": "The Response Error Message."
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "customer_type_list": {
                          "type": "array",
                          "description": "Customer Type List Array.",
                          "items": {
                            "type": "object",
                            "properties": {
                              "customer_type": {
                                "type": "integer",
                                "description": "The Customer Type Number (1, 20, 60)."
                              },
                              "customer_type_name": {
                                "type": "string",
                                "description": "The Customer Type Name. (Customers, Suppliers, Agents)."
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "example": {
                  "error_code": 0,
                  "client_message": "",
                  "debug_message": "",
                  "data": {
                    "customer_type_list": [
                      {
                        "customer_type": 0,
                        "customer_type_name": "כללי"
                      },
                      {
                        "customer_type": 1,
                        "customer_type_name": "לקוחות"
                      },
                      {
                        "customer_type": 20,
                        "customer_type_name": "ספקים"
                      },
                      {
                        "customer_type": 60,
                        "customer_type_name": "סוכנים"
                      }
                    ]
                  }
                }
              }
            }
          },
          "400": {
            "description": "Request Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "example": "Request Error"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error_code": {
                      "type": "integer",
                      "example": 500,
                      "description": "Error code of the response."
                    },
                    "client_message": {
                      "type": "string",
                      "description": "The Client Error Message."
                    },
                    "debug_message": {
                      "type": "string",
                      "description": "The Response Error Message."
                    },
                    "data": {
                      "type": "array",
                      "example": null,
                      "description": "The Data of the Error Message"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://api.rivhit.co.il/"
    }
  ]
}
```