Get Shipper Info using hash
Through this section, you can get the shipper's details just by using the shipper hash.
URL Config
Endpoint: https://api.dps.io/api
APIVersion: v1
route: shippers
path: <YOUR_SHIPPER_HASH>
Method
GET
URL
https://api.dps.io/api/v1/shippers/05K9G************JG6a
Request Headers
{
"Content-Type": "application/json",
"x-api-key": "<YOUR_API_KEY>",
"ShipperHash": "<YOUR_SHIPPER_HASH>"
}
Curl request
curl --location --request GET 'https://api.dps.io/api/v1/shippers/05K9G************JG6a' \
--header 'x-api-key: xxxxxxdfjbdjdfjdhfxxxxxxx' \
--header 'ShipperHash: 05K9G************JG6a' \
--header 'Content-Type: application/json'
--data-raw ''
Response
[
{
"ShipperHash": "05K9G************JG6a",
"VendorHash": "8fcb*************5wY6",
"UniqueShipperId": "00051",
"CompanyName": "TestCompany",
"PersonName": "John Doe",
"AddressLine1": "3195 Stanley Avenue",
"AddressLine2": "Garden City",
"City": "Garden City",
"State": "NY",
"Country": "US",
"Zip": "11530",
"Email": "testapi@dps.io",
"Phone": "9876543210",
"CreatedDate": "2022-10-14 14:51:17.901136",
"LastModified": "2022-10-14 14:51:22.614819",
"IdentityVerified": false,
"AvailableBalance": 0,
"ReferralCode": "",
"CustomerId": null,
"SubscriptionInfo": {},
"TotalQueuedJobs": 0
}
]