UNPKG

sdksio-postnl-ecommerce-apis-sdk

Version:

Collection of PostNL API's for ecommerce processes

29 lines (28 loc) 1.04 kB
/** * PostNL Ecommerce APIsLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { ApiResponse, RequestOptions } from '../core'; import { CpcResponse } from '../models/cpcResponse'; import { BaseController } from './baseController'; export declare class PostalcodeCheckController extends BaseController { /** * Please note that this API is not available on the sandbox environment. * * Request example: * ``` * curl -X GET "https://api.postnl.nl/shipment/checkout/v1/postalcodecheck?postalcode=3571ZZ&amp; * housenumber=74&amp;housenumberaddition=bis" \ * -H "Accept: application/json" \ * -H "apikey: APIKEY-HERE" * ``` * * * @param postalcode * @param housenumber * @param housenumberaddition * @return Response from the API call */ checkoutPostalcodeCheck(postalcode: string, housenumber: number, housenumberaddition?: string, requestOptions?: RequestOptions): Promise<ApiResponse<CpcResponse[]>>; }