Shopify - Get Order
@sergio
code:
data:privatelast updated:4 years ago
today
Build integrations remarkably fast!
You're viewing a public workflow template.
Sign up to customize, add steps, modify code and more.
Join 1,000,000+ developers using the Pipedream platform
steps.
trigger
HTTP API
Deploy to generate unique URL
This workflow runs on Pipedream's servers and is triggered by HTTP / Webhook requests.
steps.
shopify_get_order
Gets an order with the specified ID.
auth
(auths.shopify)
params
Order id

ID of order to retrieve.

 
number ·params.order_id
code
async (params, auths) => {
1
2
3
4
5
6
7
8
9
}
10
return await require("@pipedreamhq/platform").axios(this, {
  method: "get",
  url: `https://${auths.shopify.shop_id}.myshopify.com/admin/api/2020-01/orders/${params.order_id}.json`,
  headers: {
    "X-Shopify-Access-Token": `${auths.shopify.oauth_access_token}`,
    "Content-Type": `application/json`,
  }
})