Skip to content

Instantly share code, notes, and snippets.

@seit
Created Dec 20, 2021
Embed
What would you like to do?
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