Skip to main content

Selection of Collection Points - selectCollectionPoints()

Selection of Collection Points

The selectCollectionPoints() method on the Horoz Logistics E-Export Integration is designed to determine the collection address where the product will be brought if the purchase type is Self-Brought in the orders sent to Horoz. The information contained in the order can be passed to the request field to determine which collection point the product will be brought to for the relevant order. Important information about the selectCollectionPoints() method and things to be considered are listed below for the information of the clients.

  • selectCollectionPoints() method is a RESFtul web service method that receives data in JSON format with POST method.

  • With the selectCollectionPoints() method, the information should be passed to the body part of the method in the JSON data type when determining the collection address where the product will be brought in case the collection type is Self-Brought in the Horoz Logistics system. The processKey of the client must be passed to the header of the method as a parameter type. The submission made with the selectCollectionPoints() method must be encoded as UTF-8 and transmitted to the Horoz Logistics E-Export Integration Web service.

  • The selectCollectionPoints() method returns to the client the information about the collection address where orders with reception type ItWillBring (receptionType: itWillBring) should be called by the client before order entry.

  • The selectCollectionPoints() method accepts the following parameters in JSON format via a POST request: recipientCountryName, paymentMethod, recepientType, and transportType.

  • In response, the method returns responseCode and responseMessage to indicate the success or failure of the operation. Additionally, it provides collectionPointId, address, country, city, county, postCode, officialPerson, phone, and email information to notify the client about the collection point that should be used when creating an order.

  • The selectCollectionPoints() method always returns information about a suitable collection point to the client based on the information provided in the request and the validity of that information.


POST selectCollectionPoints()

Parameter Descriptions & Rules

The following table shows the input and output parameters of the selectCollectionPoints() operation and their The types and formats of the parameters are listed.

PARAMETERDESCRIPTIONDATA TYPELENGTHFIELD LOCATIONREQUIRMENT
processKeyprocessKey information defined for the clientstring100HeaderMandatory
recipientCountryNameRecipient country namestring100inBody RequestMandatory
paymentMethodPayment type (mandatory when transportType is “airWay”)string50inBody RequestMandatory
recipientTypeReception type (mandatory when transportType is “airWay”)string50inBody RequestMandatory
transportTypeTransport typestring50inBody RequestMandatory

Any further information about the enum values expected in the selectCollectionPoints() method is provided as follows.

ENUM FIELDFIELD NAMEDESCRIPTION
paymentMethodPayment typeThe payment type may be reported by entering the appropriate value for the selection from one of the values of economy and express. (economy : economy, express : express)
recipientTypeRecipient typeThe reception type may be reported by entering the appropriate value for the selection from one of the values of B2B and B2C.
transportTypeTransport typeThe transport type may be reported by entering the appropriate value for the selection from one of the values of road and airWay. (road : road, airWay : airway)

Service Responses

You can access the successful/unsuccessful service responses here.