Update Seller Address Point - updateSellerAddressPoint()
Update Seller Address Point
The updateSellerAddressPoint()
method, available in the Horoz Logistics E-Export Integration, is used to update the departure point information defined in the Horoz Logistics system. This method specifies the departure point of the seller for orders where the products will be picked up from the address. Below is a list of important information and considerations for updating the seller's departure point address in the Horoz system using the updateSellerAddressPoint()
method.
-
The
updateSellerAddressPoint()
method is aRESTful
web service method that accepts data inJSON
format via thePOST
method. -
While updating the departure point information of the seller in the Horoz system, the related information should be included in the body section in
JSON
format, and the processKey information should be sent as a parameter in the header. Requests should be encoded as UTF-8 and submitted to the Horoz Logistics E-Export Integration Web Service. -
The
sellerAddressPoint
information is unique among the departure points owned by the seller within this method. -
It is not possible to create multiple records with the same sellerAddressPoint. Updates can only be performed using the sellerAddressPointId information.
-
The city and district information of the seller's address used in this method should be created using the records from the
listCounties()
method. Requests containing information outside of these records will result in errors and will not be recorded in the system. -
The
updateSellerAddressPoint()
method is an E-Export web service method that enables updating the seller's departure points, which were previously created using thecreateSellerAddressPoint
method. -
The
updateSellerAddressPoint()
method accepts the following parameters inJSON
format via thePOST
method: sellerAddressPointId, sellerAddressPoint, sellerAddressCity, sellerAddressCounty, sellerAddress, sellerAddressPostCode, sellerAddressPhone1, sellerAddressPhone2, sellerAddressEmailAddress, and sellerAddressOfficialPerson. -
In response, the method returns sellerAddressPointId, responseCode, and responseMessage to inform the client about the success or failure of the operation. If the sellerAddressPoint is updated, the updated departure point information will apply to new orders.
POST updateSellerAddressPoint()
Parameter Descriptions & Rules
The table below lists the input and output parameters of the updateSellerAddressPoint()
operation along with their types and formats.
- Fields
- Example Request
- Example Response
PARAMETER | DESCRIPTION | DATA TYPE | LENGTH | FIELD LOCATION | REQUIRMENT |
---|---|---|---|---|---|
processKey | processKey information defined for the client | string | 100 | Header | Mandatory |
sellerAddressPointId | Seller departure point ID | Integer | - | inBody Request | 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 district | string | 100 | inBody Request | Mandatory |
sellerAddress | Seller departure point address | string | 500 | inBody Request | Mandatory |
sellerAddressPostCode | Seller departure point postal code | string | 20 | inBody Request | Mandatory |
sellerAddressPhone1 | Seller departure point phone 1 | string | 20 | inBody Request | Mandatory |
sellerAddressPhone2 | Seller departure point phone 2 | string | 20 | inBody Request | Optional |
sellerAddressEmailAddress | Seller departure point email address | string | 100 | inBody Request | Mandatory |
sellerAddressOfficialPerson | Seller departure point authorized person | string | 100 | inBody Request | Mandatory |
{
"sellerAddressPointId": 142,
"sellerAddressPoint": "TEKİRDAĞ ÇIKIŞ NOKTASI",
"sellerAddressCity": "TEKİRDAĞ",
"sellerAddressCounty": "ÇORLU",
"sellerAddress": "KARLITEPE MAHALLESİ, ATİLLA SOKAK, NO:4 TEKİRDAĞ/ÇORLU",
"sellerAddressPostCode": "595959",
"sellerAddressPhone1": "05512698745",
"sellerAddressPhone2": null,
"sellerAddressEmailAddress": "tekirdag@tekirdag.com",
"sellerAddressOfficialPerson": "MEHMET ÖZTÜRK"
}
{
"response": {
"responseCode": "STA-100",
"responseMessage": "Basarili",
"updateSellerAddressResponse": [
{
"sellerAddressPointId": 142
}
]
}
}
Service Responses
You can access the successful/unsuccessful service responses here.