Getting all merchant centre accounts

23 views
Skip to first unread message

Wei Zhong

unread,
Aug 11, 2021, 5:25:09 PM8/11/21
to Google Content API for Shopping
Is any way we can get all the MCA ids from a shopping content API endpoint? We need to have all the MCA ids to pull each account status. => "accountstatuses"

We have tried `authinfo`, but it is not always returned with `merchantId`,  or is there any way we can use `aggregatorId` to pull all `merchantId` under it?

```
[
  { aggregatorId: '123' },
  { merchantId: '4343' },
  { merchantId: '4554' },
  { aggregatorId: '234', merchantId: '8676' }
]
```

GET https://shoppingcontent.googleapis.com/content/v2.1/accounts/authinfo

Thanks!
Reply all
Reply to author
Forward
0 new messages