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. Users

Get User

Fetch details of a user account.

/users/:user_id

GET https://api.terminal.africa/v1/users/:user_id

This endpoint allows you to retrieve details for a user account.

Path Parameters

Name
Type
Description

id

string

id of user.

Headers

Name
Type
Description

Authorization*

string

Set value to Bearer SECRET_KEY

{
	status: true,
	message: 'User retrieved successfully',
	data: {
		carriers: {
			domestic: [{
				id: 'CA-57817511298',
				name: 'Kwik Delivery'			
			},{
				id: 'CA-75867693999',
				name: 'Sendstack'			
			}],
			regional: [{
				id: 'CA-55085474292',
				name: 'Fedex (Red Star Express)'			
			},{
				id: 'CA-26458064035',
				name: 'GIG Logistics'			
			}],
			international: [{
				id: 'CA-38139208388',
				name: 'DHL Express'			
			},{
				id: 'CA-68449927312',
				name: 'Sendbox'			
			},{		
				id: 'CA-75540598397',
				name: 'Topship'
			},{		
				id: 'CA-30614897119',
				name: 'United Parcel Services'
			}]
		},
		company_name: 'Terminal Africa',
		email: 'support@terminal-africa.com',
		first_name: 'Larry',
		last_name: 'Banjo',
		id: '6aVb7978zZYmke2gJPF9WppUEWvvK5OU',
		name: 'Larry Banjo',
		phone: '+2345442289021',
		user_id: 'USER-72759104719',
		wallet: 'nGvZRE5lyb7H1ZuORKVjKlXfETsWff0J',
		status: 'success',
		created_at: '2021-07-13T20:25:53.011Z',
		updated_at: '2021-07-13T20:25:53.011Z'
	}
}
PreviousUsersNextGet Wallet Info

Last updated 2 years ago

Was this helpful?