segmentMigrations
query
需要 read_customers 权限点。
接口访问需要令牌,具体如何获取令牌请参考:身份认证
已保存的细分列表
Example
商家已保存的细分列表
Code
query {
segmentMigrations(first: 3, after:null,reverse:false,savedSearchId:null) {
edges {
cursor
node {
id
savedSearchId
}
}
nodes {
id
savedSearchId
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
}
}
Response
{
"data": {
"segmentMigrations": {
"pageInfo": {
"endCursor": "E002CE0E792FBA4E98672D39851FDFD6",
"hasNextPage": true,
"hasPreviousPage": false,
"startCursor": "39C77C6A85E202FDAAB6A0D829D4F007"
},
"edges": [
{
"cursor": "39C77C6A85E202FDAAB6A0D829D4F007",
"node": {
"savedSearchId": "GROUP5582449353606848831",
"id": "gid://shopline/SegmentMigration/GROUP5582449353606848831"
}
},
{
"cursor": "AF52536A1951B28A30AAE8825A2B69B9",
"node": {
"id": "gid://shopline/SegmentMigration/GROUP5582449353892061504",
"savedSearchId": "GROUP5582449353892061504"
}
},
{
"cursor": "E002CE0E792FBA4E98672D39851FDFD6",
"node": {
"id": "gid://shopline/SegmentMigration/GROUP5582449354143719745",
"savedSearchId": "GROUP5582449354143719745"
}
}
],
"nodes": [
{
"id": "gid://shopline/SegmentMigration/GROUP5582449353606848831",
"savedSearchId": "GROUP5582449353606848831"
},
{
"id": "gid://shopline/SegmentMigration/GROUP5582449353892061504",
"savedSearchId": "GROUP5582449353892061504"
},
{
"id": "gid://shopline/SegmentMigration/GROUP5582449354143719745",
"savedSearchId": "GROUP5582449354143719745"
}
]
}
}
}
这篇文章对你有帮助吗?