1.0.1 • Published 7 months ago

boekuwzending-api v1.0.1

Weekly downloads
-
License
AGPL
Repository
github
Last release
7 months ago

BoekUwZending TypeScript API Client

Build Status NPM Version NPM Downloads

Unofficial TypeScript API client for the BoekUwZending API.

Installation

npm

npm install boekuwzending-api

yarn

yarn add boekuwzending-api

Usage

Creating a client

import { BoekUwZendingClient } from "boekuwzending-api"

const client = new BoekUwZendingClient({
  clientId: "[CLIENT_ID]",
  clientSecret: "[CLIENT_SECRET]"
  mode: "production" // or 'staging' (optional)
})

Getting all orders

import { BoekUwZendingClient } from "boekuwzending-api"

const client = await BoekUwZendingClient.create({
  clientId: "[CLIENT_ID]",
  clientSecret: "[CLIENT_SECRET]"
})

const { data: externalOrders, error: _ } = await client.endpoints.externalOrders.get({
  _items_per_page: 10,
  _page: 1
})

API Implementation Status

Current User

EndpointGETPOSTPUTDELETE
/me---

Orders

EndpointGETPOSTPUTDELETE
/orders--
/orders/{id}-

Users

EndpointGETPOSTPUTDELETE
/users--
/users/{id}---

Admin Users

EndpointGETPOSTPUTDELETE
/admin_users---
/admin_users/{id}---

Address Book

EndpointGETPOSTPUTDELETE
/address_book_items---
/address_book_items/{id}---

Bulk Shipments

EndpointGETPOSTPUTDELETE
/bulk_shipments---
/bulk_shipments/{id}---

Buzzie

EndpointGETPOSTPUTDELETE
/buzzie/postcodes---

Conversations

EndpointGETPOSTPUTDELETE
/conversations--
/conversations/{id}---
/conversations/{id}/messages---

Countries

EndpointGETPOSTPUTDELETE
/countries---
/countries/{id}---

Distributors

EndpointGETPOSTPUTDELETE
/distributors---
/distributors/{id}---

Integrations

EndpointGETPOSTPUTDELETE
/integrations---
/integrations/shopify---
/integrations/shopify/{id}---
/integrations/{id}---

Labels

EndpointGETPOSTPUTDELETE
/labels/{id}---

Matrix

EndpointGETPOSTPUTDELETE
/matrices---
/matrices/{id}---
/matrix_groups---
/matrix_groups/{id}---
/matrix_postcodes---
/matrix_postcodes/{id}---
/matrix_rates---
/matrix_rates/{id}---

Messages

EndpointGETPOSTPUTDELETE
/messages---
/messages/{id}--

Pickup Requests

EndpointGETPOSTPUTDELETEPATCH
/pickup_requests---
/pickup_requests/{id}-

Rate Requests

EndpointGETPOSTPUTDELETEPATCH
/rate-request----

Relations

EndpointGETPOSTPUTDELETE
/relations---
/relations/{id}---

Scan Inbounds

EndpointGETPOSTPUTDELETE
/scan_inbounds---
/scan_inbounds/{uuid}---

Services

EndpointGETPOSTPUTDELETE
/services---
/services/{id}---

Shipments

EndpointGETPOSTPUTDELETE
/shipment_quotations---
/shipment_quotations/{id}---
/shipments--
/shipments/items/{id}---
/shipments/{id}---
/shipments/{id}/labels---

Surcharge Sets

EndpointGETPOSTPUTDELETEPATCH
/surcharge_sets/{id}----

Track & Trace

EndpointGETPOSTPUTDELETEPATCH
/track-and-trace/{id}----

Tracking

EndpointGETPOSTPUTDELETEPATCH
/trackings----
/trackings/{id}----

Types

EndpointGETPOSTPUTDELETEPATCH
/types----
/types/{id}----

Webhooks

EndpointGETPOSTPUTDELETEPATCH
/webhooks---
/webhooks/{id}----

Widgets

EndpointGETPOSTPUTDELETEPATCH
/widgets----
/widgets/{id}----

Transport

EndpointGETPOSTPUTDELETEPATCH
/transport/depots---
/transport/depots/{id}--
/transport/drivers---
/transport/drivers/{id}-
/transport/excluded_pickups---
/transport/excluded_pickups/{id}--
/transport/pickup_requests---
/transport/pickup_requests/{id}-
/transport/pickup_schedules---
/transport/pickup_schedules/{id}--
/transport/pickups----
/transport/pickups/{id}----
/transport/positions---
/transport/positions/{id}----
/transport/postcodes---
/transport/postcodes/{id}-
/transport/regions---
/transport/regions/{id}--
/transport/route_collection_bulks---
/transport/route_collection_bulks/{id}--
/transport/route_collection_vehicles---
/transport/route_collection_vehicles/{id}-
/transport/route_collections---
/transport/route_collections/{id}--
/transport/route_collections/{id}/route_collection_bulks----
/transport/route_collections/{id}/route_collection_vehicles----
/transport/route_collections/{id}/routes----
/transport/route_collections/{id}/routes/{routes}/steps----
/transport/route_collections/{id}/unassigneds----
/transport/routes----
/transport/routes/{id}--
/transport/routes/{id}/steps----
/transport/statuses---
/transport/statuses/{id}----
/transport/steps----
/transport/steps/{id}---
/transport/task_activities----
/transport/task_activities/{id}----
/transport/task_labels----
/transport/task_labels/{id}---
/transport/task_pickups----
/transport/task_pickups/{id}---
/transport/tasks----
/transport/tasks/{id}---
/transport/unassigned_labels----
/transport/unassigned_labels/{id}----
/transport/unassigned_pickups----
/transport/unassigned_pickups/{id}----
/transport/unassigned_shipments----
/transport/unassigned_shipments/{id}----
/transport/unassigneds----
/transport/unassigneds/{id}----
/transport/vehicles---
/transport/vehicles/{id}-
/transport/warehouse/{waybill}/info----
/transport/warehouse_informations----
1.0.1

7 months ago

1.0.0

7 months ago