Get Order by ID
This endpoint allows you to retrieve detailed information about a Shopify order, starting from its numeric identifier. It is useful in cases where you want to synchronize a single order on demand (for example, via manual action or webhook).
Call configuration
| Field | Value | Note |
|---|---|---|
Url | https://adapt.flowlyze.com/api/adp/shopify/shared/orders/:ID | Endpoint URL to call, where :ID is the numeric ID of the order |
Method | GET | The method to call the endpoint |
Headers :: x-api-key | ********** | API key for endpoint interaction verification |
Headers :: x-shopify-graphql-url | https://SHOPIFYURL.myshopify.com/ | Shopify shop URL to connect to |
Headers :: x-shopify-access-token | shpat_CODICEALFANUMERICO | Secret of the custom app created for integration |
Note: The order ID must be provided in numeric format, corresponding to the final part of the Shopify global identifier (
gid). For example, fromgid://shopify/Order/1234567890, the ID to use is1234567890.
Example of retrieved information
{
"id": "gid://shopify/Order/6491218379059",
"orderNumber": null,
"orderName": "#1067",
"channel": "demoipaas",
"srcName": null,
"srcUrl": null,
"externalRef": {
},
"note": "note",
"tags": [
"EXPORTED"
],
"test": true,
"orderNotes": {
},
"browserIp": null,
"userAgent": null,
"shippingAddress": {
"firstName": "Mario",
"lastName": "Rossi",
"company": null,
"street1": "Via Roma 45",
"street2": null,
"city": "San Casciano in Val di Pesa",
"zip": "50026",
"province": "Firenze",
"provinceCode": "FI",
"country": "Italy",
"countryCode": "IT",
"phone": null
},
"billingAddress": {
"firstName": "Mario",
"lastName": "Rossi",
"company": null,
"street1": "Via Roma 45",
"street2": null,
"city": "San Casciano in Val di Pesa",
"zip": "50026",
"province": "Firenze",
"provinceCode": "FI",
"country": "Italy",
"countryCode": "IT",
"phone": null
},
"customer": {
"id": "gid://shopify/Customer/8047784263987",
"channel": null,
"email": "test@sintraconsulting.eu",
"createdAt": null,
"updatedAt": null,
"firstName": "Mario",
"lastName": "Rossi",
"phone": null,
"locale": "en-IT",
"tags": null,
"acceptsEmailMarketing": false,
"acceptsEmailMarketingDate": null,
"acceptsSmsMarketing": false,
"acceptsSmsMarketingDate": null
},
"paymentStatus": "PARTIALLY_REFUNDED",
"fulfillmentStatus": "FULFILLED",
"cancelReason": null,
"cancelledAt": null,
"orderItems": [
{
"id": "gid://shopify/LineItem/16060695937331",
"sku": "ABC0015-Green",
"productId": "gid://shopify/Product/9320461205811",
"variantId": "gid://shopify/ProductVariant/49481263317299",
"imageUrl": null,
"bundleCode": null,
"name": "ABC0015 Product - Green / One size",
"requiresShipping": false,
"vendor": "Vendor",
"isGiftCard": false,
"giftCards": [
],
"metadata": null,
"shopTotals": {
"currencyCode": "EUR",
"unitPrice": 284,
"originalUnitPrice": 284,
"totalNetPrice": 284,
"totalPrice": 284,
"originalTotalPrice": 284
},
"customerTotals": {
"currencyCode": "EUR",
"unitPrice": 284,
"originalUnitPrice": 284,
"totalNetPrice": 284,
"totalPrice": 284,
"originalTotalPrice": 284
},
"taxLines": [
],
"taxBreakdown": {
},
"unitWeight": null,
"duties": {
},
"discountAllocations": [
{
"discountCode": "0CXZ7SZP2KRG",
"discountApplicationReference": 0,
"shopDiscountAmount": 7.5,
"customerDiscountAmount": 7.5
}
],
"qtyOrdered": 1,
"qtyShipped": 1,
"qtyRefunded": 1,
"unitAmountDiscounted": 0,
"orderItemNotes": {
},
"itemGroup": null
},
{
"id": "gid://shopify/LineItem/16060695970099",
"sku": "9000Redirect",
"productId": "gid://shopify/Product/9325815791923",
"variantId": "gid://shopify/ProductVariant/49503933530419",
"imageUrl": null,
"bundleCode": null,
"name": "1 Redirect Polo Nord",
"requiresShipping": false,
"vendor": "Nike",
"isGiftCard": false,
"giftCards": [
],
"metadata": null,
"shopTotals": {
"currencyCode": "EUR",
"unitPrice": 30.100000000000001,
"originalUnitPrice": 43,
"totalNetPrice": 43,
"totalPrice": 43,
"originalTotalPrice": 43
},
"customerTotals": {
"currencyCode": "EUR",
"unitPrice": 30.100000000000001,
"originalUnitPrice": 43,
"totalNetPrice": 43,
"totalPrice": 43,
"originalTotalPrice": 43
},
"taxLines": [
],
"taxBreakdown": {
},
"unitWeight": null,
"duties": {
},
"discountAllocations": [
{
"discountApplicationReference": 0,
"shopDiscountAmount": 12.9,
"customerDiscountAmount": 12.9
}
],
"qtyOrdered": 1,
"qtyShipped": 1,
"qtyRefunded": 1,
"unitAmountDiscounted": 0,
"orderItemNotes": {
},
"itemGroup": null
},
{
"id": "gid://shopify/LineItem/16060696002867",
"sku": "",
"productId": "gid://shopify/Product/9289226256691",
"variantId": "gid://shopify/ProductVariant/49362251907379",
"imageUrl": null,
"bundleCode": null,
"name": "Gift Card - $50",
"requiresShipping": false,
"vendor": "Snowboard Vendor",
"isGiftCard": true,
"giftCards": [
{
"id": "gid://shopify/GiftCard/651475321139",
"createdAt": "2025-06-27T08:51:43+00:00",
"amount": 50,
"balance": 50,
"currency": "EUR"
}
],
"metadata": null,
"shopTotals": {
"currencyCode": "EUR",
"unitPrice": 50,
"originalUnitPrice": 50,
"totalNetPrice": 50,
"totalPrice": 50,
"originalTotalPrice": 50
},
"customerTotals": {
"currencyCode": "EUR",
"unitPrice": 50,
"originalUnitPrice": 50,
"totalNetPrice": 50,
"totalPrice": 50,
"originalTotalPrice": 50
},
"taxLines": [
],
"taxBreakdown": {
},
"unitWeight": null,
"duties": {
},
"discountAllocations": [
],
"qtyOrdered": 1,
"qtyShipped": 1,
"qtyRefunded": 0,
"unitAmountDiscounted": 0,
"orderItemNotes": {
},
"itemGroup": null
}
],
"shopTotals": {
"currencyCode": "EUR",
"subTotalPrice": 364.10000000000002,
"totalNetPrice": 369,
"totalPrice": 369,
"totalShippingPrice": 0,
"totalDiscounts": 12.9
},
"customerTotals": {
"currencyCode": "EUR",
"subTotalPrice": 364.10000000000002,
"totalNetPrice": 369,
"totalPrice": 369,
"totalShippingPrice": 0,
"totalDiscounts": 12.9
},
"taxExempt": false,
"taxesIncluded": true,
"taxLines": [
],
"fulfillments": [
{
"id": "gid://shopify/Fulfillment/5752851464499",
"status": "SUCCESS",
"orderName": "#1067",
"shipmentDate": "2025-06-27T08:51:43+00:00",
"lineItems": [
{
"sku": "",
"qty": 1
}
],
"trackingInfo": {
"company": null,
"number": null,
"url": null
},
"notifyCustomer": true,
"locationReference": "gid://shopify/Location/98670936371"
},
{
"id": "gid://shopify/Fulfillment/5752851398963",
"status": "SUCCESS",
"orderName": "#1067",
"shipmentDate": "2025-06-27T08:51:35+00:00",
"lineItems": [
{
"sku": "ABC0015-Green",
"qty": 1
},
{
"sku": "9000Redirect",
"qty": 1
}
],
"trackingInfo": {
"company": "UPS",
"number": "123456789",
"url": "https://www.ups.com/WebTracking?loc=en_US&requester=ST&trackNums=123456789"
},
"notifyCustomer": true,
"locationReference": "gid://shopify/Location/99130769715"
}
],
"transactions": [
{
"id": "gid://shopify/OrderTransaction/7888995123507",
"kind": "SALE",
"status": "SUCCESS",
"processedAt": "2025-06-27T08:08:47Z",
"shopCurrencyCode": "EUR",
"shopAmount": 364.10000000000002,
"customerCurrencyCode": "EUR",
"customerAmount": 364.10000000000002,
"receiptJson": "{\"paid_amount\":\"364.10\"}",
"authorizationCode": "53433",
"gateway": "bogus",
"paymentDetails": {
"avsResultCode": null,
"bin": "1",
"cvvResultCode": null,
"number": "•••• •••• •••• 1",
"company": "Bogus"
}
},
{
"id": "gid://shopify/OrderTransaction/7889032020275",
"kind": "REFUND",
"status": "SUCCESS",
"processedAt": "2025-06-27T08:54:17Z",
"shopCurrencyCode": "EUR",
"shopAmount": 30.100000000000001,
"customerCurrencyCode": "EUR",
"customerAmount": 30.100000000000001,
"receiptJson": "{\"paid_amount\":\"30.10\"}",
"authorizationCode": null,
"gateway": "bogus",
"paymentDetails": {
"avsResultCode": null,
"bin": "1",
"cvvResultCode": null,
"number": "•••• •••• •••• 1",
"company": "Bogus"
}
},
{
"id": "gid://shopify/OrderTransaction/7889056563507",
"kind": "REFUND",
"status": "SUCCESS",
"processedAt": "2025-06-27T09:20:20Z",
"shopCurrencyCode": "EUR",
"shopAmount": 279.10000000000002,
"customerCurrencyCode": "EUR",
"customerAmount": 279.10000000000002,
"receiptJson": "{\"paid_amount\":\"279.10\"}",
"authorizationCode": null,
"gateway": "bogus",
"paymentDetails": {
"avsResultCode": null,
"bin": "1",
"cvvResultCode": null,
"number": "•••• •••• •••• 1",
"company": "Bogus"
}
}
],
"discounts": [
{
"code": "0CXZ7SZP2KRG",
"type": "PERCENTAGE",
"value": 30,
"currency": null,
"targetType": "LINE_ITEM",
"targetSelection": "ENTITLED",
"allocationMethod": "EACH"
}
],
"pickupInStore": false,
"pickupStore": null,
"createdAt": "2025-06-27T08:08:50+00:00",
"updatedAt": "2025-06-27T09:20:21+00:00",
"processedAt": "2025-06-27T08:08:46+00:00",
"closedAt": "2025-06-27T09:20:21+00:00",
"returns": [
{
"id": "gid://shopify/Return/7959314739",
"name": "#1067-R1",
"status": "CLOSED",
"totalQuantity": 1,
"note": "",
"returnItems": [
{
"id": "gid://shopify/ReturnLineItem/13156909363",
"sku": "9000Redirect",
"quantity": 1
}
],
"returnShipping": [
]
},
{
"id": "gid://shopify/Return/7959675187",
"name": "#1067-R2",
"status": "CLOSED",
"totalQuantity": 1,
"note": "",
"returnItems": [
{
"id": "gid://shopify/ReturnLineItem/13157368115",
"sku": "ABC0015-Green",
"quantity": 1
}
],
"returnShipping": [
{
"id": "gid://shopify/Fee/59769139",
"shopAmount": 4.9000000000000004,
"customerAmount": 4.9000000000000004
}
]
}
],
"refunds": [
{
"id": "gid://shopify/Refund/991362613555",
"createdAt": "2025-06-27T08:54:17+00:00",
"refundNote": null,
"returnNote": "",
"returnReference": "gid://shopify/Return/7959314739",
"returnReason": "",
"orderAdjustments": [
],
"refundLineItems": [
{
"id": "gid://shopify/RefundLineItem/615726448947",
"sku": "9000Redirect",
"qtyRefunded": 1,
"shopTotalRefund": {
"currencyCode": "EUR",
"priceSet": 43,
"subTotalPrice": 30.100000000000001,
"totalTaxSet": 0
},
"customerTotalRefund": {
"currencyCode": "EUR",
"priceSet": 43,
"subTotalPrice": 30.100000000000001,
"totalTaxSet": 0
}
}
],
"refundShippingLines": [
]
},
{
"id": "gid://shopify/Refund/991363236147",
"createdAt": "2025-06-27T09:20:20+00:00",
"refundNote": null,
"returnNote": "",
"returnReference": "gid://shopify/Return/7959675187",
"returnReason": "",
"orderAdjustments": [
],
"refundLineItems": [
{
"id": "gid://shopify/RefundLineItem/615727104307",
"sku": "ABC0015-Green",
"qtyRefunded": 1,
"shopTotalRefund": {
"currencyCode": "EUR",
"priceSet": 284,
"subTotalPrice": 284,
"totalTaxSet": 0
},
"customerTotalRefund": {
"currencyCode": "EUR",
"priceSet": 284,
"subTotalPrice": 284,
"totalTaxSet": 0
}
}
],
"refundShippingLines": [
]
}
],
"shippingLines": [
{
"id": "gid://shopify/ShippingLine/5175204413747",
"carrierCode": "Standard",
"shopShippingCost": 0,
"customerShippingCost": 0,
"shopShippingDiscount": 0,
"customerShippingDiscount": 0
}
],
"metafields": [
],
"metadata": {
}
}