PostNL icon

PostNL

Interact with PostNL API

Overview

This node interacts with the PostNL API to retrieve detailed information about a specific pickup location based on a provided location code. It is useful in scenarios where you need to fetch data about PostNL pickup points, for example, to display available pickup locations to customers or validate a location code before processing shipments.

A practical example would be an e-commerce workflow that, upon receiving a customer's selected pickup location code, uses this node to get the full details of that location (address, opening hours, etc.) to confirm availability or provide additional information.

Properties

Name Meaning
Location Code The unique identifier code of the pickup location to retrieve information for.

Output

The node outputs JSON data containing the details of the requested pickup location. This typically includes fields such as the location's address, contact information, and operational details as returned by the PostNL API.

No binary data output is produced by this node.

Dependencies

  • Requires an API key credential for authenticating with the PostNL API.
  • The node expects the base URL of the PostNL API environment to be configured in the credentials.
  • The node sends requests with headers specifying JSON content type and acceptance.

Troubleshooting

  • Missing or invalid Location Code: Ensure the "Location Code" property is provided and correctly formatted; otherwise, the API call will fail.
  • Authentication errors: Verify that the API key credential is correctly set up and has the necessary permissions.
  • Network or API errors: Check connectivity and PostNL API status if requests time out or return errors.
  • Unexpected response structure: If the API changes, the node might not parse the response correctly; verify the API documentation for updates.

Links and References

Discussion