List Automation Rulesets

This endpoint lists automation rulesets for one or more or all merchants. If no merchant parameter is passed, the endpoint returns all rulesets.

SecurityOAuth2-Production or OAuth2-Demo
Request
query Parameters
merchant
string

merchant id

entity-type
string

Shipment entity type FORWARD or REVERSE

header Parameters
x-api-key
string
tenant-id
string
Content-Type
string
Default: application/json
Responses
200
get/automation-rulesets
Request samples
curl -i -X GET \
  'https://api.carriyo.com/automation-rulesets?merchant=string&entity-type=string' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'tenant-id: string' \
  -H 'x-api-key: string'
Response samples
application/json
[
  • {
    }
]