Skip to main content

Ordini Attivi

Gli ordini di Shopify vengono recuperati attivamente da Flowlyze.

Le informazioni recuperate sugli ordini includono:

  • il canale di vendita (Channel).
  • le informazioni di base dell'ordine (per esempio nome, identificativo, ecc.).
  • le tasse e i prezzi associati all'ordine.
  • gli sconti presenti nell'ordine.
  • il cliente associato (Customer): informazioni sul cliente associato all'ordine.
  • gli indirizzi di spedizione e fatturazione (ShippingAddress e BillingAddress): dettagli degli indirizzi di spedizione e fatturazione dell'ordine.
  • le transazioni eseguite (Transactions): dati sulle transazioni di pagamento.
  • i fulfillment (Fulfillments e FulfillmentOrders): informazioni che riguardano i fulfiullment dell'ordine.
  • gli articoli presenti (LineItems): dettagli sugli articoli inclusi nell'ordine.
  • le spedizioni (ShippingLines): informazioni sulle spese di spedizione.

L'Adapter aggiunge un tag all'ordine per verificarne l'avvenuta esportazione (EXPORT) ed evitare un invio duplicato verso la destinazione. Questo comportamento consente di sincronizzare un ordine una sola volta, ignorando eventuali aggiornamenti successivi (comportamento opzionale, configurabile tramite header).

Configurazione del Flusso Ordini (attivo)

Dopo aver creato la destinazione, che nel caso di un flusso attivo può essere un database o un endpoint,è necessario configurare il flusso attivando la schedulazione (Schedulation Enabled) e impostandolo come segue:

CampoValoreNote
Namees. active-flow-orderNome della schedulazione
Cron Expression*/5 * * * *Ogni quanto si vuole eseguire il recupero degli ordini (es. */5 * * * * -> ogni 5 minuti)
Source TypehttpIl tipo di sorgente che deve essere utilizzata
Urlhttps://adapter-cluster.sintraoms.com/api/adp/shopify/ingress/get-order-updated-afterUrl dell'endpoint che deve essere richiamato (vedi nota a fine tabella)
MethodGETIl metodo con cui richiamare l'endpoint
Headers :: x-api-keymyauthcodeL'api key di verifica per l'interazione con l'endpoint
Headers :: x-shopify-graphql-urlhttps://SHOPIFYURL.myshopify.com/Url dello shopify con cui connettersi
Headers :: x-shopify-access-tokenshpat_CODICEALFANUMERICOSecret della custom app creata per l'integrazione
Headers :: x-last-order-updated-processed"es. 2024-11-15T12:00:00ZData da cui partire per recuperare gli ordini
Headers :: x-sync-order-oncetrueBooleano per inserire l'ordine una sola volta, non propaga aggiornamenti (default false)
Headers :: channel-code"Your Shopify StoreIl nome o il codice del tuo shop di Shopify
Headers :: x-number-of-orders10Numero di ordini da recuperare ad ogni chiamata (default 10)
info

Sono disponibili due endpoint distinti, che differiscono solo per l'output:

  1. Standard:
  2. Legacy:

Esempio delle informazioni recuperate - comportamento Standard

