vendic/magento2-postnl-api

There is no license information available for the latest version (1.1.2) of this package.

Adds Magento 2 service methods to the tig/postnl module.

Installs: 5 081

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 2

Forks: 2

Open Issues: 1

Type:magento2-module

1.1.2 2024-09-04 07:15 UTC

This package is auto-updated.

Last update: 2024-09-04 07:15:39 UTC


README

This module adds service contracts to postnl/postnl-magento2, since the original module works through controllers only.

This allows you to use the PostNL API in your own Magento classes, without using a request. We use it in the PostNL module for the Hyvä checkout.

Installation

composer require vendic/magento2-postnl-api

Currently supported service contracts

Locations

Service contract: \Vendic\PostnlApi\Api\LocationsInterface

Get's the nearest PostNL locations based on a given address.

Save

Serivce contract: \Vendic\PostnlApi\Api\SaveInterface

Saves/initalizes a shipment into the Magento database.

Timeframes (WIP)

Service contract: \Vendic\PostnlApi\Api\TimeframesInterface

Get's the available delivery timeframes for a given address.