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.

  1. Get the Access Token

    1. Chrome > Inspect View

    2. Network > GraphQL Query > Integration Detail Page

    3. data > integration > connection > fields where you can find the access token, for example, {path: "accessToken", type: "string", value: "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"}

  2. Use Your Postman to request with Shopify REST API https://shopify.dev/api/admin-rest

    1. Get Order https://shopify.dev/api/admin-rest/2022-10/resources/order#get-orders?status=any

    2. Get Product https://shopify.dev/api/admin-rest/2022-10/resources/product#get-products

    3. Get Fulfillments

    4. Get Inventory

  3. Notes

    1. To get the inventory level, you need to request with inventory_item_id

    2. To get the inventory_item_id, you need to get product first

    3. 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

    4. Product Cost/HS Code/Country of Origin/ all live in inventory resource instead of product resource

    5. Order payments need to be accessed by Get Transaction API instead of Get Order API