BolRetailerAPI 1.2.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package BolRetailerAPI --version 1.2.1
                    
NuGet\Install-Package BolRetailerAPI -Version 1.2.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="BolRetailerAPI" Version="1.2.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="BolRetailerAPI" Version="1.2.1" />
                    
Directory.Packages.props
<PackageReference Include="BolRetailerAPI" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add BolRetailerAPI --version 1.2.1
                    
#r "nuget: BolRetailerAPI, 1.2.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package BolRetailerAPI@1.2.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=BolRetailerAPI&version=1.2.1
                    
Install as a Cake Addin
#tool nuget:?package=BolRetailerAPI&version=1.2.1
                    
Install as a Cake Tool

Build Status License

BolRetailerAPI

Bol.com Retailer API NuGet package.

Bol.com retailer references

Documentation for the Bol.com retailer API can be found here:

NuGet package

The API can be included in your project by installing the NuGet package: BolRetailerAPI

Example usage

// Preferably inject via DI
var bolApi = new BolRetailerApi(clientId, clientSecret, testMode);

// List all orders
var orders = await bolApi.OrdersService.GetOpenOrdersAsync();

// Get all the info of a specific order
var singleOrder = await bolApi.OrdersService.GetOrderAsync(orders.First().OrderId);

// Set shipment for a complete order
var shippedOrder = await bolApi.OrdersService.ShipOrderAsync(
    order.OrderId,
    new ShipmentData()
    {
        ShipmentReference = "Reference for shipping",
        ShippingLabelCode = "ShipLabelCode",
        Transport = new TransportInstruction()
        {
            TrackAndTrace = "BOL12343955DE",
            TransporterCode = TransporterCode.ParcelNl
        }
    }
);

// Get a list of shipment details
var shippedOrderDetails = await bolApi.ShipmentService.GetShipmentListAsync(order.OrderId);

// Get full detaild of a shipment
var shipmentDetails = await api.ShipmentService.GetShipmentByIdAsync(shipmentId);

Current implementation status

Service Implemented
Commission
Inbounds
Insights
Inventory
Invoices
Offers
Orders 1.0
Process Status
Reductions
Returns
Shipments 1.2
Shipping labels
Transports
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp3.1 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.3.0 212 8/16/2024
10.2.0 183 6/18/2024
10.1.0 149 6/17/2024
10.0.0 153 6/7/2024
7.0.0 308 4/24/2023
6.0.0 535 10/24/2021
5.4.0 487 9/17/2021
5.3.0 447 9/14/2021
5.2.0 452 9/5/2021
5.1.1 480 8/9/2021
5.1.0 461 8/9/2021
5.0.0 439 8/8/2021
3.0.0 480 8/7/2021
1.3.0 716 3/26/2020
1.2.3 668 3/17/2020
1.2.2 607 3/17/2020
1.2.1 618 3/16/2020
1.1.0 637 3/15/2020
1.0.0 633 3/10/2020
1.0.0-beta 480 3/3/2020
0.1.0-beta 519 2/25/2020
0.0.1-beta 525 2/23/2020