Skip to content

Fetch categories by merchant

Request

Security
BearerAuth
Query
cursorstring

Opaque pagination cursor. Pass the value from the previous response to fetch the next page.

Example:cursor=eyJvZmZzZXQiOjIwLCJsaW1pdCI6MjB9
limitinteger, [ 1 .. 100 ]
Default:100
Example:limit=100
curl -i -X GET \
  'https://developer.setmore.com/api/v2/categories?cursor=eyJvZmZzZXQiOjIwLCJsaW1pdCI6MjB9&limit=100' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Categories fetched.

Bodyapplication/json
dataArray of objects(Category)
cursorstring

Opaque pagination cursor. Pass the value from the previous response to fetch the next page. Omitted entirely when there is no next page.

Example:"eyJvZmZzZXQiOjIwLCJsaW1pdCI6MjB9"
Response
{ "data": [ { … } ], "cursor": "eyJvZmZzZXQiOjIwLCJsaW1pdCI6MjB9" }