Create a Vendor Address Point - createSellerAddressPoint()
Create a Vendor Address Point
The createSellerAddressPoint()
method on the Horoz Logistics E-Export Integration Webservice is used to specify from which point of the seller the products to be used in order entry will be taken when the order is selected to be taken from the address. This may be used in two manners. It may be entered through Horoz portal, or such information may be transferred by the client by using this method. The need to use such information will be activated in the event that the products are received from the address during the order entry.
The options entered here are selected by the seller, and the product reception address is forwarded to the carrier. This method has a singularity in the departure points owned by the seller based on the sellerAddressPoint information. No multiple records with the same sellerAddressPoint information may not be created. The seller address city and county information, which will be used in this method, must be created with the records available in the listCounties method. Any request, which contain any information other than such records, will not be recorded in the system with error warnings. The createSellerAddressPoint()
method is an E-Export web service method that allows the client to define the seller departure points from which the orders will be placed in the Horoz system.
-
createSellerAddressPoint()
method is aRESFtul
web service method that receives data inJSON
format withPOST
method. -
When sending seller address point information to the Horoz system with the
createSellerAddressPoint()
method, the information must be passed in the body part of the method inJSON
data type. The processKey of the client must be passed to the header of the method in parameter type. The submission made with thecreateSellerAddressPoint()
method must be encoded as UTF-8 and transmitted to the Horoz Logistics E-Export Integration Web service. -
The
createSellerAddressPoint()
method is an E-Export web service method that allows the client to define the seller exit points for which an order will be created in the Horoz system to the Horoz system. -
For clients that will be included in the Horoz Lojistijk E-Export Integration, it is essential to define the seller exit points before order creation.
-
createSellerAddressPoint()
method as parameter; sellerAddressPoint, sellerAddressCity, sellerAddressCounty, sellerAddress, sellerAddress, sellerAddressPostCode, sellerAddressPhone1, sellerAddressPhone2,sellerAddressEmailAddress, sellerAddressOfficialPerson values inJSON
format asPOST
method. -
The method returns sellerAddressPointId, responseCode and responseMessage to the client in return, indicating the success/failure of the registration. In the response of the exit location creation method, the ID for the created exit location record is added. This ID is expected to be used in the exit location update method.
POST createSellerAddressPoint()
Parameter Descriptions & Rules
The following table shows the input and output parameters of the createSellerAddressPoint()
operation and their
The types and formats of the parameters are listed.
- Fields
- Example Request
- Example Response
PARAMETER | DESCRIPTION | DATA TYPE | LENGTH | FIELD LOCATION | REQUIRMENT |
---|---|---|---|---|---|
processKey | processKey information defined for the client | string | 100 | Header | Mandatory |
sellerAddressPoint | Seller departure point name | string | 30 | inBody Request | Mandatory |
sellerAddressCity | Seller departure point city | string | 100 | inBody Request | Mandatory |
sellerAddressCounty | Seller departure point county | string | 100 | inBody Request | Mandatory |
sellerAddress | Seller departure point address | string | 500 | inBody Request | Mandatory |
sellerAddressPostCode | Seller departure point post code | string | 20 | inBody Request | Mandatory |
sellerAddressPhone1 | Seller departure point phone1 | string | 20 | inBody Request | Mandatory |
sellerAddressPhone2 | Seller departure point phone2 | string | 20 | inBody Request | Optional |
sellerAddressEmailAddress | Seller departure point e-mail address | string | 100 | inBody Request | Mandatory |
sellerAddressOfficialPerson | Seller departure point official person | string | 100 | inBody Request | Mandatory |
{
"sellerAddressPoint": "TRAKYA ÇIKIŞ NOKTASI",
"sellerAddressCity": "EDİRNE",
"sellerAddressCounty": "MERKEZ",
"sellerAddress": "SEMİHAAYVERDİ MAHALLESİ, KAYIK SOKAK, NO:42 EDİRNE/MERKEZ",
"sellerAddressPostCode": "98745",
"sellerAddressPhone1": "05512698745",
"sellerAddressPhone2": null,
"sellerAddressEmailAddress": "trakya@trakya.com",
"sellerAddressOfficialPerson": "ALİ UÇAR"
}
{
"response": {
"responseCode": "STA-100",
"responseMessage": "Basarili",
"createSellerAddressResponse": [
{
"sellerAddressPointId": 123
}
]
}
}
Service Responses
You can access the successful/unsuccessful service responses here.