{
"channel": "demoipaas",
"id": "gid://shopify/Order/6082876866867",
"name": "#1028",
"createdAt": "2024-10-10T08:39:45+00:00",
"processedAt": "2024-10-10T08:39:42+00:00",
"updatedAt": "2024-11-15T11:38:39+00:00",
"cancelledAt": null,
"closedAt": null,
"cancelReason": null,
"currencyCode": "EUR",
"customerLocale": "en-IT",
"note": "note",
"customAttributes": [
{
"key": "orderSynced",
"value": "TRUE"
}
],
"tags": [
],
"app": {
"id": "gid://shopify/App/580111"
},
"confirmed": true,
"confirmationNumber": "8HFPXX16L",
"email": "m.rossi.prova@sintraconsulting.eu",
"estimatedTaxes": false,
"taxesIncluded": true,
"taxExempt": false,
"presentmentCurrencyCode": "EUR",
"test": true,
"clientIp": "151.3.39.97",
"discountApplications": [
{
"allocationMethod": "EACH",
"targetSelection": "ENTITLED",
"targetType": "LINE_ITEM",
"index": 0,
"code": "0CXZ7SZP2KRG",
"value": {
"amount": 0,
"currencyCode": null,
"percentage": 30.0
}
}
],
"currentSubtotalPriceSet": {
"shopMoney": {
"amount": 239.9,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 239.9,
"currencyCode": "EUR"
}
},
"currentTotalPriceSet": {
"shopMoney": {
"amount": 239.9,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 239.9,
"currencyCode": "EUR"
}
},
"currentTotalDiscountsSet": {
"shopMoney": {
"amount": 0.0,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 0.0,
"currencyCode": "EUR"
}
},
"currentTotalTaxSet": {
"shopMoney": {
"amount": 0.0,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 0.0,
"currencyCode": "EUR"
}
},
"currentTotalDutiesSet": null,
"currentTotalAdditionalFeesSet": null,
"originalTotalDutiesSet": null,
"originalTotalAdditionalFeesSet": null,
"totalOutstandingSet": {
"shopMoney": {
"amount": -384.1,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": -384.1,
"currencyCode": "EUR"
}
},
"subtotalPriceSet": {
"shopMoney": {
"amount": 1047.9,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 1047.9,
"currencyCode": "EUR"
}
},
"totalPriceSet": {
"shopMoney": {
"amount": 1047.9,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 1047.9,
"currencyCode": "EUR"
}
},
"totalDiscountsSet": {
"shopMoney": {
"amount": 60.0,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 60.0,
"currencyCode": "EUR"
}
},
"cartDiscountAmountSet": {
"shopMoney": {
"amount": 60.0,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 60.0,
"currencyCode": "EUR"
}
},
"totalTaxSet": {
"shopMoney": {
"amount": 0.0,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 0.0,
"currencyCode": "EUR"
}
},
"totalShippingPriceSet": {
"shopMoney": {
"amount": 0.0,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 0.0,
"currencyCode": "EUR"
}
},
"taxLines": [
],
"customer": {
"id": "gid://shopify/Customer/8047784263987",
"firstName": "Mario",
"lastName": "Rossi",
"email": "m.rossi.prova@sintraconsulting.eu",
"phone": null,
"locale": "en-IT",
"emailMarketingConsent": {
"consentUpdatedAt": null,
"marketingState": "NOT_SUBSCRIBED"
}
},
"billingAddress": {
"name": "Mario Rossi",
"firstName": "Mario",
"lastName": "Rossi",
"address1": "Via Roma 1",
"address2": null,
"city": "Firenze",
"company": null,
"country": "Italy",
"zip": "50123",
"phone": null,
"province": "Firenze",
"provinceCode": "FI",
"countryCodeV2": "IT",
"latitude": "43.772376",
"longitude": "11.2543546"
},
"shippingAddress": {
"name": "Mario Rossi",
"firstName": "Mario",
"lastName": "Rossi",
"address1": "Via Roma 1",
"address2": null,
"city": "Firenze",
"company": null,
"country": "Italy",
"zip": "50123",
"phone": null,
"province": "Firenze",
"provinceCode": "FI",
"countryCodeV2": "IT",
"latitude": "43.772376",
"longitude": "11.2543546"
},
"fulfillments": [
{
"id": "gid://shopify/Fulfillment/5374509580595",
"name": null,
"status": "SUCCESS",
"createdAt": "2024-10-10T10:06:44+00:00",
"updatedAt": null,
"deliveredAt": null,
"displayStatus": "FULFILLED",
"estimatedDeliveryAt": null,
"trackingInfo": null,
"totalQuantity": 0,
"location": null,
"fulfillmentLineItems": null
},
{
"id": "gid://shopify/Fulfillment/5374470127923",
"name": null,
"status": "SUCCESS",
"createdAt": "2024-10-10T09:30:53+00:00",
"updatedAt": null,
"deliveredAt": null,
"displayStatus": "FULFILLED",
"estimatedDeliveryAt": null,
"trackingInfo": null,
"totalQuantity": 0,
"location": null,
"fulfillmentLineItems": null
}
],
"transactions": [
{
"amountSet": {
"shopMoney": {
"amount": 624.0,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 624.0,
"currencyCode": "EUR"
}
},
"authorizationCode": "53433",
"processedAt": "2024-10-10T08:39:42Z",
"status": "SUCCESS",
"errorCode": null,
"gateway": "bogus",
"id": "gid://shopify/OrderTransaction/7345445339443",
"kind": "SALE",
"receiptJson": "{\"paid_amount\":\"624.00\"}",
"parentTransaction": null,
"paymentDetails": {
"avsResultCode": null,
"bin": "1",
"cvvResultCode": null,
"number": "•••• •••• •••• 1",
"company": "Bogus"
}
}
],
"displayFinancialStatus": "PAID",
"displayFulfillmentStatus": "FULFILLED",
"paymentGatewayNames": [
"bogus"
],
"fulfillmentOrders": [
{
"id": "gid://shopify/FulfillmentOrder/7038439817523",
"status": "CLOSED",
"assignedLocation": {
"location": {
"id": "gid://shopify/Location/99130769715"
}
},
"lineItems": [
{
"id": "gid://shopify/FulfillmentOrderLineItem/15473772986675",
"sku": "ABC0015-Black",
"remainingQuantity": 0,
"totalQuantity": 1,
"warnings": [
]
},
{
"id": "gid://shopify/FulfillmentOrderLineItem/15473773019443",
"sku": "ABC0015-Green",
"remainingQuantity": 0,
"totalQuantity": 1,
"warnings": [
]
},
{
"id": "gid://shopify/FulfillmentOrderLineItem/15473773052211",
"sku": "ABC0015-Pink",
"remainingQuantity": 0,
"totalQuantity": 1,
"warnings": [
]
}
]
},
{
"id": "gid://shopify/FulfillmentOrder/7038480744755",
"status": "CLOSED",
"assignedLocation": {
"location": {
"id": "gid://shopify/Location/99130769715"
}
},
"lineItems": [
]
},
{
"id": "gid://shopify/FulfillmentOrder/7038484283699",
"status": "CLOSED",
"assignedLocation": {
"location": {
"id": "gid://shopify/Location/99130769715"
}
},
"lineItems": [
{
"id": "gid://shopify/FulfillmentOrderLineItem/15473830428979",
"sku": "ABC0016-Pink",
"remainingQuantity": 0,
"totalQuantity": 1,
"warnings": [
]
},
{
"id": "gid://shopify/FulfillmentOrderLineItem/15473837113651",
"sku": "0135DB",
"remainingQuantity": 0,
"totalQuantity": 1,
"warnings": [
]
},
{
"id": "gid://shopify/FulfillmentOrderLineItem/15473837146419",
"sku": "0135W",
"remainingQuantity": 0,
"totalQuantity": 1,
"warnings": [
]
}
]
}
],
"lineItems": [
{
"id": "gid://shopify/LineItem/15329691894067",
"sku": "ABC0015-Black",
"name": "ABC0015 Product - Black / One size",
"quantity": 1,
"title": "ABC0015 Product",
"variantTitle": "Black / One size",
"vendor": "Vendor",
"totalDiscountSet": {
"shopMoney": {
"amount": 0.0,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 0.0,
"currencyCode": "EUR"
}
},
"discountedUnitPriceAfterAllDiscountsSet": {
"shopMoney": {
"amount": 140.0,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 140.0,
"currencyCode": "EUR"
}
},
"discountedTotalSet": {
"shopMoney": {
"amount": 200.0,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 200.0,
"currencyCode": "EUR"
}
},
"originalTotalSet": {
"shopMoney": {
"amount": 200.0,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 200.0,
"currencyCode": "EUR"
}
},
"originalUnitPriceSet": {
"shopMoney": {
"amount": 200.0,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 200.0,
"currencyCode": "EUR"
}
},
"discountedUnitPriceSet": {
"shopMoney": {
"amount": 200.0,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 200.0,
"currencyCode": "EUR"
}
},
"product": {
"id": "gid://shopify/Product/9320461205811"
},
"variant": {
"id": "gid://shopify/ProductVariant/49481263350067",
"selectedOptions": [
{
"name": "color",
"value": "Black"
},
{
"name": "size",
"value": "One size"
}
],
"barcode": null,
"price": 200.0,
"compareAtPrice": 200.0
},
"taxLines": [
],
"discountAllocations": [
{
"allocatedAmountSet": {
"shopMoney": {
"amount": 60.0,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 60.0,
"currencyCode": "EUR"
}
},
"discountApplication": {
"index": 0
}
}
],
"customAttributes": [
]
},
{
"id": "gid://shopify/LineItem/15329691926835",
"sku": "ABC0015-Green",
"name": "ABC0015 Product - Green / One size",
"quantity": 1,
"title": "ABC0015 Product",
"variantTitle": "Green / One size",
"vendor": "Vendor",
"totalDiscountSet": {
"shopMoney": {
"amount": 0.0,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 0.0,
"currencyCode": "EUR"
}
},
"discountedUnitPriceAfterAllDiscountsSet": {
"shopMoney": {
"amount": 284.0,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 284.0,
"currencyCode": "EUR"
}
},
"discountedTotalSet": {
"shopMoney": {
"amount": 284.0,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 284.0,
"currencyCode": "EUR"
}
},
"originalTotalSet": {
"shopMoney": {
"amount": 284.0,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 284.0,
"currencyCode": "EUR"
}
},
"originalUnitPriceSet": {
"shopMoney": {
"amount": 284.0,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 284.0,
"currencyCode": "EUR"
}
},
"discountedUnitPriceSet": {
"shopMoney": {
"amount": 284.0,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 284.0,
"currencyCode": "EUR"
}
},
"product": {
"id": "gid://shopify/Product/9320461205811"
},
"variant": {
"id": "gid://shopify/ProductVariant/49481263317299",
"selectedOptions": [
{
"name": "color",
"value": "Green"
},
{
"name": "size",
"value": "One size"
}
],
"barcode": "",
"price": 150.0,
"compareAtPrice": 150.0
},
"taxLines": [
],
"discountAllocations": [
],
"customAttributes": [
]
},
{
"id": "gid://shopify/LineItem/15329691959603",
"sku": "ABC0015-Pink",
"name": "ABC0015 Product - Pink / One size",
"quantity": 1,
"title": "ABC0015 Product",
"variantTitle": "Pink / One size",
"vendor": "Vendor",
"totalDiscountSet": {
"shopMoney": {
"amount": 0.0,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 0.0,
"currencyCode": "EUR"
}
},
"discountedUnitPriceAfterAllDiscountsSet": {
"shopMoney": {
"amount": 200.0,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 200.0,
"currencyCode": "EUR"
}
},
"discountedTotalSet": {
"shopMoney": {
"amount": 200.0,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 200.0,
"currencyCode": "EUR"
}
},
"originalTotalSet": {
"shopMoney": {
"amount": 200.0,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 200.0,
"currencyCode": "EUR"
}
},
"originalUnitPriceSet": {
"shopMoney": {
"amount": 200.0,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 200.0,
"currencyCode": "EUR"
}
},
"discountedUnitPriceSet": {
"shopMoney": {
"amount": 200.0,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 200.0,
"currencyCode": "EUR"
}
},
"product": {
"id": "gid://shopify/Product/9320461205811"
},
"variant": {
"id": "gid://shopify/ProductVariant/49481263284531",
"selectedOptions": [
{
"name": "color",
"value": "Pink"
},
{
"name": "size",
"value": "One size"
}
],
"barcode": "",
"price": 120.0,
"compareAtPrice": null
},
"taxLines": [
],
"discountAllocations": [
],
"customAttributes": [
]
},
{
"id": "gid://shopify/LineItem/15329748812083",
"sku": "ABC0016-Pink",
"name": "ABC0016 Product - Pink",
"quantity": 1,
"title": "ABC0016 Product",
"variantTitle": "Pink",
"vendor": "Vendor",
"totalDiscountSet": {
"shopMoney": {
"amount": 0.0,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 0.0,
"currencyCode": "EUR"
}
},
"discountedUnitPriceAfterAllDiscountsSet": {
"shopMoney": {
"amount": 54.9,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 54.9,
"currencyCode": "EUR"
}
},
"discountedTotalSet": {
"shopMoney": {
"amount": 54.9,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 54.9,
"currencyCode": "EUR"
}
},
"originalTotalSet": {
"shopMoney": {
"amount": 54.9,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 54.9,
"currencyCode": "EUR"
}
},
"originalUnitPriceSet": {
"shopMoney": {
"amount": 54.9,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 54.9,
"currencyCode": "EUR"
}
},
"discountedUnitPriceSet": {
"shopMoney": {
"amount": 54.9,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 54.9,
"currencyCode": "EUR"
}
},
"product": {
"id": "gid://shopify/Product/9336133976371"
},
"variant": {
"id": "gid://shopify/ProductVariant/49541884248371",
"selectedOptions": [
{
"name": "color",
"value": "Pink"
}
],
"barcode": "",
"price": 198.99,
"compareAtPrice": 198.99
},
"taxLines": [
],
"discountAllocations": [
],
"customAttributes": [
]
},
{
"id": "gid://shopify/LineItem/15329755496755",
"sku": "0135DB",
"name": "6 Panel Linear Logo Strapback - Darkblue",
"quantity": 1,
"title": "6 Panel Linear Logo Strapback",
"variantTitle": "Darkblue",
"vendor": "51",
"totalDiscountSet": {
"shopMoney": {
"amount": 0.0,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 0.0,
"currencyCode": "EUR"
}
},
"discountedUnitPriceAfterAllDiscountsSet": {
"shopMoney": {
"amount": 185.0,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 185.0,
"currencyCode": "EUR"
}
},
"discountedTotalSet": {
"shopMoney": {
"amount": 185.0,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 185.0,
"currencyCode": "EUR"
}
},
"originalTotalSet": {
"shopMoney": {
"amount": 185.0,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 185.0,
"currencyCode": "EUR"
}
},
"originalUnitPriceSet": {
"shopMoney": {
"amount": 185.0,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 185.0,
"currencyCode": "EUR"
}
},
"discountedUnitPriceSet": {
"shopMoney": {
"amount": 185.0,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 185.0,
"currencyCode": "EUR"
}
},
"product": {
"id": "gid://shopify/Product/9325820576051"
},
"variant": {
"id": "gid://shopify/ProductVariant/49503958106419",
"selectedOptions": [
{
"name": "color",
"value": "Darkblue"
}
],
"barcode": "5423930393432",
"price": 185.0,
"compareAtPrice": 185.0
},
"taxLines": [
],
"discountAllocations": [
],
"customAttributes": [
]
},
{
"id": "gid://shopify/LineItem/15329755529523",
"sku": "0135W",
"name": "6 Panel Linear Logo Strapback - White",
"quantity": 1,
"title": "6 Panel Linear Logo Strapback",
"variantTitle": "White",
"vendor": "51",
"totalDiscountSet": {
"shopMoney": {
"amount": 0.0,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 0.0,
"currencyCode": "EUR"
}
},
"discountedUnitPriceAfterAllDiscountsSet": {
"shopMoney": {
"amount": 184.0,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 184.0,
"currencyCode": "EUR"
}
},
"discountedTotalSet": {
"shopMoney": {
"amount": 184.0,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 184.0,
"currencyCode": "EUR"
}
},
"originalTotalSet": {
"shopMoney": {
"amount": 184.0,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 184.0,
"currencyCode": "EUR"
}
},
"originalUnitPriceSet": {
"shopMoney": {
"amount": 184.0,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 184.0,
"currencyCode": "EUR"
}
},
"discountedUnitPriceSet": {
"shopMoney": {
"amount": 184.0,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 184.0,
"currencyCode": "EUR"
}
},
"product": {
"id": "gid://shopify/Product/9325820576051"
},
"variant": {
"id": "gid://shopify/ProductVariant/49503958139187",
"selectedOptions": [
{
"name": "color",
"value": "White"
}
],
"barcode": "5423293283980",
"price": 184.0,
"compareAtPrice": 200.0
},
"taxLines": [
],
"discountAllocations": [
],
"customAttributes": [
]
}
],
"shippingLines": [
{
"title": "Standard",
"originalPriceSet": {
"shopMoney": {
"amount": 0.0,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 0.0,
"currencyCode": "EUR"
}
},
"discountedPriceSet": {
"shopMoney": {
"amount": 0.0,
"currencyCode": "EUR"
},
"presentmentMoney": {
"amount": 0.0,
"currencyCode": "EUR"
}
},
"taxLines": [
]
}
]
}

