How to integrate HU FoxPost Box
FoxPost is an external carrier providing PUDO (pick-up/drop-off) delivery.
This guide shows how to integrate FoxPost boxes through Packeta. You'll learn how to retrieve available pickup points, let customers select a destination, create packets, generate carrier labels, and consume tracking updates.
Once implemented, the same approach can be reused for other external carriers by changing the carrier and pickup point IDs.
Prerequisites
Before you can start sending packets with Packeta, you need:
- an approved Packeta account
- enabled delivery options in your client section
- API credentials - required for plugins and API integrations
Integration overview
- Obtain the carrier ID
- Select the destination
- Create the packet
- Obtain the carrier number and label
- Consume external tracking (optional)
Obtain the carrier ID
First, obtain the FoxPost carrierID.
You can obtain the carrier ID in one of the following ways:
- Find it in the Client section → Post parcel

- Retrieve it through carrier list
Carrier list data structure
- JSON
{
{
"id": "32970", // ID you are looking for
"name": "HU FoxPost Box",
"available": "true",
"pickupPoints": "true",
"apiAllowed": "true",
"separateHouseNumber": "false",
"customsDeclarations": "false",
"requiresEmail": "true",
"requiresPhone": "true",
"requiresSize": "false",
"disallowsCod": "false",
"country": "hu",
"currency": "HUF",
"maxWeight": "30",
"labelRouting": "H10-***-32970",
"labelName": "HU FoxPost Box"
},
{...}
}
Select the destination
To provide your customers available pick-up points, you have two options:
- Use Packeta widget (map-based tool)
- Integrate Packeta feeds (data-based source)
Widget
The easiest way to implement pick-up point selection is using the Packeta Widget. It's a ready-to-use solution you can embed to your checkout.
Advantages:
- fast implementation
- minimal customization required
See implementation detail in the widget documentation.
Once you implemented the widget into your solution, you can specify if and which external carriers should be shown for each country using the vendors attribute.
The example below shows how to limit carriers shown in Hungary to FoxPost.
const packetaOptions = {
vendors: [
{
country: "hu",
carrierId: "32970" // HU FoxPost Box carrier ID
}
]
};
You can test different configuration options in our Widget configurator.
Feed integration
If you want to build your own pick-up point selector, you can use our data feeds and work directly with raw location data.
Use feeds if:
- you want full control over the user interface
- you are building a custom front-end solution
- you need to customize how locations are displayed or filtered
The external carrier pick-up points are in the Carrier PUDO feed. To view only FoxPost Boxes use the ids attribute: https://pickup-point.api.packeta.com/v5/__API_KEY__/carrier_point/json?ids[]=32970.
Implement the feed using the available guide.
Once you downloaded the feed, please make sure to respect attribute "displayFrontend": 1. It shows whether the carrier pick-up point is available to end customer. If value is 1 that means you can allow selection of this point.
Carrier PUDO feed data structure
- JSON
{
"carriers": [
{
"id": 32970,
"name": "HU Fox Post Box",
"points": [
{
"code": "hu5162", // code you are looking for
"coordinates": {
"latitude": "47.399867",
"longitude": "19.259464"
},
"street": "Erzsébet tér 4.",
"streetNumber": "",
"city": "Vecsés",
"zip": "2220",
"country": "HU",
"payment": "Card only",
"displayFrontend": 1 // respect this attribute
},
...
]
}
]
}
For your front-end implementation, we provide the FoxPost logo that you are free to use in your project.
Create packet
Let’s say your customer selected packet destination to be FoxPost box with code hu5162.
Creating packet in Packeta system by using carrier PUDO service is a little different from using only Packeta services, yet it is still very simple. You still use createPacket() method with only slight adjustment - instead of filling <addressId> with FoxPost box code, you will fill carrierID instead.
FoxPost box code is then filled in <carrierPickupPoint> attribute.
- Request
- Response
<createPacket>
<apiPassword>{{API_PASSWORD}}</apiPassword>
<packetAttributes>
<number>EshopOrderNumber</number>
<name>John</name>
<surname>Doe</surname>
<email>john.doe@example.com</email>
<phone>36701111111</phone>
<addressId>32970</addressId> // FoxPost carrier ID
<value>500</value>
<currency>HUF</currency>
<weight>2</weight>
<eshop>test</eshop>
<carrierPickupPoint>hu5162</carrierPickupPoint> // FoxPost point code
<note>Note on label</note>
</packetAttributes>
</createPacket>
<response>
<status>ok</status>
<result>
<id>1927098495</id>
<barcode>Z4203422860</barcode>
<barcodeText>Z 420 3422 860</barcodeText>
</result>
</response>
Carriers' validations
Please note that many carriers have their own specific validations. FoxPost requires phone number as well as email, but does not require size of the packet. To see full list of carriers restrictions, please see carriers' validation.
Obtain carrier label
When you use external carrier service, you also have to use carrier label - so-called direct label. This label is generated in carrier system and is provided to you through Packeta API.
Request carrier number
Before you can print carrier labels, the courier number must first be obtained. This is essentially the packet's identification number within the carrier's system.
Both methods respond with same carrier number, but V2 have response little extended over the carrier ID and carrier name.
- Request
- Response
<packetCourierNumber>
<apiPassword>{{API_PASSWORD}}</apiPassword>
<packetId>Z4203422860</packetId>
</packetCourierNumber>
<response>
<status>ok</status>
<result>CLFOX176821524885947</result>
</response>
Request carrier label
Once you have carrier number, you can request carrier label using any method below:
Like Packeta labels, PDF and PNG labels are provided in base64 encoded form, and thus require decoding.
- Request
- Response
<packetCourierLabelPdf>
<apiPassword>{{API_PASSWORD}}</apiPassword>
<packetId>Z4203422860</packetId>
<courierNumber>CLFOX176821524885947</courierNumber>
</packetCourierLabelPdf>
<response>
<status>ok</status>
<result>JVBERi0xLjcKJeLjz9MKNSAwIG9iago8PC.......</result>
</response>
FoxPost label
On success and after decoding, you can confirm correct process by having label like below. Good job! :)

