Skip to content

Fetch services by merchant

Request

Security
BearerAuth
Query
provider_idstring

Filter to services bookable with this staff member.

Example:provider_id=provider_123456
is_deletedboolean
Default:false
Example:is_deleted=false
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/services?provider_id=provider_123456&is_deleted=false&cursor=eyJvZmZzZXQiOjIwLCJsaW1pdCI6MjB9&limit=100' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Services fetched.

Bodyapplication/json
dataArray of objects(Service)
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" }