Shopify API: is there a way to determine if an order has come from Shopify POS?

Recently updated POSPOSE: http://www.shopify.com/pos

It is interesting how the JSON purchase order somehow (implicitly?) Distinguishes orders created in POS from orders created on the Shopify website.

+4
source share
1 answer

Check the source_name attribute of the Order response, http://docs.shopify.com/api/order . It will be "web" or "pos".

+1
source

Source: https://habr.com/ru/post/1501803/


All Articles