Processing the packet in your systems
For further processing in your internal systems use API method packetInfo(). It provides essential packet details used for tracking, verification, and system synchronization.
The values in courierNumber, courierBarcodes
and courierTrackingNumbers can differ, because the carrier can use different identifiers for label, internal processing and tracking.
See an example with explanation below.
<response>
<status>ok</status>
<result>
<branchId>32970</branchId>
<courierInfo>
<courierInfoItem>
<courierId>32970</courierId>
<courierName>HU FoxPost Box</courierName>
<courierNumbers>
<courierNumber>CLFOX176821524885947</courierNumber>
<!-- FoxPost packet ID -->
</courierNumbers>
<courierBarcodes>
<courierBarcode>Z4203422860</courierBarcode>
<!-- Displays the barcode value printed on the label -->
</courierBarcodes>
<courierTrackingNumbers>
<courierTrackingNumber>CLFOX176821524885947</courierTrackingNumber>
<!-- FoxPost tracking number for the packet -->
</courierTrackingNumbers>
</courierInfoItem>
</courierInfo>
</result>
</response>
External tracking
Packeta provide you with two types of tracking
- Packeta tracking
- External tracking (events provided by external carrier)
When packet is physically submitted into carrier network, Packeta tracking ends with statusCode: 6 - handed to carrier (status codes) and future tracking details are available from carrier tracking..
Once the packet is delivered or returned, this information is also visible in Packeta tracking, so implementing external tracking can be considered as a valuable enhancement to provide extra detail and transparency for your customers.
- Example of successful delivery: Z1906917004
- Example of a return packet: Z1594282914
If you want to track the first delivery attempt made by an external carrier, it is also visible in packetTracking() and packetStatus(). This allows you to monitor service quality without needing the external tracking extension. The status code is 25, see list of status codes.
Shoptet guide
To get started with Packeta+ plugin in Shoptet, follow the user guide. The setup process is the same for all carriers. The only difference is the carrier configuration described below.
Carrier setup
Key fields to configure:
- Shipping Company: Select Packeta+
- Shipping Service: Select HU FoxPost Box

Once saved, you will see the Pricelist appear. Add Hungary's pricing details at the bottom of the page by setting the desired shipping price.
Final Result
Your e-shop’s checkout process will now include HU FoxPost Boxes as a selectable option for your customers.
Didn't find what you're looking for? Reach out to our integration support team at integrations@packeta.com.



