Skip to content

Get Locations Details

Request

This operation provides the location details with the subscription.

Security
bearerAuth
Query
divisionIDstring

It specifies the division id. If provided it will only show the location details under this division.

pagenumber

page number

sizenumber

size of records

Headers
X-PB-Developer-Partner-IDstring
curl -i -X GET \
  'https://api-sandbox.sendpro360.pitneybowes.com/locationmgmt/api/v1/locations?divisionID=string&page=0&size=0' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'X-PB-Developer-Partner-ID: string'

Responses

Locations Get Successfully

Bodyapplication/json
pageInfoobject

Pagination details

dataobject

Unique identifier of the account

Response
{ "pageInfo": { "total": 1, "pages": 1, "page": 10 }, "data": { "locationID": "4a0e2Bb4Njw", "customerLocationId": "4a0e2Bb4Njw", "divisionID": "4a0e2Bbshdh", "accountNumber": "1242", "name": "John", "company": "PB", "addressLine1": "203, new york", "city": "New York", "state": "NY", "postalCode": "10001", "countryCode": "US", "phone": "826482849", "isReturnAddressSame": false, "altReturnAddress": { "addressLine1": "27 Waterview Dr", "addressLine2": "near abc street", "addressLine3": "near xyz street", "company": "PB", "email": "user@email.com", "residential": true, "cityTown": "Shelton", "countryCode": "US", "name": "User Name", "phone": "203-555-1213", "postalCode": "06484", "stateProvince": "CT" } } }