Esempio delle informazioni recuperate - comportamento Legacy

{
"Channel": "demoipaas",
"Id": "gid://shopify/Order/6082876866867",
"Name": "#1028",
"CreatedAt": "2024-10-10T08:39:45+00:00",
"ProcessedAt": "2024-10-10T08:39:42+00:00",
"UpdatedAt": "2024-11-12T10:32:02+00:00",
"CancelledAt": null,
"ClosedAt": null,
"CancelReason": null,
"CurrencyCode": "EUR",
"CustomerLocale": "en-IT",
"Note": "note",
"CustomAttributes": [
{
"Key": "orderSynced",
"Value": "TRUE"
}
],
"Tags": [
"EXPORTED",
"IPaaS Exchange Exported: 2"
],
"App": {
"Id": "gid://shopify/App/580111"
},
"Confirmed": true,
"ConfirmationNumber": "8HFPXX16L",
"Email": "m.rossi.prova@sintraconsulting.eu",
"EstimatedTaxes": false,
"TaxesIncluded": true,
"TaxExempt": false,
"PresentmentCurrencyCode": "EUR",
"Test": true,
"ClientIp": "151.3.39.97",
"DiscountApplications": {
"Nodes": [
{
"AllocationMethod": "EACH",
"TargetSelection": "ENTITLED",
"TargetType": "LINE_ITEM",
"Index": 0,
"Code": "0CXZ7SZP2KRG",
"Value": {
"Amount": 0,
"CurrencyCode": null,
"Percentage": 30.0
}
}
],
"PageInfo": {
"HasNextPage": false,
"EndCursor": "eyJsYXN0X2lkIjowLCJsYXN0X3ZhbHVlIjowfQ=="
}
},
"CurrentSubtotalPriceSet": {
"ShopMoney": {
"Amount": 239.9,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 239.9,
"CurrencyCode": "EUR"
}
},
"CurrentTotalPriceSet": {
"ShopMoney": {
"Amount": 239.9,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 239.9,
"CurrencyCode": "EUR"
}
},
"CurrentTotalDiscountsSet": {
"ShopMoney": {
"Amount": 0.0,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 0.0,
"CurrencyCode": "EUR"
}
},
"CurrentTotalTaxSet": {
"ShopMoney": {
"Amount": 0.0,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 0.0,
"CurrencyCode": "EUR"
}
},
"CurrentTotalDutiesSet": null,
"CurrentTotalAdditionalFeesSet": null,
"OriginalTotalDutiesSet": null,
"OriginalTotalAdditionalFeesSet": null,
"TotalOutstandingSet": {
"ShopMoney": {
"Amount": -384.1,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": -384.1,
"CurrencyCode": "EUR"
}
},
"SubtotalPriceSet": {
"ShopMoney": {
"Amount": 1047.9,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 1047.9,
"CurrencyCode": "EUR"
}
},
"TotalPriceSet": {
"ShopMoney": {
"Amount": 1047.9,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 1047.9,
"CurrencyCode": "EUR"
}
},
"TotalDiscountsSet": {
"ShopMoney": {
"Amount": 60.0,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 60.0,
"CurrencyCode": "EUR"
}
},
"CartDiscountAmountSet": {
"ShopMoney": {
"Amount": 60.0,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 60.0,
"CurrencyCode": "EUR"
}
},
"TotalTaxSet": {
"ShopMoney": {
"Amount": 0.0,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 0.0,
"CurrencyCode": "EUR"
}
},
"TotalShippingPriceSet": {
"ShopMoney": {
"Amount": 0.0,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 0.0,
"CurrencyCode": "EUR"
}
},
"TaxLines": [
],
"Customer": {
"Id": "gid://shopify/Customer/8047784263987",
"FirstName": "Mario",
"LastName": "Rossi",
"Email": "m.rossi.prova@sintraconsulting.eu",
"Phone": null,
"Locale": "en-IT",
"EmailMarketingConsent": {
"ConsentUpdatedAt": null,
"MarketingState": "NOT_SUBSCRIBED"
}
},
"BillingAddress": {
"Name": "Mario Rossi",
"FirstName": "Mario",
"LastName": "Rossi",
"Address1": "Via Roma 1",
"Address2": null,
"City": "Firenze",
"Company": null,
"Country": "Italy",
"Zip": "50123",
"Phone": null,
"Province": "Firenze",
"ProvinceCode": "FI",
"CountryCodeV2": "IT",
"Latitude": "43.772376",
"Longitude": "11.2543546"
},
"ShippingAddress": {
"Name": "Mario Rossi",
"FirstName": "Mario",
"LastName": "Rossi",
"Address1": "Via Roma 1",
"Address2": null,
"City": "Firenze",
"Company": null,
"Country": "Italy",
"Zip": "50123",
"Phone": null,
"Province": "Firenze",
"ProvinceCode": "FI",
"CountryCodeV2": "IT",
"Latitude": "43.772376",
"Longitude": "11.2543546"
},
"Fulfillments": [
{
"Id": "gid://shopify/Fulfillment/5374509580595",
"Name": null,
"Status": "SUCCESS",
"CreatedAt": "2024-10-10T10:06:44+00:00",
"UpdatedAt": null,
"DeliveredAt": null,
"DisplayStatus": "FULFILLED",
"EstimatedDeliveryAt": null,
"TrackingInfo": null,
"TotalQuantity": 0,
"Location": null,
"FulfillmentLineItems": null
},
{
"Id": "gid://shopify/Fulfillment/5374470127923",
"Name": null,
"Status": "SUCCESS",
"CreatedAt": "2024-10-10T09:30:53+00:00",
"UpdatedAt": null,
"DeliveredAt": null,
"DisplayStatus": "FULFILLED",
"EstimatedDeliveryAt": null,
"TrackingInfo": null,
"TotalQuantity": 0,
"Location": null,
"FulfillmentLineItems": null
}
],
"Transactions": [
{
"AmountSet": {
"ShopMoney": {
"Amount": 624.0,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 624.0,
"CurrencyCode": "EUR"
}
},
"AuthorizationCode": "53433",
"ProcessedAt": "2024-10-10T08:39:42Z",
"Status": "SUCCESS",
"ErrorCode": null,
"Gateway": "bogus",
"Id": "gid://shopify/OrderTransaction/7345445339443",
"Kind": "SALE",
"ReceiptJson": "{\"paid_amount\":\"624.00\"}",
"ParentTransaction": null,
"PaymentDetails": {
"AvsResultCode": null,
"Bin": "1",
"CvvResultCode": null,
"Number": "•••• •••• •••• 1",
"Company": "Bogus"
}
}
],
"DisplayFinancialStatus": "PAID",
"DisplayFulfillmentStatus": "FULFILLED",
"PaymentGatewayNames": [
"bogus"
],
"FulfillmentOrders": {
"Nodes": [
{
"Id": "gid://shopify/FulfillmentOrder/7038439817523",
"Status": "CLOSED",
"AssignedLocation": {
"Location": {
"Id": "gid://shopify/Location/99130769715"
}
},
"LineItems": {
"Nodes": [
{
"Id": "gid://shopify/FulfillmentOrderLineItem/15473772986675",
"Sku": "ABC0015-Black",
"RemainingQuantity": 0,
"TotalQuantity": 1,
"Warnings": [
]
},
{
"Id": "gid://shopify/FulfillmentOrderLineItem/15473773019443",
"Sku": "ABC0015-Green",
"RemainingQuantity": 0,
"TotalQuantity": 1,
"Warnings": [
]
},
{
"Id": "gid://shopify/FulfillmentOrderLineItem/15473773052211",
"Sku": "ABC0015-Pink",
"RemainingQuantity": 0,
"TotalQuantity": 1,
"Warnings": [
]
}
],
"PageInfo": {
"HasNextPage": false,
"EndCursor": "eyJsYXN0X2lkIjoxNTQ3Mzc3MzA1MjIxMSwibGFzdF92YWx1ZSI6MTU0NzM3NzMwNTIyMTF9"
}
}
},
{
"Id": "gid://shopify/FulfillmentOrder/7038480744755",
"Status": "CLOSED",
"AssignedLocation": {
"Location": {
"Id": "gid://shopify/Location/99130769715"
}
},
"LineItems": {
"Nodes": [
],
"PageInfo": {
"HasNextPage": false,
"EndCursor": null
}
}
},
{
"Id": "gid://shopify/FulfillmentOrder/7038484283699",
"Status": "CLOSED",
"AssignedLocation": {
"Location": {
"Id": "gid://shopify/Location/99130769715"
}
},
"LineItems": {
"Nodes": [
{
"Id": "gid://shopify/FulfillmentOrderLineItem/15473830428979",
"Sku": "ABC0016-Pink",
"RemainingQuantity": 0,
"TotalQuantity": 1,
"Warnings": [
]
},
{
"Id": "gid://shopify/FulfillmentOrderLineItem/15473837113651",
"Sku": "0135DB",
"RemainingQuantity": 0,
"TotalQuantity": 1,
"Warnings": [
]
},
{
"Id": "gid://shopify/FulfillmentOrderLineItem/15473837146419",
"Sku": "0135W",
"RemainingQuantity": 0,
"TotalQuantity": 1,
"Warnings": [
]
}
],
"PageInfo": {
"HasNextPage": false,
"EndCursor": "eyJsYXN0X2lkIjoxNTQ3MzgzNzE0NjQxOSwibGFzdF92YWx1ZSI6MTU0NzM4MzcxNDY0MTl9"
}
}
}
],
"PageInfo": {
"HasNextPage": true,
"EndCursor": "eyJsYXN0X2lkIjo3MDM4NDM5ODE3NTIzLCJsYXN0X3ZhbHVlIjoiNzAzODQzOTgxNzUyMyJ9"
}
},
"LineItems": {
"Nodes": [
{
"Id": "gid://shopify/LineItem/15329691894067",
"Sku": "ABC0015-Black",
"Name": "ABC0015 Product - Black / One size",
"Quantity": 1,
"Title": "ABC0015 Product",
"VariantTitle": "Black / One size",
"Vendor": "Vendor",
"TotalDiscountSet": {
"ShopMoney": {
"Amount": 0.0,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 0.0,
"CurrencyCode": "EUR"
}
},
"DiscountedUnitPriceAfterAllDiscountsSet": {
"ShopMoney": {
"Amount": 140.0,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 140.0,
"CurrencyCode": "EUR"
}
},
"DiscountedTotalSet": {
"ShopMoney": {
"Amount": 200.0,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 200.0,
"CurrencyCode": "EUR"
}
},
"OriginalTotalSet": {
"ShopMoney": {
"Amount": 200.0,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 200.0,
"CurrencyCode": "EUR"
}
},
"OriginalUnitPriceSet": {
"ShopMoney": {
"Amount": 200.0,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 200.0,
"CurrencyCode": "EUR"
}
},
"DiscountedUnitPriceSet": {
"ShopMoney": {
"Amount": 200.0,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 200.0,
"CurrencyCode": "EUR"
}
},
"Product": {
"Id": "gid://shopify/Product/9320461205811"
},
"Variant": {
"Id": "gid://shopify/ProductVariant/49481263350067",
"SelectedOptions": [
{
"Name": "color",
"Value": "Black"
},
{
"Name": "size",
"Value": "One size"
}
],
"Barcode": null,
"Price": 200.0,
"CompareAtPrice": 200.0
},
"TaxLines": [
],
"DiscountAllocations": [
{
"AllocatedAmountSet": {
"ShopMoney": {
"Amount": 60.0,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 60.0,
"CurrencyCode": "EUR"
}
},
"DiscountApplication": {
"Index": 0
}
}
],
"CustomAttributes": [
]
},
{
"Id": "gid://shopify/LineItem/15329691926835",
"Sku": "ABC0015-Green",
"Name": "ABC0015 Product - Green / One size",
"Quantity": 1,
"Title": "ABC0015 Product",
"VariantTitle": "Green / One size",
"Vendor": "Vendor",
"TotalDiscountSet": {
"ShopMoney": {
"Amount": 0.0,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 0.0,
"CurrencyCode": "EUR"
}
},
"DiscountedUnitPriceAfterAllDiscountsSet": {
"ShopMoney": {
"Amount": 284.0,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 284.0,
"CurrencyCode": "EUR"
}
},
"DiscountedTotalSet": {
"ShopMoney": {
"Amount": 284.0,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 284.0,
"CurrencyCode": "EUR"
}
},
"OriginalTotalSet": {
"ShopMoney": {
"Amount": 284.0,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 284.0,
"CurrencyCode": "EUR"
}
},
"OriginalUnitPriceSet": {
"ShopMoney": {
"Amount": 284.0,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 284.0,
"CurrencyCode": "EUR"
}
},
"DiscountedUnitPriceSet": {
"ShopMoney": {
"Amount": 284.0,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 284.0,
"CurrencyCode": "EUR"
}
},
"Product": {
"Id": "gid://shopify/Product/9320461205811"
},
"Variant": {
"Id": "gid://shopify/ProductVariant/49481263317299",
"SelectedOptions": [
{
"Name": "color",
"Value": "Green"
},
{
"Name": "size",
"Value": "One size"
}
],
"Barcode": "",
"Price": 150.0,
"CompareAtPrice": 150.0
},
"TaxLines": [
],
"DiscountAllocations": [
],
"CustomAttributes": [
]
},
{
"Id": "gid://shopify/LineItem/15329691959603",
"Sku": "ABC0015-Pink",
"Name": "ABC0015 Product - Pink / One size",
"Quantity": 1,
"Title": "ABC0015 Product",
"VariantTitle": "Pink / One size",
"Vendor": "Vendor",
"TotalDiscountSet": {
"ShopMoney": {
"Amount": 0.0,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 0.0,
"CurrencyCode": "EUR"
}
},
"DiscountedUnitPriceAfterAllDiscountsSet": {
"ShopMoney": {
"Amount": 200.0,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 200.0,
"CurrencyCode": "EUR"
}
},
"DiscountedTotalSet": {
"ShopMoney": {
"Amount": 200.0,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 200.0,
"CurrencyCode": "EUR"
}
},
"OriginalTotalSet": {
"ShopMoney": {
"Amount": 200.0,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 200.0,
"CurrencyCode": "EUR"
}
},
"OriginalUnitPriceSet": {
"ShopMoney": {
"Amount": 200.0,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 200.0,
"CurrencyCode": "EUR"
}
},
"DiscountedUnitPriceSet": {
"ShopMoney": {
"Amount": 200.0,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 200.0,
"CurrencyCode": "EUR"
}
},
"Product": {
"Id": "gid://shopify/Product/9320461205811"
},
"Variant": {
"Id": "gid://shopify/ProductVariant/49481263284531",
"SelectedOptions": [
{
"Name": "color",
"Value": "Pink"
},
{
"Name": "size",
"Value": "One size"
}
],
"Barcode": "",
"Price": 120.0,
"CompareAtPrice": null
},
"TaxLines": [
],
"DiscountAllocations": [
],
"CustomAttributes": [
]
},
{
"Id": "gid://shopify/LineItem/15329748812083",
"Sku": "ABC0016-Pink",
"Name": "ABC0016 Product - Pink",
"Quantity": 1,
"Title": "ABC0016 Product",
"VariantTitle": "Pink",
"Vendor": "Vendor",
"TotalDiscountSet": {
"ShopMoney": {
"Amount": 0.0,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 0.0,
"CurrencyCode": "EUR"
}
},
"DiscountedUnitPriceAfterAllDiscountsSet": {
"ShopMoney": {
"Amount": 54.9,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 54.9,
"CurrencyCode": "EUR"
}
},
"DiscountedTotalSet": {
"ShopMoney": {
"Amount": 54.9,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 54.9,
"CurrencyCode": "EUR"
}
},
"OriginalTotalSet": {
"ShopMoney": {
"Amount": 54.9,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 54.9,
"CurrencyCode": "EUR"
}
},
"OriginalUnitPriceSet": {
"ShopMoney": {
"Amount": 54.9,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 54.9,
"CurrencyCode": "EUR"
}
},
"DiscountedUnitPriceSet": {
"ShopMoney": {
"Amount": 54.9,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 54.9,
"CurrencyCode": "EUR"
}
},
"Product": {
"Id": "gid://shopify/Product/9336133976371"
},
"Variant": {
"Id": "gid://shopify/ProductVariant/49541884248371",
"SelectedOptions": [
{
"Name": "color",
"Value": "Pink"
}
],
"Barcode": "",
"Price": 198.99,
"CompareAtPrice": 198.99
},
"TaxLines": [
],
"DiscountAllocations": [
],
"CustomAttributes": [
]
},
{
"Id": "gid://shopify/LineItem/15329755496755",
"Sku": "0135DB",
"Name": "6 Panel Linear Logo Strapback - Darkblue",
"Quantity": 1,
"Title": "6 Panel Linear Logo Strapback",
"VariantTitle": "Darkblue",
"Vendor": "51",
"TotalDiscountSet": {
"ShopMoney": {
"Amount": 0.0,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 0.0,
"CurrencyCode": "EUR"
}
},
"DiscountedUnitPriceAfterAllDiscountsSet": {
"ShopMoney": {
"Amount": 185.0,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 185.0,
"CurrencyCode": "EUR"
}
},
"DiscountedTotalSet": {
"ShopMoney": {
"Amount": 185.0,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 185.0,
"CurrencyCode": "EUR"
}
},
"OriginalTotalSet": {
"ShopMoney": {
"Amount": 185.0,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 185.0,
"CurrencyCode": "EUR"
}
},
"OriginalUnitPriceSet": {
"ShopMoney": {
"Amount": 185.0,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 185.0,
"CurrencyCode": "EUR"
}
},
"DiscountedUnitPriceSet": {
"ShopMoney": {
"Amount": 185.0,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 185.0,
"CurrencyCode": "EUR"
}
},
"Product": {
"Id": "gid://shopify/Product/9325820576051"
},
"Variant": {
"Id": "gid://shopify/ProductVariant/49503958106419",
"SelectedOptions": [
{
"Name": "color",
"Value": "Darkblue"
}
],
"Barcode": "5423930393432",
"Price": 185.0,
"CompareAtPrice": 185.0
},
"TaxLines": [
],
"DiscountAllocations": [
],
"CustomAttributes": [
]
},
{
"Id": "gid://shopify/LineItem/15329755529523",
"Sku": "0135W",
"Name": "6 Panel Linear Logo Strapback - White",
"Quantity": 1,
"Title": "6 Panel Linear Logo Strapback",
"VariantTitle": "White",
"Vendor": "51",
"TotalDiscountSet": {
"ShopMoney": {
"Amount": 0.0,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 0.0,
"CurrencyCode": "EUR"
}
},
"DiscountedUnitPriceAfterAllDiscountsSet": {
"ShopMoney": {
"Amount": 184.0,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 184.0,
"CurrencyCode": "EUR"
}
},
"DiscountedTotalSet": {
"ShopMoney": {
"Amount": 184.0,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 184.0,
"CurrencyCode": "EUR"
}
},
"OriginalTotalSet": {
"ShopMoney": {
"Amount": 184.0,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 184.0,
"CurrencyCode": "EUR"
}
},
"OriginalUnitPriceSet": {
"ShopMoney": {
"Amount": 184.0,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 184.0,
"CurrencyCode": "EUR"
}
},
"DiscountedUnitPriceSet": {
"ShopMoney": {
"Amount": 184.0,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 184.0,
"CurrencyCode": "EUR"
}
},
"Product": {
"Id": "gid://shopify/Product/9325820576051"
},
"Variant": {
"Id": "gid://shopify/ProductVariant/49503958139187",
"SelectedOptions": [
{
"Name": "color",
"Value": "White"
}
],
"Barcode": "5423293283980",
"Price": 184.0,
"CompareAtPrice": 200.0
},
"TaxLines": [
],
"DiscountAllocations": [
],
"CustomAttributes": [
]
}
],
"PageInfo": {
"HasNextPage": true,
"EndCursor": "eyJsYXN0X2lkIjoxNTMyOTc1NTQ5Njc1NSwibGFzdF92YWx1ZSI6MTUzMjk3NTU0OTY3NTV9"
}
},
"ShippingLines": {
"Nodes": [
{
"Title": "Standard",
"OriginalPriceSet": {
"ShopMoney": {
"Amount": 0.0,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 0.0,
"CurrencyCode": "EUR"
}
},
"DiscountedPriceSet": {
"ShopMoney": {
"Amount": 0.0,
"CurrencyCode": "EUR"
},
"PresentmentMoney": {
"Amount": 0.0,
"CurrencyCode": "EUR"
}
},
"TaxLines": [
]
}
],
"PageInfo": {
"HasNextPage": false,
"EndCursor": "eyJsYXN0X2lkIjo0ODY1OTExODgyMDM1LCJsYXN0X3ZhbHVlIjoiNDg2NTkxMTg4MjAzNSJ9"
}
}
}