Retrieve a list of shipping rules
Retrieve the shipping rules configured for your account, in the order they are evaluated.
This endpoint uses cursor-based pagination via Link headers. See Pagination for details.
Authorizations
Basic Authentication using API key and secrets is currently the main authentication mechanism.
Query Parameters
Filter rules by active state; omit to return both active and inactive rules.
The cursor query string is used as the pivot value to filter results. If no value is provided, the first page of results will be returned. To get this value, you must encode the offset, reverse and position into a base64 string.
There are 3 possible parameters to encode:
o: Offsetr: Reversep: Position
For example, r=1&p=300 encoded as a base64 string would be cj0xJnA9MzAw. The query string would then be cursor=cj0xJnA9MzAw.
"cj0xJnA9MzAw"
The size of the page to fetch.
x <= 200Response
OK
A page of shipping rules.
Rules on the current page, in evaluation order.