Hi all
I’m completely new to this area of things so forgive me if I’m asking a stupid question.
I’d like to use Buttondown - https://buttondown.email/ - to send email newsletters to my subscribers.
I’m hoping to sync these subscribers via the API both ways so both Shopify and Buttondown have up to date info.
There’s no integration (apart from Zapier which isn’t cheap for this case) so thought I’d look into using the API.
If anybody could give me any pointers how this might be achieved that would be terrific.
If too complicated I might get a developer to set this up, but thought I’d see what was involved first.
Thank you so much
1 Like
Hi @Matt_Thomson 
On the Shopify side, the list of subscribed customers can fetched with the below Admin GraphQL query.
{
customers (first:10, query: "accepts_marketing:true") {
nodes {
id
email
}
}
}
Please keep in mind, this will require making an authenticated request using an access token.
Hello !
The “accepts_marketing” will soon be deprecated and will be replaced by the complex object ‘email_marketing_consent’
So I would like to refresh the question, specifically with the REST API request.
The request “/admin/api/2024-01/customers.json?accepts_marketing=true” will non longer work when the field will be completely removed.
How can I get the equivalent with the new fields ?
How could I get the subscribed customers with the REST API in version, let’s say, 2024-07 ?