Skip to main content
GET
cURL
Returns rules under data, each with its name, description, status and configuration. Set the page size with limit and fetch the next page with cursor. Other fields filter as filter_<field>.
The SDK samples get their client from credentials your app registers once when it starts, as shown in Authentication. To try the call here, click Try it, set host to your Exsited API host name and paste an access token from Get an access token.

Authorizations

Authorization
string
header
required

An access token from POST /api/v4/oauth2/token. The SDKs get and renew it for you.

Query Parameters

limit
integer

How many records to return on one page.

Example:

20

cursor
string

The next_cursor from the previous page, to fetch the page after it.

sort
string

The field to sort by. Prefix it with - to sort descending, as in -created_on.

Example:

"-created_on"

Response

200 - application/json

A page of shipping rules, under data.

data
object[]
object
string
pagination
object
url
string