Pagination
Pagination is used to move through pages of results.
{
"page": 1,
"perPage": 5,
"total": "30",
"data": [
{
"accountSlug": "montecarlo",
"label": "fabric",
"internalName": "style type",
"description": "this is style code type property",
"isUnique": "no",
"fieldType": "multi_select",
"options": [
"rock",
"classy"
],
"scope": [
"order"
],
"createdAt": "2020-03-09T11:46:20.645Z",
"updatedAt": "2020-03-13T06:57:05.981Z"
},
{
"accountSlug": "montecarlo",
"label": "fabric",
"internalName": "fabric",
"description": "type of fabric used in a dress",
"isUnique": "no",
"fieldType": "single_select",
"options": [
"silk",
"cotton"
],
"scope": [
"product"
],
"createdAt": "2020-03-09T04:58:34.645Z",
"updatedAt": "2020-03-09T04:58:34.645Z"
},
{
"accountSlug": "montecarlo",
"label": "Season",
"internalName": "xyz",
"description": "qwerty-new",
"isUnique": "yes",
"fieldType": "long_text",
"scope": [
"product"
],
"createdAt": "2020-03-07T05:59:05.346Z",
"updatedAt": "2020-03-11T12:17:53.431Z"
},
{
"accountSlug": "montecarlo",
"label": "Size",
"internalName": "fashionu544cgf",
"isUnique": "no",
"fieldType": "short_text",
"scope": [
"product"
],
"createdAt": "2020-02-28T09:10:34.472Z",
"updatedAt": "2020-03-11T12:18:47.048Z"
},
{
"accountSlug": "montecarlo",
"label": "fashiontype",
"internalName": "fashionu54cgf",
"isUnique": "no",
"fieldType": "short_text",
"scope": [
"product"
],
"createdAt": "2020-02-28T09:10:20.308Z",
"updatedAt": "2020-02-28T09:10:20.308Z"
}
]
}
Page includes information about the current page i.e Page Number of current Page. The default value for the Page in each API is 1.
PerPage includes information about the no of records in the current page. The default value for perPage in each API is 25.
Total defines the total number of records for the applied set of filters.
Data includes information about the whole result set.i.e.List of Records
Pagination fields will never be omitted from a listing response, even if there are no results.
You can, therefore, easily paginate resources using
page[offset]
and page[limit]
query string parameters on most top-level endpoints. Both of these values are integers.get
https://{{accountSlug}}.myeshopbox.com/api/platform
/v1/import-job?page=1&per_page=10
Get all Import Jobs
curl
curl --location --request GET 'localhost:8080/_ah/api/esb/v1/import-job' \
--header 'Content-Type: application/json' \
--header 'Authorization: {{Access-Token}}'
get
https://{{accountSlug}}.myeshopbox.com/api/platform
/v1/import-job?page=2&per_page=10
Get all Import Jobs
curl
curl --location --request GET 'localhost:8080/_ah/api/esb/v1/import-job' \
--header 'Content-Type: application/json' \
--header 'Authorization: {{Access-Token}}'
Last modified 2yr ago