-
-
Save seit/7bae3d79ecb42f295bfa3c758f4f8da6 to your computer and use it in GitHub Desktop.
Shopify 注文情報取得のGraphQL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query($order_id: ID!) { | |
order(id: $order_id) { | |
name | |
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