Is there a way to connect orders to marketing activities via the API?

Is there a way to connect orders to marketing activities via the API?

mosattler
Shopify Partner
3 0 1

Is there a way via the GQL Api to know what orders were created by what marketing activities? 

It must be possible, as the Marketing tab in the shopify admin does it (see attached screenshots). But I cannot find the needed information in the API docs to link orders to marketing 
activities. 

tfviL7x.jpg

Replies 0 (0)