Terminal Shipping API
  • Introduction
  • Example Book Shipment Flow
  • Ship with Code
  • Authentication
  • Errors
  • Libraries & Plugins
  • API ENDPOINTS
  • Addresses
    • Create Address
    • Get Addresses
    • Get Address
    • Update Address
    • Validate Address
    • Set Default Sender Address
    • Get Default Sender Address
  • Carriers
    • Get Carriers
    • Get Carrier
    • Enable Carrier
    • Enable Multiple Carriers
    • Disable Carrier
    • Disable Multiple Carriers
    • Drop-off Locations
  • Claims
    • Get Claims
    • Get Claim
    • File Claim
  • HS Codes
    • Get HSCodes
    • Get HSCode Chapters
    • Get HSCode Categories
    • Get HSCode Details
    • Search HSCodes
  • Insurance
    • Get Insurance
    • Get Insurances List
    • Get Insurance Premium
    • Get Insurance Premium Using Parcel Value
    • Purchase Insurance
  • Packaging
    • Create Packaging
    • Update Packaging
    • Get Packaging
    • Terminal Default Packaging
    • Get Specific Packaging
  • Parcels
    • Create Parcel
    • Update Parcel
    • Get Parcels
    • Get Parcel
  • Rates
    • Get Rates for Shipment
    • Get Quotes for Shipment
    • Get Rates for Multi-Parcel Shipment
    • Get Rates
    • Get Rate
  • Simplified HS Codes
    • Get Simplified HSCodes
    • Get Simplified HSCode Chapters
    • Get Simplified HSCode Categories
    • Get Simplified HSCode Details
    • Search Simplified HSCodes
  • Shipments
    • Create Shipment
    • Create Quick Shipment
    • Update Shipment
    • Get Shipments
    • Get Shipments v2
    • Get Shipment
    • Track a Shipment
    • Cancel Shipment
    • Delete Shipment
    • Duplicate Shipment
    • Arrange Pickup & Delivery for Shipment
  • Transactions
    • Get Transactions
    • Get Transaction
  • Users
    • Get User
    • Get Wallet Info
    • Get Wallet Balance
    • Get User Carriers
  • Webhooks
    • Create Webhook
    • Delete Webhook
    • Disable Webhook
    • Enable Webhook
    • Get Webhooks
    • Get Webhook
  • MISCALLANEOUS
    • Carriers Available
    • Carrier Object
    • Cities
    • Countries
    • File Claim Object
    • Parcel Item
    • Quick Shipments
      • Parcel
      • Pickup / Delivery Address
    • Shipment Events
    • Shipment Extras
    • States
    • Webhook Events
      • Handling Webhook Events
    • Volumetric Weight
Powered by GitBook
On this page

Was this helpful?

  1. Packaging

Get Packaging

Fetch list of packaging available for a user.

/packaging

GET https://api.terminal.africa/v1/packaging

This endpoint allows you to retrieve a list of packaging available for a user.

Query Parameters

Name
Type
Description

type

String

When provided, returns types of packaging that match the value provided. e.g. soft-package

perPage

Number

Specify how many records will be included in a single response. Defaults to 100.

page

Number

Specify what page will be included in a single response. Defaults to 1.

Headers

Name
Type
Description

Authorization*

string

Set value to Bearer SECRET_KEY

{
    "status": true,
    "message": "Packaging retrieved successfully",
    "data": {
        "packaging": [
            {
                "height": 5,
                "id": "LsuiGzcYlz4dKRYnEXeobJu9gnVbQVXN",
                "length": 40,
                "name": "Soft Packaging",
                "packaging_id": "PA-97263925515",
                "size_unit": "cm",
                "type": "soft-package",
                "weight": 0.01,
                "weight_unit": "kg",
                "width": 30,
                "created_at": "2021-07-13T20:25:53.011Z",
                "updated_at": "2021-07-13T20:25:53.011Z"
            },
            {
                "height": 20,
                "id": "33QSBg4cpi9mPcV2IwJg0ZZzRNUcC9l",
                "length": 20,
                "name": "Box Packaging",
                "packaging_id": "PA-45873778254",
                "size_unit": "cm",
                "type": "box-package",
                "weight": 0.01,
                "weight_unit": "kg",
                "width": 20,
                "created_at": "2021-07-13T20:25:53.011Z",
                "updated_at": "2021-07-13T20:25:53.011Z"
            }],
        "pagination": {
            "perPage": 100,
            "prevPage": null,
            "nextPage": 2,
            "currentPage": 1,
            "total": 3,
            "pageCount": 3,
            "pagingCounter": 1,
            "hasPrevPage": false,
            "hasNextPage": true	
        }
    }
}
PreviousUpdate PackagingNextTerminal Default Packaging

Last updated 2 years ago

Was this helpful?