How to access Shopify source doc without credentials
In some use cases we don’t have Shopify credentials but we still want to find out what the source doc looks like. You can take several steps to get it done.
Get the Access Token
Chrome > Inspect View
Network > GraphQL Query > Integration Detail Page
data > integration > connection > fields where you can find the access token, for example,
{path: "accessToken", type: "string", value: "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"}
Use Your Postman to request with Shopify REST API https://shopify.dev/api/admin-rest
Notes
To get the inventory level, you need to request with inventory_item_id
To get the inventory_item_id, you need to get product first
For customer who signs up through MCF App, it will enable Fulfillment Service Mode which means we pull fulfillment orders for them instead of regular orders
Product Cost/HS Code/Country of Origin/ all live in inventory resource instead of product resource
Order payments need to be accessed by Get Transaction API instead of Get Order API