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 using this method for customer transfer, details regarding Horoz Parametric Feature information must be communicated to Horoz Logistics.
- The maximum number of customers that can be sent in each request is 1,000.
- The "customerNumber" field in the Customer Transfer service is used for the customer information associated with the order. Orders cannot be sent with undefined customer numbers.
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 |
---|---|---|---|
processKey | Yes | Information provided to you for processKey | string |
customerList | Yes | Customer Information Section | string |
{
"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": ""
}
CustomerList
- Fields
Parameter | Mandatory | Description | Data Type |
---|---|---|---|
customerNumber | Yes | Customer Number | string |
title | Yes | 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 |
Parameters | No | Parametric Field Information | string) |
Services Response
result | errorCode | systemMessage | Description |
---|---|---|---|
1 | Customer records have been successfully created. | Customer information sent to the Horoz system has been successfully transferred. | |
0 | 101 | An error occurred! | Error messages for customer submission are displayed. |