List units

Returns the profile's product units, one page at a time. A unit is the measure a product is sold in, such as "per hour". It has no effect on price.

  • Filter by on/off state with status or display, not both.
  • Results come in no set order. Sort on your side if order matters.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required
≥ 1

Your merchant profile ID. Required in every request.

Find it in the BillPro dashboard address, after /profiles/. For example, in /profiles/1234/orders the profile ID is 1234.

Query Params
string

Search term. Matches part of the name. Not case-sensitive.

string
enum

active or inactive. Not case-sensitive. An unrecognised value is ignored and the full list is returned. Don't send with display.

Allowed:
boolean

true or false. Same filter as status: true means active. false, 0, f and off mean false; any other value means true. An empty value is ignored. Don't send with status.

integer
Defaults to 1

Page number, starting at 1. Each page holds 20 items. A page past the last one returns 404.

Responses

Language
Credentials
Bearer
API token
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json