How to get order is from "Facebook" / "Instagram" / "Shopify POS orders" by grapghql order query ?

ReenaSanghani
New Member
7 0 0

Hi there,

I want to get the shopify order is from Facebook, Instagram or Shopify POS order. 
I've checked in grapgql order query publication but getting null. (I've checked order of facebook channel product)

ReenaSanghani_0-1623674351926.png

ReenaSanghani_1-1623674417029.png

 

Please share your thoughts if any.

Thanks!

 

Replies 3 (3)
Luke_K
Shopify Staff
Shopify Staff
402 65 92

Hey @ReenaSanghani 

Would you mind sending the full GraphQL request that you made, and we check this out. Thanks!

| Shopify |
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!
ReenaSanghani
New Member
7 0 0

Thanks for response.

Here is ithe GrapghQl query and the order that include facebook sales channel product.

ReenaSanghani_0-1623932012794.pngReenaSanghani_1-1623932107434.png

ReenaSanghani_2-1623932212310.png


I just want to know the order is from which plateform (Instagram, facebook, Shopify Pos, etc..)

Please let me know if any idea.

Thank you !

 

 

Luke_K
Shopify Staff
Shopify Staff
402 65 92

Hey @ReenaSanghani 

Thanks for the getting back to me. So, the response you are receiving would be expected because the order #1024 was initially created as a Draft Order, and the publication field on the Orders Resource returns the Publication that created the Order.  Hence you'd be returned null in this instance  - hope that helps!

| Shopify |
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!