Skip to content

How to Retrieve Sales Channel Details (Origin, Referrer, Landing Page) for Orders via Magento API?

I am importing orders from a client’s Adobe Commerce (Magento) store using the API. I need to retrieve sales channel details for orders, specifically the following information:

  • The origin of the order (e.g., UTM source or medium, such as Google or Bing)
  • The referring site (e.g., the HTTP referrer)
  • The landing page where the customer started their session

What I’ve tried:

I explored the GET /rest/V1/orders and GET /rest/V1/products/{id} endpoints of the Magento REST API but couldn’t find explicit fields for this data. I reviewed the API responses but couldn’t locate any information related to the order sales channel.

How can I retrieve this sales channel information using the Magento REST API or any other API method?

Any guidance, examples, or recommendations would be greatly appreciated. Thank you!