Customer Transfer (createCustomer)
Customer Transfer
When uploading your customers to the Horoz system, the createCustomer()
method is used. It supports both single and multiple customer submissions.
- Before performing customer transfer with this method, details regarding Horoz Parametric Feature information must be communicated to Horoz Logistics.
- The maximum number of customers that can be sent in a single request is 1,000.
- The "customerNumber ” field in the Transfer Customer service is used for the customer information to which the order belongs. Orders without customer code cannot be sent.
POST createCustomer
Use
Parameter Descriptions & Rules
The table below lists the input and output parameters of the createCustomer()
operation, along with their types and formats.
- Fields
- Example Services Request
- Example Response
Parameter | Mandatory | Description | Data Type |
---|---|---|---|
customerNumber | Yes | Customer Number | string |
title | No | Customer Title | string |
shortTitle | No | Customer Short Title | string |
address | No | Customer Address | string |
county | No | Customer County | string |
city | No | Customer City | string |
postCode | No | Customer Postal Code | string |
country | No | Customer Country Code (ISO 3166) | string |
phoneNumber | No | Customer Phone Number | string |
faxNumber | No | Customer Fax Number | string |
email | No | Customer Email Address | string |
taxOffice | No | Customer Tax Office | string |
taxNumber | No | Customer Tax Number | string |
category | No | Customer Category Information | string |
dataTransferInfo | No | Data Transfer Information | string |
Parameter | No | Parameter Fields Information | BaseParameterDto |
{
"processKey": "A1389BF5246943ED8F40DEF725E0EE84",
"customerList": [
{
"customerNumber": "HRZ001",
"title": "HOROZ LOJİSTİK KARGO HİZMETLERİ VE TİC. A.Ş.",
"shortTitle": "Horoz Lojistik",
"address": "Mahmutbey Mahallesi Taşocağı Yolu 2538. Sokak Kısık Plaza Kat:1 No:6",
"county": "Bağcılar",
"city": "İstanbul",
"postCode": "34218",
"country": "TR",
"phoneNumber": "+90 212 456 10 00 ",
"faxNumber": "+90 212 456 14 53 ",
"email": "info@horoz.com.tr",
"taxOffice": "BÜYÜK MÜKELLEFLER",
"taxNumber": "4630097122",
"category": "B2B",
"dataTransferInfo": "",
"parameter01": "Yurtiçi",
.
.
"parameter50": "string"
}
]
}
{
"result": "0",
"errorCode": "",
"systemMessage": ""
}
Services Response
result | errorCode | systemMessage | Description |
---|---|---|---|
1 | Customer records created successfully. | Customer information has been successfully transferred to the Horoz system. | |
0 | 101 | An error occurred! | Error messages for customer submission are displayed. |