Authorizations
- Authorization string required header
Generate a store API key from the store's Metorik API settings in Metorik, and choose the scopes needed for the endpoints you want to call.
Query Parameters
- page integer
Page number. Min 1. Example: 1
- per_page integer
Number of segments per page. Min 1, max 100. Defaults to 50. Example: 50
- resource string enum required
Segment resource. Example: orders
Headers
- Accept string required
Response format header. Example: application/json
Response
application/json- data[] object array
+ - Show Child Attributes
- id integer
- name string
- description string nullable
- resource string
- match string
- filters array
- store_wide boolean
- is_preset boolean
- pagination object
+ - Show Child Attributes
- current_page integer
- per_page integer
- has_more_pages boolean