Skip to content

Instantly share code, notes, and snippets.

@seit
Created December 20, 2021 09:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seit/7bae3d79ecb42f295bfa3c758f4f8da6 to your computer and use it in GitHub Desktop.
Save seit/7bae3d79ecb42f295bfa3c758f4f8da6 to your computer and use it in GitHub Desktop.
Shopify 注文情報取得のGraphQL
query($order_id: ID!) {
order(id: $order_id) {
name
email
cancelledAt
displayFinancialStatus
displayFulfillmentStatus
fullyPaid
canMarkAsPaid
lineItems(first:15) {
edges {
node {
id
sku
title
quantity
refundableQuantity
variant {
id
sku
title
}
}
}
}
fulfillmentOrders(first:5,query:"status:OPEN"){
edges{
node{
id
status
assignedLocation{
location{
id
name
}
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment