Skip to main content
The ManageCustomers endpoint returns a paginated, sortable list of customer records associated with your Shiipp courier account. An optional search parameter lets you filter results by user code or name, and you can sort by any of the supported fields.

Endpoint

Authentication: JWT Bearer token required.

Query Parameters

integer
default:"1"
The page number to retrieve. Pagination starts at 1.
integer
default:"20"
Number of customer records to return per page. Maximum allowed value is 100.
Optional search term. When provided, results are filtered to customers whose user_code or name contain the search string (wildcard partial match, case-insensitive).
string
Filter results to customers assigned to a specific branch location (exact match).
string
Filter results to a specific courier organization. Admin and manager roles only. Courier role users are automatically scoped to their own courier.
string
default:"first_name"
Field to sort results by. Accepted values: user_code, first_name, last_name, branch, courier_name, created_at, updated_at.
string
default:"ASC"
Sort direction. Accepted values: ASC, DESC.

Example Request


Response

Response Fields

string
"success" when the request was processed without error.
array
Array of customer objects matching the search criteria.
integer
Total number of customers matching the search term across all pages.

Get Branch List

Append ?action=branches to retrieve the distinct list of branch names available for the authenticated courier. This is useful for populating filter dropdowns in your UI.

Pagination

To iterate through all customers, increment page until you have retrieved total records.
Use the branch filter together with ?action=branches to build dynamic, pre-populated dropdowns in your UI — first fetch the branch list, then filter customers by the user’s selected branch.
The search filter matches across user_code and customer names simultaneously. A single term like "Jane" will surface matches in any of those fields.