diff --git a/integrations/predictspring/order-import/createSalesOrderAPISample.json b/integrations/predictspring/order-import/createSalesOrderAPISample.json new file mode 100644 index 000000000..0919efe9d --- /dev/null +++ b/integrations/predictspring/order-import/createSalesOrderAPISample.json @@ -0,0 +1,102 @@ +[ { + "dataList" : [ { + "serviceName" : "createSalesOrder", + "data" : { + "order" : { + "externalId" : "PS00000284", + "orderName" : "PS00000284", + "channel" : "POS_SALES_CHANNEL", + "customerExternalId" : "daysky001yahoo.com", + "firstName" : "Catalin", + "LastName" : "Linlin", + "email" : "daysky001@yahoo.com", + "phone" : "+16154440004", + "priority" : "2", + "orderDate" : "2024-01-12 16:47:01", + "statusId" : "ORDER_APPROVED", + "productStoreId" : "DV_STORE", + "externalProductStoreId" : "DV_STORE", + "currencyCode" : "USD", + "grandTotal" : 454.14, + "orderIdentifications" : [ { + "orderIdentificationTypeId" : "PS_ORD_ID", + "idValue" : "PS00000284" + } ], + "shipGroup" : [ { + "facilityId" : "_NA_", + "shipmentMethodTypeId" : "NEXT_DAY", + "shipTo" : { + "postalAddress" : { + "name" : "Catalin Linlin", + "address1" : "830 bay blvd", + "address2" : "", + "city" : "chula vista", + "state" : "CA", + "postalCode" : "91911", + "country" : "", + "residentialAddress" : "Y" + }, + "email" : { + "infoString" : "daysky001@yahoo.com" + }, + "phoneNumber" : { + "contactNumber" : "+16154440004" + } + }, + "orderFacilityId" : "254", + "maySplit" : "Y", + "carrierPartyId" : "_NA_", + "items" : [ { + "idType" : "UPCA", + "idValue" : "197076109628", + "status" : "ITEM_APPROVED", + "quantity" : 1, + "unitPrice" : 130, + "itemAdjustments" : [ { + "type" : "SALES_TAX", + "amount" : 11.38 + } ] + }, { + "idType" : "UPCA", + "idValue" : "197076109635", + "status" : "ITEM_APPROVED", + "quantity" : 1, + "unitPrice" : 130, + "itemAdjustments" : [ { + "type" : "SALES_TAX", + "amount" : 11.38 + } ] + }, { + "idType" : "UPCA", + "idValue" : "197076109642", + "status" : "ITEM_APPROVED", + "quantity" : 1, + "unitPrice" : 130, + "itemAdjustments" : [ { + "type" : "SALES_TAX", + "amount" : 11.38 + } ] + } ] + } ], + "orderAdjustments" : [ { + "type" : "SHIPPING_CHARGES", + "amount" : 30 + }, { + "type" : "SHIPPING_SALES_TAX", + "amount" : 0 + } ], + "orderPaymentPref" : [ { + "statusId" : "PAYMENT_SETTLED", + "paymentMethodTypeId" : "EXT_MISC", + "maxAmount" : 454.14 + } ] + } + } + }, { + "serviceName" : "createExcludedOrderFacilityForOrder", + "data" : { + "externalId" : "PS00000284", + "orderFacilityId" : "254" + } + } ] +} ] diff --git a/integrations/predictspring/order-import/inStoreOrdersSample.json b/integrations/predictspring/order-import/inStoreOrdersSample.json new file mode 100644 index 000000000..2609a0f57 --- /dev/null +++ b/integrations/predictspring/order-import/inStoreOrdersSample.json @@ -0,0 +1,1037 @@ +{ + "orderId": "PS00000283", + "orderStatus": "COMPLETED", + "status": "COMPLETED", + "creationDate": "2024-01-12 16:45:27", + "email": "daysky001@yahoo.com", + "totalAmount": 424.62, + "isSplitCart": false, + "taxSubTotal": 34.62, + "taxExemption": 0, + "orderSubTotal": 390, + "tenders": [ + { + "merchantId": "DOLCEVITA947078", + "locale": "en_US", + "region": "US", + "orderId": "PS00000283", + "transactionId": "254-ANY-20240112184523-8-3", + "paymentId": "845a07f1-002c-4303-9483-3deac40aef15", + "paymentMethod": "Cash", + "paymentStatus": "APPROVED", + "paymentDevice": "NoReader", + "amountAuthorized": 424.62, + "captureDate": "2024-01-12T16:45:24Z", + "totalRefundedAmount": 0, + "totalAmountCarriedOverForExchange": 0, + "paymentSequenceNumber": 1, + "authStatus": "SALE", + "captureStatus": "CAPTURED", + "cardPresent": false, + "expiryDate": "2025-07-12T00:00:00Z", + "tenderedAmount": 424.62, + "changeBackAmount": 0 + } + ], + "billingAddress": { + "firstName": "Catalin", + "lastName": "Linlin", + "preferred": false + }, + "productList": [ + { + "productId": "VLAKOTA0001050", + "variantGroupId": "LAKOTA", + "name": "LAKOTA HEELS BLACK LEATHER", + "price": 130, + "quantity": 1, + "productTax": { + "totalTax": 11.54, + "taxRates": [ + { + "countryCode": "US", + "taxType": "CITY", + "taxRate": 0.045, + "taxClass": "PC040144", + "taxCode": "US-CITY---NY CITY TAX-0.045", + "taxAmount": 5.85, + "perUnitTaxAmount": 5.85, + "taxName": "NY CITY TAX", + "displayTaxName": "NY CITY TAX - 0.045%", + "printTaxName": "NY CITY TAX - 0.045%" + }, + { + "countryCode": "US", + "taxType": "SPECIAL", + "taxRate": 0.00375, + "taxClass": "PC040144", + "taxCode": "US-SPECIAL---NY SPECIAL TAX359071-0.00375", + "taxAmount": 0.49, + "perUnitTaxAmount": 0.49, + "taxName": "NY SPECIAL TAX359071", + "displayTaxName": "NY SPECIAL TAX359071 - 0.00375%", + "printTaxName": "NY SPECIAL TAX359071 - 0.00375%" + }, + { + "countryCode": "US", + "taxType": "STATE", + "taxRate": 0.04, + "taxClass": "PC040144", + "taxCode": "US-STATE---NY STATE TAX-0.04", + "taxAmount": 5.2, + "perUnitTaxAmount": 5.2, + "taxName": "NY STATE TAX", + "displayTaxName": "NY STATE TAX - 0.04%", + "printTaxName": "NY STATE TAX - 0.04%" + } + ] + }, + "orderStatus": "COMPLETED", + "tax": 11.54, + "orderItemId": "1", + "productTaxCode": "PC040144", + "imageURL": "https://cdn.shopify.com/s/files/1/0037/3807/5202/files/DOLCEVITA-HEELS_LAKOTA_BLACKLEATHER-02.jpg?v=1687897830", + "subTotal": 130, + "total": 141.54, + "orderStatusText": "Completed", + "itemStatusText": "Completed", + "size": "5.0", + "color": "BLACK", + "itemStatus": "COMPLETED", + "isVirtual": false, + "additionalCharges": [], + "gtin": "197076109628", + "fulfillmentType": "IN_STORE", + "fulfillmentSubType": "DEFAULT", + "salesAssociateId": "cat01", + "salesAssociateAttribution": [ + { + "orderItemId": "1", + "storeId": "254", + "storeAssociateId": "cat01", + "contributionPercentage": 100, + "orderId": "PS00000283", + "expiryDate": "2025-07-12T00:00:00Z" + } + ], + "returnsEligibility": "ELIGIBLE_FOR_RETURNS", + "productClass": "Merchandise", + "isReturnRelated": false, + "productCondition": "NEW", + "reasons": [], + "fulfillmentTypeChanged": false, + "omniFulfillmentType": "IN_STORE" + }, + { + "productId": "VLAKOTA0001055", + "variantGroupId": "LAKOTA", + "name": "LAKOTA HEELS BLACK LEATHER", + "price": 130, + "quantity": 1, + "productTax": { + "totalTax": 11.54, + "taxRates": [ + { + "countryCode": "US", + "taxType": "CITY", + "taxRate": 0.045, + "taxClass": "PC040144", + "taxCode": "US-CITY---NY CITY TAX-0.045", + "taxAmount": 5.85, + "perUnitTaxAmount": 5.85, + "taxName": "NY CITY TAX", + "displayTaxName": "NY CITY TAX - 0.045%", + "printTaxName": "NY CITY TAX - 0.045%" + }, + { + "countryCode": "US", + "taxType": "SPECIAL", + "taxRate": 0.00375, + "taxClass": "PC040144", + "taxCode": "US-SPECIAL---NY SPECIAL TAX359071-0.00375", + "taxAmount": 0.49, + "perUnitTaxAmount": 0.49, + "taxName": "NY SPECIAL TAX359071", + "displayTaxName": "NY SPECIAL TAX359071 - 0.00375%", + "printTaxName": "NY SPECIAL TAX359071 - 0.00375%" + }, + { + "countryCode": "US", + "taxType": "STATE", + "taxRate": 0.04, + "taxClass": "PC040144", + "taxCode": "US-STATE---NY STATE TAX-0.04", + "taxAmount": 5.2, + "perUnitTaxAmount": 5.2, + "taxName": "NY STATE TAX", + "displayTaxName": "NY STATE TAX - 0.04%", + "printTaxName": "NY STATE TAX - 0.04%" + } + ] + }, + "orderStatus": "COMPLETED", + "tax": 11.54, + "orderItemId": "2", + "productTaxCode": "PC040144", + "imageURL": "https://cdn.shopify.com/s/files/1/0037/3807/5202/files/DOLCEVITA-HEELS_LAKOTA_BLACKLEATHER-02.jpg?v=1687897830", + "subTotal": 130, + "total": 141.54, + "orderStatusText": "Completed", + "itemStatusText": "Completed", + "size": "5.5", + "color": "BLACK", + "itemStatus": "COMPLETED", + "isVirtual": false, + "additionalCharges": [], + "gtin": "197076109635", + "fulfillmentType": "IN_STORE", + "fulfillmentSubType": "DEFAULT", + "salesAssociateId": "cat01", + "salesAssociateAttribution": [ + { + "orderItemId": "2", + "storeId": "254", + "storeAssociateId": "cat01", + "contributionPercentage": 100, + "orderId": "PS00000283", + "expiryDate": "2025-07-12T00:00:00Z" + } + ], + "returnsEligibility": "ELIGIBLE_FOR_RETURNS", + "productClass": "Merchandise", + "isReturnRelated": false, + "productCondition": "NEW", + "reasons": [], + "fulfillmentTypeChanged": false, + "omniFulfillmentType": "IN_STORE" + }, + { + "productId": "VLAKOTA0001060", + "variantGroupId": "LAKOTA", + "name": "LAKOTA HEELS BLACK LEATHER", + "price": 130, + "quantity": 1, + "productTax": { + "totalTax": 11.54, + "taxRates": [ + { + "countryCode": "US", + "taxType": "CITY", + "taxRate": 0.045, + "taxClass": "PC040144", + "taxCode": "US-CITY---NY CITY TAX-0.045", + "taxAmount": 5.85, + "perUnitTaxAmount": 5.85, + "taxName": "NY CITY TAX", + "displayTaxName": "NY CITY TAX - 0.045%", + "printTaxName": "NY CITY TAX - 0.045%" + }, + { + "countryCode": "US", + "taxType": "SPECIAL", + "taxRate": 0.00375, + "taxClass": "PC040144", + "taxCode": "US-SPECIAL---NY SPECIAL TAX359071-0.00375", + "taxAmount": 0.49, + "perUnitTaxAmount": 0.49, + "taxName": "NY SPECIAL TAX359071", + "displayTaxName": "NY SPECIAL TAX359071 - 0.00375%", + "printTaxName": "NY SPECIAL TAX359071 - 0.00375%" + }, + { + "countryCode": "US", + "taxType": "STATE", + "taxRate": 0.04, + "taxClass": "PC040144", + "taxCode": "US-STATE---NY STATE TAX-0.04", + "taxAmount": 5.2, + "perUnitTaxAmount": 5.2, + "taxName": "NY STATE TAX", + "displayTaxName": "NY STATE TAX - 0.04%", + "printTaxName": "NY STATE TAX - 0.04%" + } + ] + }, + "orderStatus": "COMPLETED", + "tax": 11.54, + "orderItemId": "3", + "productTaxCode": "PC040144", + "imageURL": "https://cdn.shopify.com/s/files/1/0037/3807/5202/files/DOLCEVITA-HEELS_LAKOTA_BLACKLEATHER-02.jpg?v=1687897830", + "subTotal": 130, + "total": 141.54, + "orderStatusText": "Completed", + "itemStatusText": "Completed", + "size": "6.0", + "color": "BLACK", + "itemStatus": "COMPLETED", + "isVirtual": false, + "additionalCharges": [], + "gtin": "197076109642", + "fulfillmentType": "IN_STORE", + "fulfillmentSubType": "DEFAULT", + "salesAssociateId": "cat01", + "salesAssociateAttribution": [ + { + "orderItemId": "3", + "storeId": "254", + "storeAssociateId": "cat01", + "contributionPercentage": 100, + "orderId": "PS00000283", + "expiryDate": "2025-07-12T00:00:00Z" + } + ], + "returnsEligibility": "ELIGIBLE_FOR_RETURNS", + "productClass": "Merchandise", + "isReturnRelated": false, + "productCondition": "NEW", + "reasons": [], + "fulfillmentTypeChanged": false, + "omniFulfillmentType": "IN_STORE" + } + ], + "orderProductList": [ + { + "productId": "VLAKOTA0001050", + "variantGroupId": "LAKOTA", + "name": "LAKOTA HEELS BLACK LEATHER", + "price": 130, + "quantity": 1, + "productTax": { + "totalTax": 11.54, + "taxRates": [ + { + "countryCode": "US", + "taxType": "CITY", + "taxRate": 0.045, + "taxClass": "PC040144", + "taxCode": "US-CITY---NY CITY TAX-0.045", + "taxAmount": 5.85, + "perUnitTaxAmount": 5.85, + "taxName": "NY CITY TAX", + "displayTaxName": "NY CITY TAX - 0.045%", + "printTaxName": "NY CITY TAX - 0.045%" + }, + { + "countryCode": "US", + "taxType": "SPECIAL", + "taxRate": 0.00375, + "taxClass": "PC040144", + "taxCode": "US-SPECIAL---NY SPECIAL TAX359071-0.00375", + "taxAmount": 0.49, + "perUnitTaxAmount": 0.49, + "taxName": "NY SPECIAL TAX359071", + "displayTaxName": "NY SPECIAL TAX359071 - 0.00375%", + "printTaxName": "NY SPECIAL TAX359071 - 0.00375%" + }, + { + "countryCode": "US", + "taxType": "STATE", + "taxRate": 0.04, + "taxClass": "PC040144", + "taxCode": "US-STATE---NY STATE TAX-0.04", + "taxAmount": 5.2, + "perUnitTaxAmount": 5.2, + "taxName": "NY STATE TAX", + "displayTaxName": "NY STATE TAX - 0.04%", + "printTaxName": "NY STATE TAX - 0.04%" + } + ] + }, + "orderStatus": "COMPLETED", + "tax": 11.54, + "orderItemId": "1", + "productTaxCode": "PC040144", + "imageURL": "https://cdn.shopify.com/s/files/1/0037/3807/5202/files/DOLCEVITA-HEELS_LAKOTA_BLACKLEATHER-02.jpg?v=1687897830", + "subTotal": 130, + "total": 141.54, + "orderStatusText": "Completed", + "itemStatusText": "Completed", + "size": "5.0", + "color": "BLACK", + "itemStatus": "COMPLETED", + "isVirtual": false, + "additionalCharges": [], + "gtin": "197076109628", + "fulfillmentType": "IN_STORE", + "fulfillmentSubType": "DEFAULT", + "salesAssociateId": "cat01", + "salesAssociateAttribution": [ + { + "orderItemId": "1", + "storeId": "254", + "storeAssociateId": "cat01", + "contributionPercentage": 100, + "orderId": "PS00000283", + "expiryDate": "2025-07-12T00:00:00Z" + } + ], + "returnsEligibility": "ELIGIBLE_FOR_RETURNS", + "productClass": "Merchandise", + "isReturnRelated": false, + "productCondition": "NEW", + "reasons": [], + "fulfillmentTypeChanged": false, + "omniFulfillmentType": "IN_STORE" + }, + { + "productId": "VLAKOTA0001055", + "variantGroupId": "LAKOTA", + "name": "LAKOTA HEELS BLACK LEATHER", + "price": 130, + "quantity": 1, + "productTax": { + "totalTax": 11.54, + "taxRates": [ + { + "countryCode": "US", + "taxType": "CITY", + "taxRate": 0.045, + "taxClass": "PC040144", + "taxCode": "US-CITY---NY CITY TAX-0.045", + "taxAmount": 5.85, + "perUnitTaxAmount": 5.85, + "taxName": "NY CITY TAX", + "displayTaxName": "NY CITY TAX - 0.045%", + "printTaxName": "NY CITY TAX - 0.045%" + }, + { + "countryCode": "US", + "taxType": "SPECIAL", + "taxRate": 0.00375, + "taxClass": "PC040144", + "taxCode": "US-SPECIAL---NY SPECIAL TAX359071-0.00375", + "taxAmount": 0.49, + "perUnitTaxAmount": 0.49, + "taxName": "NY SPECIAL TAX359071", + "displayTaxName": "NY SPECIAL TAX359071 - 0.00375%", + "printTaxName": "NY SPECIAL TAX359071 - 0.00375%" + }, + { + "countryCode": "US", + "taxType": "STATE", + "taxRate": 0.04, + "taxClass": "PC040144", + "taxCode": "US-STATE---NY STATE TAX-0.04", + "taxAmount": 5.2, + "perUnitTaxAmount": 5.2, + "taxName": "NY STATE TAX", + "displayTaxName": "NY STATE TAX - 0.04%", + "printTaxName": "NY STATE TAX - 0.04%" + } + ] + }, + "orderStatus": "COMPLETED", + "tax": 11.54, + "orderItemId": "2", + "productTaxCode": "PC040144", + "imageURL": "https://cdn.shopify.com/s/files/1/0037/3807/5202/files/DOLCEVITA-HEELS_LAKOTA_BLACKLEATHER-02.jpg?v=1687897830", + "subTotal": 130, + "total": 141.54, + "orderStatusText": "Completed", + "itemStatusText": "Completed", + "size": "5.5", + "color": "BLACK", + "itemStatus": "COMPLETED", + "isVirtual": false, + "additionalCharges": [], + "gtin": "197076109635", + "fulfillmentType": "IN_STORE", + "fulfillmentSubType": "DEFAULT", + "salesAssociateId": "cat01", + "salesAssociateAttribution": [ + { + "orderItemId": "2", + "storeId": "254", + "storeAssociateId": "cat01", + "contributionPercentage": 100, + "orderId": "PS00000283", + "expiryDate": "2025-07-12T00:00:00Z" + } + ], + "returnsEligibility": "ELIGIBLE_FOR_RETURNS", + "productClass": "Merchandise", + "isReturnRelated": false, + "productCondition": "NEW", + "reasons": [], + "fulfillmentTypeChanged": false, + "omniFulfillmentType": "IN_STORE" + }, + { + "productId": "VLAKOTA0001060", + "variantGroupId": "LAKOTA", + "name": "LAKOTA HEELS BLACK LEATHER", + "price": 130, + "quantity": 1, + "productTax": { + "totalTax": 11.54, + "taxRates": [ + { + "countryCode": "US", + "taxType": "CITY", + "taxRate": 0.045, + "taxClass": "PC040144", + "taxCode": "US-CITY---NY CITY TAX-0.045", + "taxAmount": 5.85, + "perUnitTaxAmount": 5.85, + "taxName": "NY CITY TAX", + "displayTaxName": "NY CITY TAX - 0.045%", + "printTaxName": "NY CITY TAX - 0.045%" + }, + { + "countryCode": "US", + "taxType": "SPECIAL", + "taxRate": 0.00375, + "taxClass": "PC040144", + "taxCode": "US-SPECIAL---NY SPECIAL TAX359071-0.00375", + "taxAmount": 0.49, + "perUnitTaxAmount": 0.49, + "taxName": "NY SPECIAL TAX359071", + "displayTaxName": "NY SPECIAL TAX359071 - 0.00375%", + "printTaxName": "NY SPECIAL TAX359071 - 0.00375%" + }, + { + "countryCode": "US", + "taxType": "STATE", + "taxRate": 0.04, + "taxClass": "PC040144", + "taxCode": "US-STATE---NY STATE TAX-0.04", + "taxAmount": 5.2, + "perUnitTaxAmount": 5.2, + "taxName": "NY STATE TAX", + "displayTaxName": "NY STATE TAX - 0.04%", + "printTaxName": "NY STATE TAX - 0.04%" + } + ] + }, + "orderStatus": "COMPLETED", + "tax": 11.54, + "orderItemId": "3", + "productTaxCode": "PC040144", + "imageURL": "https://cdn.shopify.com/s/files/1/0037/3807/5202/files/DOLCEVITA-HEELS_LAKOTA_BLACKLEATHER-02.jpg?v=1687897830", + "subTotal": 130, + "total": 141.54, + "orderStatusText": "Completed", + "itemStatusText": "Completed", + "size": "6.0", + "color": "BLACK", + "itemStatus": "COMPLETED", + "isVirtual": false, + "additionalCharges": [], + "gtin": "197076109642", + "fulfillmentType": "IN_STORE", + "fulfillmentSubType": "DEFAULT", + "salesAssociateId": "cat01", + "salesAssociateAttribution": [ + { + "orderItemId": "3", + "storeId": "254", + "storeAssociateId": "cat01", + "contributionPercentage": 100, + "orderId": "PS00000283", + "expiryDate": "2025-07-12T00:00:00Z" + } + ], + "returnsEligibility": "ELIGIBLE_FOR_RETURNS", + "productClass": "Merchandise", + "isReturnRelated": false, + "productCondition": "NEW", + "reasons": [], + "fulfillmentTypeChanged": false, + "omniFulfillmentType": "IN_STORE" + } + ], + "returnProductList": [], + "orderStatusText": "Completed", + "discount": 0, + "storeId": "254", + "store": { + "storeId": "254", + "name": "DV SOHO STORE", + "addressLine1": "489 Broadway", + "city": "New York", + "state": "NY", + "postalCode": "10012", + "countryCode": "US", + "latitude": 40.722036, + "longitude": -73.99994989999999, + "storeType": "Regular", + "allowTryAtStore": false, + "productScanCodeType": "GTIN", + "timeZoneId": "UTC", + "customString0": "" + }, + "storeAssociateId": "cat01", + "orderSource": "IN_STORE", + "paymentSource": "Cash", + "installationId": "af8cbe73-b523-4633-ab49-d493a5a9eaa4", + "lastDateToReturnTimeStamp": 1712853927000, + "taxRates": [ + { + "taxType": "CITY", + "chargeType": "TAX", + "taxRate": 0.045, + "taxAmount": 17.55, + "taxName": "NY CITY TAX", + "displayTaxName": "NY CITY TAX - 0.045%", + "returnedTaxAmount": 0, + "remainingTaxAmount": 17.55, + "printTaxName": "NY CITY TAX - 0.045%" + }, + { + "taxType": "SPECIAL", + "chargeType": "TAX", + "taxRate": 0.00375, + "taxAmount": 1.47, + "taxName": "NY SPECIAL TAX359071", + "displayTaxName": "NY SPECIAL TAX359071 - 0.00375%", + "returnedTaxAmount": 0, + "remainingTaxAmount": 1.47, + "printTaxName": "NY SPECIAL TAX359071 - 0.00375%" + }, + { + "taxType": "STATE", + "chargeType": "TAX", + "taxRate": 0.04, + "taxAmount": 15.6, + "taxName": "NY STATE TAX", + "displayTaxName": "NY STATE TAX - 0.04%", + "returnedTaxAmount": 0, + "remainingTaxAmount": 15.6, + "printTaxName": "NY STATE TAX - 0.04%" + } + ], + "taxExemptions": [], + "phoneNumber": "+16154440004", + "orderDate": 1705077927000, + "coupons": [], + "merchantPromotionIds": [], + "customerProfile": { + "customerId": "daysky001@yahoo.com", + "email": "daysky001@yahoo.com", + "firstName": "Catalin", + "lastName": "Linlin", + "address": { + "addressLine1": "830 bay blvd", + "city": "chula vista", + "state": "CA", + "postalCode": "91911", + "preferred": false + }, + "phoneMobile": "+16154440004" + }, + "updateDate": 1705078110000, + "taxableAmount": 390, + "cashTotal": 424.62, + "cashPaymentTransactionId": "254-ANY-20240112184523-8-3", + "cashPaymentId": "845a07f1-002c-4303-9483-3deac40aef15", + "fulfillmentType": "IN_STORE", + "children": {}, + "notesList": [], + "rewardAmount": 0, + "cartId": "PS00000283", + "paymentDetails": [ + { + "merchantId": "DOLCEVITA947078", + "locale": "en_US", + "region": "US", + "orderId": "PS00000283", + "transactionId": "254-ANY-20240112184523-8-3", + "paymentId": "845a07f1-002c-4303-9483-3deac40aef15", + "paymentMethod": "Cash", + "paymentStatus": "APPROVED", + "paymentDevice": "NoReader", + "amountAuthorized": 424.62, + "captureDate": "2024-01-12T16:45:24Z", + "totalRefundedAmount": 0, + "totalAmountCarriedOverForExchange": 0, + "paymentSequenceNumber": 1, + "authStatus": "SALE", + "captureStatus": "CAPTURED", + "cardPresent": false, + "expiryDate": "2025-07-12T00:00:00Z", + "tenderedAmount": 424.62, + "changeBackAmount": 0 + } + ], + "refundPaymentDetails": [], + "noReceiptReturns": false, + "twoPhaseCommitReferenceId": "PS00000283", + "orderAttribution": { + "storeRegisterId": "ANY", + "registerTransactionId": "8" + }, + "partiallyPaid": false, + "orderActivityLog": [ + { + "transactionId": "254-ANY-20240112184523-8-3", + "installationId": "af8cbe73-b523-4633-ab49-d493a5a9eaa4", + "storeId": "254", + "transactionDate": "2024-01-12T16:45:27Z", + "transactionType": "CREATE", + "appTransactionId": "8", + "transactionData": { + "transactionId": "254-ANY-20240112184523-8-3", + "transactionTimeStamp": 1705077926877, + "transactionType": "SALE", + "orderId": "PS00000283", + "summary": { + "saleSummary": { + "subTotal": 390, + "tax": 34.62, + "taxExemption": 0, + "total": 424.62, + "netSubTotal": 390 + }, + "refundSummary": { + "subTotal": 0, + "tax": 0, + "taxExemption": 0, + "valueAddedTax": 0, + "total": 0, + "netSubTotal": 0 + }, + "netSummary": { + "subTotal": 390, + "discount": 0, + "transactionDiscountAmount": 0, + "tax": 34.62, + "taxExemption": 0, + "valueAddedTax": 0, + "total": 424.62, + "amountToBeCharged": 424.62, + "netSubTotal": 390, + "inStoreTotal": 424.62 + } + }, + "storeAttribution": { + "transactionId": "8", + "storeAssociateId": "cat01", + "storeId": "254", + "eventId": "3", + "storeRegisterId": "ANY", + "eventTimeStamp": 1705077926227, + "storeAssociateRole": "STORE_MANAGER", + "secondsFromGMT": 7200, + "activePaymentReader": "Adyen", + "tillSessionId": "cd185a9a-3399-4f43-8d19-70021840a3b4", + "tillId": "89629" + }, + "receiptPrintCount": 1, + "taxRates": [ + { + "countryCode": "US", + "taxType": "STATE", + "chargeType": "TAX", + "taxRate": 0.04, + "taxClass": "PC040144", + "taxCode": "US-STATE---NY STATE TAX-0.04", + "taxAmount": 15.6, + "taxName": "NY STATE TAX", + "displayTaxName": "NY STATE TAX - 0.04%", + "printTaxName": "NY STATE TAX - 0.04%" + }, + { + "countryCode": "US", + "taxType": "CITY", + "chargeType": "TAX", + "taxRate": 0.045, + "taxClass": "PC040144", + "taxCode": "US-CITY---NY CITY TAX-0.045", + "taxAmount": 17.55, + "taxName": "NY CITY TAX", + "displayTaxName": "NY CITY TAX - 0.045%", + "printTaxName": "NY CITY TAX - 0.045%" + }, + { + "countryCode": "US", + "taxType": "SPECIAL", + "chargeType": "TAX", + "taxRate": 0.00375, + "taxClass": "PC040144", + "taxCode": "US-SPECIAL---NY SPECIAL TAX359071-0.00375", + "taxAmount": 1.47, + "taxName": "NY SPECIAL TAX359071", + "displayTaxName": "NY SPECIAL TAX359071 - 0.00375%", + "printTaxName": "NY SPECIAL TAX359071 - 0.00375%" + } + ], + "tenders": [ + { + "merchantId": "DOLCEVITA947078", + "locale": "en_US", + "region": "US", + "orderId": "PS00000283", + "transactionId": "254-ANY-20240112184523-8-3", + "paymentId": "845a07f1-002c-4303-9483-3deac40aef15", + "paymentMethod": "Cash", + "paymentStatus": "APPROVED", + "paymentDevice": "NoReader", + "amountAuthorized": 424.62, + "captureDate": "2024-01-12T16:45:24.081Z", + "totalRefundedAmount": 0, + "paymentSequenceNumber": 1, + "authStatus": "SALE", + "captureStatus": "CAPTURED", + "cardPresent": false, + "expiryDate": "2025-07-12T00:00:00Z", + "tenderedAmount": 424.62, + "changeBackAmount": 0 + } + ], + "productList": [ + { + "productId": "VLAKOTA0001050", + "variantGroupId": "LAKOTA", + "name": "LAKOTA HEELS BLACK LEATHER", + "price": 130, + "quantity": 1, + "productTax": { + "totalTax": 11.54, + "taxRates": [ + { + "countryCode": "US", + "taxType": "STATE", + "taxRate": 0.04, + "taxClass": "PC040144", + "taxCode": "US-STATE---NY STATE TAX-0.04", + "taxAmount": 5.2, + "perUnitTaxAmount": 5.2, + "taxName": "NY STATE TAX" + }, + { + "countryCode": "US", + "taxType": "CITY", + "taxRate": 0.045, + "taxClass": "PC040144", + "taxCode": "US-CITY---NY CITY TAX-0.045", + "taxAmount": 5.85, + "perUnitTaxAmount": 5.85, + "taxName": "NY CITY TAX" + }, + { + "countryCode": "US", + "taxType": "SPECIAL", + "taxRate": 0.00375, + "taxClass": "PC040144", + "taxCode": "US-SPECIAL---NY SPECIAL TAX359071-0.00375", + "taxAmount": 0.49, + "perUnitTaxAmount": 0.49, + "taxName": "NY SPECIAL TAX359071" + } + ], + "taxableAmount": 130 + }, + "tax": 11.54, + "orderItemId": "1", + "imageURL": "https://cdn.shopify.com/s/files/1/0037/3807/5202/files/DOLCEVITA-HEELS_LAKOTA_BLACKLEATHER-02.jpg?v=1687897830", + "subTotal": 130, + "total": 141.54, + "size": "5.0", + "color": "BLACK", + "isVirtual": false, + "gtin": "197076109628", + "fulfillmentType": "IN_STORE", + "fulfillmentSubType": "DEFAULT", + "salesAssociateId": "cat01", + "salesAssociateAttribution": [ + { + "storeAssociateId": "cat01" + } + ], + "productClass": "Merchandise", + "isReturnRelated": false, + "productCondition": "NEW", + "fulfillmentTypeChanged": false, + "omniFulfillmentType": "IN_STORE" + }, + { + "productId": "VLAKOTA0001055", + "variantGroupId": "LAKOTA", + "name": "LAKOTA HEELS BLACK LEATHER", + "price": 130, + "quantity": 1, + "productTax": { + "totalTax": 11.54, + "taxRates": [ + { + "countryCode": "US", + "taxType": "STATE", + "taxRate": 0.04, + "taxClass": "PC040144", + "taxCode": "US-STATE---NY STATE TAX-0.04", + "taxAmount": 5.2, + "perUnitTaxAmount": 5.2, + "taxName": "NY STATE TAX" + }, + { + "countryCode": "US", + "taxType": "CITY", + "taxRate": 0.045, + "taxClass": "PC040144", + "taxCode": "US-CITY---NY CITY TAX-0.045", + "taxAmount": 5.85, + "perUnitTaxAmount": 5.85, + "taxName": "NY CITY TAX" + }, + { + "countryCode": "US", + "taxType": "SPECIAL", + "taxRate": 0.00375, + "taxClass": "PC040144", + "taxCode": "US-SPECIAL---NY SPECIAL TAX359071-0.00375", + "taxAmount": 0.49, + "perUnitTaxAmount": 0.49, + "taxName": "NY SPECIAL TAX359071" + } + ], + "taxableAmount": 130 + }, + "tax": 11.54, + "orderItemId": "2", + "imageURL": "https://cdn.shopify.com/s/files/1/0037/3807/5202/files/DOLCEVITA-HEELS_LAKOTA_BLACKLEATHER-02.jpg?v=1687897830", + "subTotal": 130, + "total": 141.54, + "size": "5.5", + "color": "BLACK", + "isVirtual": false, + "gtin": "197076109635", + "fulfillmentType": "IN_STORE", + "fulfillmentSubType": "DEFAULT", + "salesAssociateId": "cat01", + "salesAssociateAttribution": [ + { + "storeAssociateId": "cat01" + } + ], + "productClass": "Merchandise", + "isReturnRelated": false, + "productCondition": "NEW", + "fulfillmentTypeChanged": false, + "omniFulfillmentType": "IN_STORE" + }, + { + "productId": "VLAKOTA0001060", + "variantGroupId": "LAKOTA", + "name": "LAKOTA HEELS BLACK LEATHER", + "price": 130, + "quantity": 1, + "productTax": { + "totalTax": 11.54, + "taxRates": [ + { + "countryCode": "US", + "taxType": "STATE", + "taxRate": 0.04, + "taxClass": "PC040144", + "taxCode": "US-STATE---NY STATE TAX-0.04", + "taxAmount": 5.2, + "perUnitTaxAmount": 5.2, + "taxName": "NY STATE TAX" + }, + { + "countryCode": "US", + "taxType": "CITY", + "taxRate": 0.045, + "taxClass": "PC040144", + "taxCode": "US-CITY---NY CITY TAX-0.045", + "taxAmount": 5.85, + "perUnitTaxAmount": 5.85, + "taxName": "NY CITY TAX" + }, + { + "countryCode": "US", + "taxType": "SPECIAL", + "taxRate": 0.00375, + "taxClass": "PC040144", + "taxCode": "US-SPECIAL---NY SPECIAL TAX359071-0.00375", + "taxAmount": 0.49, + "perUnitTaxAmount": 0.49, + "taxName": "NY SPECIAL TAX359071" + } + ], + "taxableAmount": 130 + }, + "tax": 11.54, + "orderItemId": "3", + "imageURL": "https://cdn.shopify.com/s/files/1/0037/3807/5202/files/DOLCEVITA-HEELS_LAKOTA_BLACKLEATHER-02.jpg?v=1687897830", + "subTotal": 130, + "total": 141.54, + "size": "6.0", + "color": "BLACK", + "isVirtual": false, + "gtin": "197076109642", + "fulfillmentType": "IN_STORE", + "fulfillmentSubType": "DEFAULT", + "salesAssociateId": "cat01", + "salesAssociateAttribution": [ + { + "storeAssociateId": "cat01" + } + ], + "productClass": "Merchandise", + "isReturnRelated": false, + "productCondition": "NEW", + "fulfillmentTypeChanged": false, + "omniFulfillmentType": "IN_STORE" + } + ], + "numberOfLineItems": 3, + "receiptId": "254-ANY-2024-00000014", + "store": { + "storeId": "254", + "name": "DV SOHO STORE", + "addressLine1": "489 Broadway", + "city": "New York", + "state": "NY", + "postalCode": "10012", + "countryCode": "US", + "latitude": 40.722036, + "longitude": -73.99994989999999, + "storeType": "Regular", + "allowTryAtStore": false, + "productScanCodeType": "GTIN", + "timeZoneId": "UTC", + "customString0": "" + }, + "profile": { + "customerId": "daysky001@yahoo.com", + "email": "daysky001@yahoo.com", + "firstName": "Catalin", + "lastName": "Linlin", + "address": { + "addressLine1": "830 bay blvd", + "city": "chula vista", + "state": "CA", + "postalCode": "91911", + "preferred": false + }, + "phoneMobile": "+16154440004" + }, + "productPriceAdjustments": [], + "customerEmail": "daysky001@yahoo.com", + "offlineMode": false, + "storeAssociate": { + "storeAssociateID": "cat01", + "storeAssociatePasswordFlag": false, + "merchantPasswordFlag": false, + "storeAssociateSecretFlag": false, + "incorrectLoginCount": 0, + "firstLoginPasswordReset": false + }, + "noReceiptReturns": false + }, + "s3KeyTransactionData": "STAGING/DOLCEVITA947078/en_US/US/2024/1/PS00000283_254-ANY-20240112184523-8-3.txt", + "transactionStartDate": "2024-01-12T16:44:28Z", + "receiptPrintCount": 0, + "orderId": "PS00000283", + "expiryDate": "2025-07-12T00:00:00Z" + } + ], + "editOrderMode": false, + "availableDate": 0, + "totalAssembledQty": 0, + "totalBoxedQty": 0, + "orderFiscalData": [], + "offlineMode": false, + "productPriceAdjustments": [] +} \ No newline at end of file diff --git a/integrations/predictspring/order-import/orderImport.md b/integrations/predictspring/order-import/orderImport.md new file mode 100644 index 000000000..d54d59a44 --- /dev/null +++ b/integrations/predictspring/order-import/orderImport.md @@ -0,0 +1,132 @@ +# Order Import and Inventory Update From Predict Spring to HotWax + +This integration flow is responsible for importing POS orders and the subsequent inventory updates within the OMS. + +Predict Spring sends two types of Order TLog JSON of POS orders using webhook, In Store orders and Send Sale orders. + +HotWax reads and imports these orders into the OMS, including their associated inventory updates. However, inventory updates are exclusively performed for In Store Orders. + +Send Sale orders are created in the OMS with an approved status, indicating they are ready to be brokered. During brokering, a Send Sale order will not be brokered again at the facility from which it originated. + +In Store orders are fulfilled orders and are created as completed in the OMS. Additionally, for In Store orders, inventory updates are also be performed in the OMS to maintain accuracy of the inventory. + +### Implementation Flow +The Order Import flow is prepared in the integration layer using Apache NiFi. + +Apache NiFi listens the webhook requests coming from Predict Spring, authenticates them, and sends responses accordingly. + +If the request is successfully authenticated, NiFi sends a success code 200, otherwise, it returns a 401 error code. + +Valid requests are then further processed to transform the Order TLog JSON into the required format for creating orders and update their inventory in the OMS. + +#### NiFi Flow +In the NiFi Flow set up, below processors are used in Apache NiFi. + +1. **HandleHttpRequest** + 1. The HandleHttpRequest processor is used to listen for webhook requests coming from Predict Spring. + +2. **ExecuteStreamCommand** + 1. The ExecuteStreamCommand processor is used to authenticate the request and generate the response accordingly. If the request is successfully authenticated, the processor returns 'Successful', otherwise, it returns 'Failed' in the output message. + +3. **RouteOnAttribute** + 1. The RouteOnAttribute processor is used to differentiate responses. If the response is successful, it will be routed to the successful relationship, otherwise, it will be routed to the failure relationship. + +4. **HandleHttpResponse** + 1. The HandleHttpResponse processor is used to send responses back to Predict Spring. If the request is successfully authenticated, it sends a success code 200, and for failed requests, it returns a 401 error code. + +5. **QueryRecord** + 1. The QueryRecord processor is used to differentiate between the Order TLog JSON and Return TLog JSON, this also used to filter the In Store Order TLogs and Send Sale Order TLogs. + 2. Predict Spring will use a single endpoint to send both the Order TLogs and Return TLogs. This differentiation is necessary to ensure the correct processing of order creation in the OMS. + +6. **JoltTransformJSON** + 1. The JoltTransformJSON processor is used to transform the Order TLog JSON. + 2. In the NiFi flow there are two JoltTransformJSON processors are used. + 3. One processor is dedicated to transform the Order TLog JSON to prepare the required format for importing the orders in the OMS. + 4. The other processor is specifically used to transform the Order TLog JSON for updating the inventory of In Store orders in the OMS. + +7. **ConvertRecord** + 1. The ConvertRecord processor is used to convert the Inventory Update JSON file into CSV format. + +8. **UpdateAttribute** + 1. Here the file name is prepared for the file by appending the current time as per the timezone configured in OMS. This helps in identifying the time at which file is being kept for OMS. + 2. In the NiFi flow there are two JoltTransformJSON processors are used, one processor is dedicated to prepare the name of the file which will be used to create orders in the OMS. + 3. The other processor is used to prepare the name of the file which will be used to update the inventory in the OMS. + +9. **PutSFTP** + 1. The PutSFTP processor is used to put the prepared files at the SFTP. + 2. In the NiFi flow there are two PutSFTP processors are used, one processor will put the Create Orders File on SFTP which will be used to create orders in the OMS. + 3. The other processor will put the inventory file on SFTP which will be used to update the inventory in the OMS. + +### OMS Feed File details + +#### FTP locations + +Path for OMS to consume the Create Orders File +This path represents the sftp location where the Create Orders File is kept to consume the file and import the orders in the OMS. +```text +/home/${sftp-username}/POS/PredictSpring/PS_to_HC/SalesOrder/dvus +``` + +Path for OMS to consume the Inventory Update File +This path represents the sftp location where the Inventory Update File is kept to consume the file and update the inventory for In Store orders in the OMS. +```text +/home/${sftp-username}/hotwax/ReadOrderTlogAndUpdateInventory +``` + +#### Sample Feed File Name Format + +File format of Create Orders File +```text +${clientName}_OrderTLog_2023-12-20-00_46_40_660.json +``` + +File format of Inventory Update File +```text +${clientName}_InventoryUpdate_2023-12-20-00_46_40_660.json +``` + +### Data Model Mapping for Order Import in OMS +| OMS Field | Type | Description | Predict Spring Field Mapping | +|------------------|----------|--------------------|-----------------------------------| +| externalId | string | The unique ID assigned to an order in the external system. | orderId | +| orderName | string | Name of the order. | orderId | +| channel | string | The sales channel of the order. | Used a default value as **POS_SALES_CHANNEL** | +| customerId | string | The unique ID of the customer. | Used a defaule value as **NA** for the guest check type of orders. | +| customerExternalId | string | The unique ID of the customer in the external system. | customerProfile.customerId | +| firstName | string | The firstName of the customer. | billingAddress.firstName | +| lastName | string | The lastName of the customer. | billingAddress.lastName | +| email | string | The email ID of the customer. | customerProfile.email | +| phone | string | The phone of the customer. | customerProfile.phoneMobile | +| priority | string | The priority of the order. | Used default value as **2** | +| orderDate | string | The date of the order. | creationDate | +| statusId | string | The status ID of the order. | 1. The value for this field is prepared using the configurable parameter **default.instore.order.status** and **default.online.order.status** in NiFi.
2. Sample value - **ORDER_APPROVED** and/or **ORDER_COMPLETED**
3. In Store type of orders will be created as in the ORDER_COMPLETED status.
4. Send Sale type of orders will be created as in the ORDER_APPROVED | +| currencyCode | string | The currency of the order. | 1. The value for this field is prepared using the configurable parameter **default.currency** in NiFi.
2. Sample Value - **USD** | +| grandTotal | number | The grand total of the order. | totalAmount | +| orderIdentifications.orderIdentificationTypeId | string | The type of the Order Identification. | 1. The value for this field is prepared using the configurable parameter **default.order.identification** in NiFi.
2. Sample Value - **PS_ORD_ID** | +| orderIdentifications.idValue | string | The Id value of the Order Identification. | orderId | +| shipGroup.orderFacilityId | string | The Facility ID assign to an order in the external sysytem. | storeId
1. **NOTE:** While creating send sale orders the orderFacilityId will be used to exclude the facility Id for this order, to ensure that during brokering a Send Sale order will not be brokered again at the facility from which it originated. | +| shipGroup.maySplit | string | This attribute defines that shipGroup can split or not. | 1. The value for this field is prepared using the configurable parameter **default.may.split** in NiFi.
2. Sample Value - **Y** | +| shipGroup.carrierPartyId | string | The carrier party ID of the ship to address. | 1. Used default value as **NA**. | +| shipGroup.shipmentMethodTypeId | string | The Shipment Method Type ID of ship to address. | shippingName | +| shipGroup.shipTo.postalAddress.name | string | The customer name of ship to address. | shippingAddress.customerName | +| shipGroup.shipTo.postalAddress.address1 | string | The address1 of ship to address. | shippingAddress.addressLine1 | +| shipGroup.shipTo.postalAddress.address2 | string | The address2 of ship to address. | shippingAddress.addressLine2 | +| shipGroup.shipTo.postalAddress.city | string | The city of ship to address. | shippingAddress.city | +| shipGroup.shipTo.postalAddress.state | string | The state of ship to address. | shippingAddress.state | +| shipGroup.shipTo.postalAddress.postalCode | string | The postalCode of ship to address. | shippingAddress.postalCode | +| shipGroup.shipTo.postalAddress.country | string | The country of ship to address. | shippingAddress.country | +| shipGroup.shipTo.postalAddress.residentialAddress | string | The attribute defines if the address is residential address of ship to address. | 1. The value for this field is prepared using the configurable parameter **default.residential.address** in NiFi.
2. Sample Value - **Y** | +| shipGroup.shipTo.email.infoString | string | The email of ship to address. | shippingAddress.emailAddress | +| shipGroup.shipTo.phoneNumber.contactNumber | string | The phone number of ship to address. | shippingAddress.phone | +| shipGroup.items.idValue | string | The identifier of the product. | orderProductList.gtin | +| shipGroup.items.idType | string | The type of the product identifier. | Used default value as **UPCA**. | +| shipGroup.items.status | string | The status of the item. | 1. The value for this field is prepared using the configurable parameter **default.instore.item.status** and **default.online.item.status** in NiFi.
2. Sample value - **ITEM_APPROVED** and/or **ITEM_COMPLETED**
3. In Store type of orders will be created as in the ITEM_COMPLETED status.
4. Send Sale type of orders will be created as in the ITEM_APPROVED | +| shipGroup.items.quantity | number | The quantity of the item. | Used default value as **1**. | +| shipGroup.items.unitPrice | string | The unit price of the item. | orderProductList.quantity | +| shipGroup.items.itemAdjustments.type | string | The adjustment type of the item. | Used default value as **SALES_TAX** | +| shipGroup.items.itemAdjustments.amount | number | The adjustment amount of the item. | orderProductList.productTax.totalTax | +| orderAdjustments.type | string | The adjustment type of the order. | Used default value as **SHIPPING_CHARGES** and/or **SHIPPING_SALES_TAX**
**NOTE:** 1. For **shippingSubTotal** used the SHIPPING_CHARGES as a adjustment type and for **shippingTax** used the SHIPPING_SALES_TAX as a adjustment type of an order. | +| orderAdjustments.amount | number | The adjustment amount of an order. | shippingSubTotal and/or shippingTax | +| orderPaymentPref.paymentMethodTypeId | string | The Payment method type of an order. | tenders.paymentMethod | +| orderPaymentPref.maxAmount | number | The max amount of the payment of an order | tenders.amountAuthorized | +| orderPaymentPref.statusId | string | The status of the payment of an order. | 1. The value for this field is prepared using the configurable parameter **default.payment.status** in NiFi.
2. Sample Value - **PAYMENT_SETTLED** | \ No newline at end of file diff --git a/integrations/predictspring/order-import/sendSaleOrdersSample.json b/integrations/predictspring/order-import/sendSaleOrdersSample.json new file mode 100644 index 000000000..79e581eb3 --- /dev/null +++ b/integrations/predictspring/order-import/sendSaleOrdersSample.json @@ -0,0 +1,1333 @@ +{ + "orderId": "PS00000284", + "requestId": "cat", + "orderStatus": "COMPLETED", + "status": "COMPLETED", + "creationDate": "2024-01-12 16:47:01", + "email": "daysky001@yahoo.com", + "totalAmount": 454.14, + "shippingSubTotal": 30, + "shippingTax": 0, + "isSplitCart": false, + "taxSubTotal": 34.14, + "taxExemption": 0, + "orderSubTotal": 390, + "paymentCards": [ + { + "isManualCardEntry": false + } + ], + "tenders": [ + { + "merchantId": "DOLCEVITA947078", + "locale": "en_US", + "region": "US", + "orderId": "PS00000284", + "transactionId": "254-ANY-20240112184656-9-3", + "paymentId": "e3e6205a-ab71-48da-be50-1ac465b9bf01", + "paymentMethod": "Miscellaneous", + "paymentStatus": "APPROVED", + "paymentDevice": "NoReader", + "amountAuthorized": 454.14, + "captureDate": "2024-01-12T16:46:56Z", + "requestId": "cat", + "totalRefundedAmount": 0, + "totalAmountCarriedOverForExchange": 0, + "paymentSequenceNumber": 1, + "accountNumber": "cat", + "externalPaymentSystemId": "External", + "externalPaymentReferenceId": "cat", + "authStatus": "SALE", + "captureStatus": "CAPTURED", + "cardPresent": false, + "expiryDate": "2025-07-12T00:00:00Z" + } + ], + "shippingAddress": { + "firstName": "Catalin", + "lastName": "Linlin", + "addressLine1": "830 bay blvd", + "addressLine2": "", + "city": "chula vista", + "state": "CA", + "postalCode": "91911", + "countryCode": "", + "phone": "+16154440004", + "preferred": false, + "emailAddress": "daysky001@yahoo.com" + }, + "billingAddress": { + "firstName": "Catalin", + "lastName": "Linlin", + "preferred": false + }, + "productList": [ + { + "productId": "VLAKOTA0001050", + "variantGroupId": "LAKOTA", + "name": "LAKOTA HEELS BLACK LEATHER", + "price": 130, + "quantity": 1, + "productTax": { + "totalTax": 11.38, + "taxRates": [ + { + "countryCode": "US", + "taxType": "CITY", + "taxRate": 0.01, + "taxClass": "PC040144", + "taxCode": "US-CITY---CA CITY TAX-0.01", + "taxAmount": 1.3, + "perUnitTaxAmount": 1.3, + "taxName": "CA CITY TAX", + "displayTaxName": "CA CITY TAX - 0.01%", + "printTaxName": "CA CITY TAX - 0.01%" + }, + { + "countryCode": "US", + "taxType": "COUNTY", + "taxRate": 0.0025, + "taxClass": "PC040144", + "taxCode": "US-COUNTY---CA COUNTY TAX-0.0025", + "taxAmount": 0.33, + "perUnitTaxAmount": 0.33, + "taxName": "CA COUNTY TAX", + "displayTaxName": "CA COUNTY TAX - 0.0025%", + "printTaxName": "CA COUNTY TAX - 0.0025%" + }, + { + "countryCode": "US", + "taxType": "SPECIAL", + "taxRate": 0.005, + "taxClass": "PC040144", + "taxCode": "US-SPECIAL---CA SPECIAL TAXEMBD0 0.005000-0.005", + "taxAmount": 0.65, + "perUnitTaxAmount": 0.65, + "taxName": "CA SPECIAL TAXEMBD0 0.005000", + "displayTaxName": "CA SPECIAL TAXEMBD0 0.005000 - 0.005%", + "printTaxName": "CA SPECIAL TAXEMBD0 0.005000 - 0.005%" + }, + { + "countryCode": "US", + "taxType": "SPECIAL", + "taxRate": 0.01, + "taxClass": "PC040144", + "taxCode": "US-SPECIAL---CA SPECIAL TAXEMTU0 0.010000-0.01", + "taxAmount": 1.3, + "perUnitTaxAmount": 1.3, + "taxName": "CA SPECIAL TAXEMTU0 0.010000", + "displayTaxName": "CA SPECIAL TAXEMTU0 0.010000 - 0.01%", + "printTaxName": "CA SPECIAL TAXEMTU0 0.010000 - 0.01%" + }, + { + "countryCode": "US", + "taxType": "STATE", + "taxRate": 0.06, + "taxClass": "PC040144", + "taxCode": "US-STATE---CA STATE TAX-0.06", + "taxAmount": 7.8, + "perUnitTaxAmount": 7.8, + "taxName": "CA STATE TAX", + "displayTaxName": "CA STATE TAX - 0.06%", + "printTaxName": "CA STATE TAX - 0.06%" + } + ] + }, + "orderStatus": "COMPLETED", + "tax": 11.38, + "orderItemId": "1", + "productTaxCode": "PC040144", + "imageURL": "https://cdn.shopify.com/s/files/1/0037/3807/5202/files/DOLCEVITA-HEELS_LAKOTA_BLACKLEATHER-02.jpg?v=1687897830", + "subTotal": 130, + "total": 141.38, + "orderStatusText": "Completed", + "itemStatusText": "Completed", + "size": "5.0", + "color": "BLACK", + "itemStatus": "COMPLETED", + "isVirtual": false, + "additionalCharges": [], + "gtin": "197076109628", + "fulfillmentType": "ONLINE", + "fulfillmentSubType": "DEFAULT", + "salesAssociateId": "cat01", + "salesAssociateAttribution": [ + { + "orderItemId": "1", + "storeId": "254", + "storeAssociateId": "cat01", + "contributionPercentage": 100, + "orderId": "PS00000284", + "expiryDate": "2025-07-12T00:00:00Z" + } + ], + "returnsEligibility": "ELIGIBLE_FOR_RETURNS", + "productClass": "Merchandise", + "isReturnRelated": false, + "productCondition": "NEW", + "reasons": [], + "fulfillmentTypeChanged": false, + "omniFulfillmentType": "SHIP_TO_HOME" + }, + { + "productId": "VLAKOTA0001055", + "variantGroupId": "LAKOTA", + "name": "LAKOTA HEELS BLACK LEATHER", + "price": 130, + "quantity": 1, + "productTax": { + "totalTax": 11.38, + "taxRates": [ + { + "countryCode": "US", + "taxType": "CITY", + "taxRate": 0.01, + "taxClass": "PC040144", + "taxCode": "US-CITY---CA CITY TAX-0.01", + "taxAmount": 1.3, + "perUnitTaxAmount": 1.3, + "taxName": "CA CITY TAX", + "displayTaxName": "CA CITY TAX - 0.01%", + "printTaxName": "CA CITY TAX - 0.01%" + }, + { + "countryCode": "US", + "taxType": "COUNTY", + "taxRate": 0.0025, + "taxClass": "PC040144", + "taxCode": "US-COUNTY---CA COUNTY TAX-0.0025", + "taxAmount": 0.33, + "perUnitTaxAmount": 0.33, + "taxName": "CA COUNTY TAX", + "displayTaxName": "CA COUNTY TAX - 0.0025%", + "printTaxName": "CA COUNTY TAX - 0.0025%" + }, + { + "countryCode": "US", + "taxType": "SPECIAL", + "taxRate": 0.005, + "taxClass": "PC040144", + "taxCode": "US-SPECIAL---CA SPECIAL TAXEMBD0 0.005000-0.005", + "taxAmount": 0.65, + "perUnitTaxAmount": 0.65, + "taxName": "CA SPECIAL TAXEMBD0 0.005000", + "displayTaxName": "CA SPECIAL TAXEMBD0 0.005000 - 0.005%", + "printTaxName": "CA SPECIAL TAXEMBD0 0.005000 - 0.005%" + }, + { + "countryCode": "US", + "taxType": "SPECIAL", + "taxRate": 0.01, + "taxClass": "PC040144", + "taxCode": "US-SPECIAL---CA SPECIAL TAXEMTU0 0.010000-0.01", + "taxAmount": 1.3, + "perUnitTaxAmount": 1.3, + "taxName": "CA SPECIAL TAXEMTU0 0.010000", + "displayTaxName": "CA SPECIAL TAXEMTU0 0.010000 - 0.01%", + "printTaxName": "CA SPECIAL TAXEMTU0 0.010000 - 0.01%" + }, + { + "countryCode": "US", + "taxType": "STATE", + "taxRate": 0.06, + "taxClass": "PC040144", + "taxCode": "US-STATE---CA STATE TAX-0.06", + "taxAmount": 7.8, + "perUnitTaxAmount": 7.8, + "taxName": "CA STATE TAX", + "displayTaxName": "CA STATE TAX - 0.06%", + "printTaxName": "CA STATE TAX - 0.06%" + } + ] + }, + "orderStatus": "COMPLETED", + "tax": 11.38, + "orderItemId": "2", + "productTaxCode": "PC040144", + "imageURL": "https://cdn.shopify.com/s/files/1/0037/3807/5202/files/DOLCEVITA-HEELS_LAKOTA_BLACKLEATHER-02.jpg?v=1687897830", + "subTotal": 130, + "total": 141.38, + "orderStatusText": "Completed", + "itemStatusText": "Completed", + "size": "5.5", + "color": "BLACK", + "itemStatus": "COMPLETED", + "isVirtual": false, + "additionalCharges": [], + "gtin": "197076109635", + "fulfillmentType": "ONLINE", + "fulfillmentSubType": "DEFAULT", + "salesAssociateId": "cat01", + "salesAssociateAttribution": [ + { + "orderItemId": "2", + "storeId": "254", + "storeAssociateId": "cat01", + "contributionPercentage": 100, + "orderId": "PS00000284", + "expiryDate": "2025-07-12T00:00:00Z" + } + ], + "returnsEligibility": "ELIGIBLE_FOR_RETURNS", + "productClass": "Merchandise", + "isReturnRelated": false, + "productCondition": "NEW", + "reasons": [], + "fulfillmentTypeChanged": false, + "omniFulfillmentType": "SHIP_TO_HOME" + }, + { + "productId": "VLAKOTA0001060", + "variantGroupId": "LAKOTA", + "name": "LAKOTA HEELS BLACK LEATHER", + "price": 130, + "quantity": 1, + "productTax": { + "totalTax": 11.38, + "taxRates": [ + { + "countryCode": "US", + "taxType": "CITY", + "taxRate": 0.01, + "taxClass": "PC040144", + "taxCode": "US-CITY---CA CITY TAX-0.01", + "taxAmount": 1.3, + "perUnitTaxAmount": 1.3, + "taxName": "CA CITY TAX", + "displayTaxName": "CA CITY TAX - 0.01%", + "printTaxName": "CA CITY TAX - 0.01%" + }, + { + "countryCode": "US", + "taxType": "COUNTY", + "taxRate": 0.0025, + "taxClass": "PC040144", + "taxCode": "US-COUNTY---CA COUNTY TAX-0.0025", + "taxAmount": 0.33, + "perUnitTaxAmount": 0.33, + "taxName": "CA COUNTY TAX", + "displayTaxName": "CA COUNTY TAX - 0.0025%", + "printTaxName": "CA COUNTY TAX - 0.0025%" + }, + { + "countryCode": "US", + "taxType": "SPECIAL", + "taxRate": 0.005, + "taxClass": "PC040144", + "taxCode": "US-SPECIAL---CA SPECIAL TAXEMBD0 0.005000-0.005", + "taxAmount": 0.65, + "perUnitTaxAmount": 0.65, + "taxName": "CA SPECIAL TAXEMBD0 0.005000", + "displayTaxName": "CA SPECIAL TAXEMBD0 0.005000 - 0.005%", + "printTaxName": "CA SPECIAL TAXEMBD0 0.005000 - 0.005%" + }, + { + "countryCode": "US", + "taxType": "SPECIAL", + "taxRate": 0.01, + "taxClass": "PC040144", + "taxCode": "US-SPECIAL---CA SPECIAL TAXEMTU0 0.010000-0.01", + "taxAmount": 1.3, + "perUnitTaxAmount": 1.3, + "taxName": "CA SPECIAL TAXEMTU0 0.010000", + "displayTaxName": "CA SPECIAL TAXEMTU0 0.010000 - 0.01%", + "printTaxName": "CA SPECIAL TAXEMTU0 0.010000 - 0.01%" + }, + { + "countryCode": "US", + "taxType": "STATE", + "taxRate": 0.06, + "taxClass": "PC040144", + "taxCode": "US-STATE---CA STATE TAX-0.06", + "taxAmount": 7.8, + "perUnitTaxAmount": 7.8, + "taxName": "CA STATE TAX", + "displayTaxName": "CA STATE TAX - 0.06%", + "printTaxName": "CA STATE TAX - 0.06%" + } + ] + }, + "orderStatus": "COMPLETED", + "tax": 11.38, + "orderItemId": "3", + "productTaxCode": "PC040144", + "imageURL": "https://cdn.shopify.com/s/files/1/0037/3807/5202/files/DOLCEVITA-HEELS_LAKOTA_BLACKLEATHER-02.jpg?v=1687897830", + "subTotal": 130, + "total": 141.38, + "orderStatusText": "Completed", + "itemStatusText": "Completed", + "size": "6.0", + "color": "BLACK", + "itemStatus": "COMPLETED", + "isVirtual": false, + "additionalCharges": [], + "gtin": "197076109642", + "fulfillmentType": "ONLINE", + "fulfillmentSubType": "DEFAULT", + "salesAssociateId": "cat01", + "salesAssociateAttribution": [ + { + "orderItemId": "3", + "storeId": "254", + "storeAssociateId": "cat01", + "contributionPercentage": 100, + "orderId": "PS00000284", + "expiryDate": "2025-07-12T00:00:00Z" + } + ], + "returnsEligibility": "ELIGIBLE_FOR_RETURNS", + "productClass": "Merchandise", + "isReturnRelated": false, + "productCondition": "NEW", + "reasons": [], + "fulfillmentTypeChanged": false, + "omniFulfillmentType": "SHIP_TO_HOME" + } + ], + "orderProductList": [ + { + "productId": "VLAKOTA0001050", + "variantGroupId": "LAKOTA", + "name": "LAKOTA HEELS BLACK LEATHER", + "price": 130, + "quantity": 1, + "productTax": { + "totalTax": 11.38, + "taxRates": [ + { + "countryCode": "US", + "taxType": "CITY", + "taxRate": 0.01, + "taxClass": "PC040144", + "taxCode": "US-CITY---CA CITY TAX-0.01", + "taxAmount": 1.3, + "perUnitTaxAmount": 1.3, + "taxName": "CA CITY TAX", + "displayTaxName": "CA CITY TAX - 0.01%", + "printTaxName": "CA CITY TAX - 0.01%" + }, + { + "countryCode": "US", + "taxType": "COUNTY", + "taxRate": 0.0025, + "taxClass": "PC040144", + "taxCode": "US-COUNTY---CA COUNTY TAX-0.0025", + "taxAmount": 0.33, + "perUnitTaxAmount": 0.33, + "taxName": "CA COUNTY TAX", + "displayTaxName": "CA COUNTY TAX - 0.0025%", + "printTaxName": "CA COUNTY TAX - 0.0025%" + }, + { + "countryCode": "US", + "taxType": "SPECIAL", + "taxRate": 0.005, + "taxClass": "PC040144", + "taxCode": "US-SPECIAL---CA SPECIAL TAXEMBD0 0.005000-0.005", + "taxAmount": 0.65, + "perUnitTaxAmount": 0.65, + "taxName": "CA SPECIAL TAXEMBD0 0.005000", + "displayTaxName": "CA SPECIAL TAXEMBD0 0.005000 - 0.005%", + "printTaxName": "CA SPECIAL TAXEMBD0 0.005000 - 0.005%" + }, + { + "countryCode": "US", + "taxType": "SPECIAL", + "taxRate": 0.01, + "taxClass": "PC040144", + "taxCode": "US-SPECIAL---CA SPECIAL TAXEMTU0 0.010000-0.01", + "taxAmount": 1.3, + "perUnitTaxAmount": 1.3, + "taxName": "CA SPECIAL TAXEMTU0 0.010000", + "displayTaxName": "CA SPECIAL TAXEMTU0 0.010000 - 0.01%", + "printTaxName": "CA SPECIAL TAXEMTU0 0.010000 - 0.01%" + }, + { + "countryCode": "US", + "taxType": "STATE", + "taxRate": 0.06, + "taxClass": "PC040144", + "taxCode": "US-STATE---CA STATE TAX-0.06", + "taxAmount": 7.8, + "perUnitTaxAmount": 7.8, + "taxName": "CA STATE TAX", + "displayTaxName": "CA STATE TAX - 0.06%", + "printTaxName": "CA STATE TAX - 0.06%" + } + ] + }, + "orderStatus": "COMPLETED", + "tax": 11.38, + "orderItemId": "1", + "productTaxCode": "PC040144", + "imageURL": "https://cdn.shopify.com/s/files/1/0037/3807/5202/files/DOLCEVITA-HEELS_LAKOTA_BLACKLEATHER-02.jpg?v=1687897830", + "subTotal": 130, + "total": 141.38, + "orderStatusText": "Completed", + "itemStatusText": "Completed", + "size": "5.0", + "color": "BLACK", + "itemStatus": "COMPLETED", + "isVirtual": false, + "additionalCharges": [], + "gtin": "197076109628", + "fulfillmentType": "ONLINE", + "fulfillmentSubType": "DEFAULT", + "salesAssociateId": "cat01", + "salesAssociateAttribution": [ + { + "orderItemId": "1", + "storeId": "254", + "storeAssociateId": "cat01", + "contributionPercentage": 100, + "orderId": "PS00000284", + "expiryDate": "2025-07-12T00:00:00Z" + } + ], + "returnsEligibility": "ELIGIBLE_FOR_RETURNS", + "productClass": "Merchandise", + "isReturnRelated": false, + "productCondition": "NEW", + "reasons": [], + "fulfillmentTypeChanged": false, + "omniFulfillmentType": "SHIP_TO_HOME" + }, + { + "productId": "VLAKOTA0001055", + "variantGroupId": "LAKOTA", + "name": "LAKOTA HEELS BLACK LEATHER", + "price": 130, + "quantity": 1, + "productTax": { + "totalTax": 11.38, + "taxRates": [ + { + "countryCode": "US", + "taxType": "CITY", + "taxRate": 0.01, + "taxClass": "PC040144", + "taxCode": "US-CITY---CA CITY TAX-0.01", + "taxAmount": 1.3, + "perUnitTaxAmount": 1.3, + "taxName": "CA CITY TAX", + "displayTaxName": "CA CITY TAX - 0.01%", + "printTaxName": "CA CITY TAX - 0.01%" + }, + { + "countryCode": "US", + "taxType": "COUNTY", + "taxRate": 0.0025, + "taxClass": "PC040144", + "taxCode": "US-COUNTY---CA COUNTY TAX-0.0025", + "taxAmount": 0.33, + "perUnitTaxAmount": 0.33, + "taxName": "CA COUNTY TAX", + "displayTaxName": "CA COUNTY TAX - 0.0025%", + "printTaxName": "CA COUNTY TAX - 0.0025%" + }, + { + "countryCode": "US", + "taxType": "SPECIAL", + "taxRate": 0.005, + "taxClass": "PC040144", + "taxCode": "US-SPECIAL---CA SPECIAL TAXEMBD0 0.005000-0.005", + "taxAmount": 0.65, + "perUnitTaxAmount": 0.65, + "taxName": "CA SPECIAL TAXEMBD0 0.005000", + "displayTaxName": "CA SPECIAL TAXEMBD0 0.005000 - 0.005%", + "printTaxName": "CA SPECIAL TAXEMBD0 0.005000 - 0.005%" + }, + { + "countryCode": "US", + "taxType": "SPECIAL", + "taxRate": 0.01, + "taxClass": "PC040144", + "taxCode": "US-SPECIAL---CA SPECIAL TAXEMTU0 0.010000-0.01", + "taxAmount": 1.3, + "perUnitTaxAmount": 1.3, + "taxName": "CA SPECIAL TAXEMTU0 0.010000", + "displayTaxName": "CA SPECIAL TAXEMTU0 0.010000 - 0.01%", + "printTaxName": "CA SPECIAL TAXEMTU0 0.010000 - 0.01%" + }, + { + "countryCode": "US", + "taxType": "STATE", + "taxRate": 0.06, + "taxClass": "PC040144", + "taxCode": "US-STATE---CA STATE TAX-0.06", + "taxAmount": 7.8, + "perUnitTaxAmount": 7.8, + "taxName": "CA STATE TAX", + "displayTaxName": "CA STATE TAX - 0.06%", + "printTaxName": "CA STATE TAX - 0.06%" + } + ] + }, + "orderStatus": "COMPLETED", + "tax": 11.38, + "orderItemId": "2", + "productTaxCode": "PC040144", + "imageURL": "https://cdn.shopify.com/s/files/1/0037/3807/5202/files/DOLCEVITA-HEELS_LAKOTA_BLACKLEATHER-02.jpg?v=1687897830", + "subTotal": 130, + "total": 141.38, + "orderStatusText": "Completed", + "itemStatusText": "Completed", + "size": "5.5", + "color": "BLACK", + "itemStatus": "COMPLETED", + "isVirtual": false, + "additionalCharges": [], + "gtin": "197076109635", + "fulfillmentType": "ONLINE", + "fulfillmentSubType": "DEFAULT", + "salesAssociateId": "cat01", + "salesAssociateAttribution": [ + { + "orderItemId": "2", + "storeId": "254", + "storeAssociateId": "cat01", + "contributionPercentage": 100, + "orderId": "PS00000284", + "expiryDate": "2025-07-12T00:00:00Z" + } + ], + "returnsEligibility": "ELIGIBLE_FOR_RETURNS", + "productClass": "Merchandise", + "isReturnRelated": false, + "productCondition": "NEW", + "reasons": [], + "fulfillmentTypeChanged": false, + "omniFulfillmentType": "SHIP_TO_HOME" + }, + { + "productId": "VLAKOTA0001060", + "variantGroupId": "LAKOTA", + "name": "LAKOTA HEELS BLACK LEATHER", + "price": 130, + "quantity": 1, + "productTax": { + "totalTax": 11.38, + "taxRates": [ + { + "countryCode": "US", + "taxType": "CITY", + "taxRate": 0.01, + "taxClass": "PC040144", + "taxCode": "US-CITY---CA CITY TAX-0.01", + "taxAmount": 1.3, + "perUnitTaxAmount": 1.3, + "taxName": "CA CITY TAX", + "displayTaxName": "CA CITY TAX - 0.01%", + "printTaxName": "CA CITY TAX - 0.01%" + }, + { + "countryCode": "US", + "taxType": "COUNTY", + "taxRate": 0.0025, + "taxClass": "PC040144", + "taxCode": "US-COUNTY---CA COUNTY TAX-0.0025", + "taxAmount": 0.33, + "perUnitTaxAmount": 0.33, + "taxName": "CA COUNTY TAX", + "displayTaxName": "CA COUNTY TAX - 0.0025%", + "printTaxName": "CA COUNTY TAX - 0.0025%" + }, + { + "countryCode": "US", + "taxType": "SPECIAL", + "taxRate": 0.005, + "taxClass": "PC040144", + "taxCode": "US-SPECIAL---CA SPECIAL TAXEMBD0 0.005000-0.005", + "taxAmount": 0.65, + "perUnitTaxAmount": 0.65, + "taxName": "CA SPECIAL TAXEMBD0 0.005000", + "displayTaxName": "CA SPECIAL TAXEMBD0 0.005000 - 0.005%", + "printTaxName": "CA SPECIAL TAXEMBD0 0.005000 - 0.005%" + }, + { + "countryCode": "US", + "taxType": "SPECIAL", + "taxRate": 0.01, + "taxClass": "PC040144", + "taxCode": "US-SPECIAL---CA SPECIAL TAXEMTU0 0.010000-0.01", + "taxAmount": 1.3, + "perUnitTaxAmount": 1.3, + "taxName": "CA SPECIAL TAXEMTU0 0.010000", + "displayTaxName": "CA SPECIAL TAXEMTU0 0.010000 - 0.01%", + "printTaxName": "CA SPECIAL TAXEMTU0 0.010000 - 0.01%" + }, + { + "countryCode": "US", + "taxType": "STATE", + "taxRate": 0.06, + "taxClass": "PC040144", + "taxCode": "US-STATE---CA STATE TAX-0.06", + "taxAmount": 7.8, + "perUnitTaxAmount": 7.8, + "taxName": "CA STATE TAX", + "displayTaxName": "CA STATE TAX - 0.06%", + "printTaxName": "CA STATE TAX - 0.06%" + } + ] + }, + "orderStatus": "COMPLETED", + "tax": 11.38, + "orderItemId": "3", + "productTaxCode": "PC040144", + "imageURL": "https://cdn.shopify.com/s/files/1/0037/3807/5202/files/DOLCEVITA-HEELS_LAKOTA_BLACKLEATHER-02.jpg?v=1687897830", + "subTotal": 130, + "total": 141.38, + "orderStatusText": "Completed", + "itemStatusText": "Completed", + "size": "6.0", + "color": "BLACK", + "itemStatus": "COMPLETED", + "isVirtual": false, + "additionalCharges": [], + "gtin": "197076109642", + "fulfillmentType": "ONLINE", + "fulfillmentSubType": "DEFAULT", + "salesAssociateId": "cat01", + "salesAssociateAttribution": [ + { + "orderItemId": "3", + "storeId": "254", + "storeAssociateId": "cat01", + "contributionPercentage": 100, + "orderId": "PS00000284", + "expiryDate": "2025-07-12T00:00:00Z" + } + ], + "returnsEligibility": "ELIGIBLE_FOR_RETURNS", + "productClass": "Merchandise", + "isReturnRelated": false, + "productCondition": "NEW", + "reasons": [], + "fulfillmentTypeChanged": false, + "omniFulfillmentType": "SHIP_TO_HOME" + } + ], + "returnProductList": [], + "orderStatusText": "Completed", + "discount": 0, + "storeId": "254", + "store": { + "storeId": "254", + "name": "DV SOHO STORE", + "addressLine1": "489 Broadway", + "city": "New York", + "state": "NY", + "postalCode": "10012", + "countryCode": "US", + "latitude": 40.722036, + "longitude": -73.99994989999999, + "storeType": "Regular", + "allowTryAtStore": false, + "productScanCodeType": "GTIN", + "timeZoneId": "UTC", + "customString0": "" + }, + "storeAssociateId": "cat01", + "orderSource": "IN_STORE", + "paymentSource": "Miscellaneous", + "shippingMethodId": "003", + "installationId": "af8cbe73-b523-4633-ab49-d493a5a9eaa4", + "lastDateToReturnTimeStamp": 1712854021000, + "taxRates": [ + { + "taxType": "CITY", + "chargeType": "TAX", + "taxRate": 0.01, + "taxAmount": 3.9, + "taxName": "CA CITY TAX", + "displayTaxName": "CA CITY TAX - 0.01%", + "returnedTaxAmount": 0, + "remainingTaxAmount": 3.9, + "printTaxName": "CA CITY TAX - 0.01%" + }, + { + "taxType": "COUNTY", + "chargeType": "TAX", + "taxRate": 0.0025, + "taxAmount": 0.99, + "taxName": "CA COUNTY TAX", + "displayTaxName": "CA COUNTY TAX - 0.0025%", + "returnedTaxAmount": 0, + "remainingTaxAmount": 0.99, + "printTaxName": "CA COUNTY TAX - 0.0025%" + }, + { + "taxType": "SPECIAL", + "chargeType": "TAX", + "taxRate": 0.005, + "taxAmount": 1.95, + "taxName": "CA SPECIAL TAXEMBD0 0.005000", + "displayTaxName": "CA SPECIAL TAXEMBD0 0.005000 - 0.005%", + "returnedTaxAmount": 0, + "remainingTaxAmount": 1.95, + "printTaxName": "CA SPECIAL TAXEMBD0 0.005000 - 0.005%" + }, + { + "taxType": "SPECIAL", + "chargeType": "TAX", + "taxRate": 0.01, + "taxAmount": 3.9, + "taxName": "CA SPECIAL TAXEMTU0 0.010000", + "displayTaxName": "CA SPECIAL TAXEMTU0 0.010000 - 0.01%", + "returnedTaxAmount": 0, + "remainingTaxAmount": 3.9, + "printTaxName": "CA SPECIAL TAXEMTU0 0.010000 - 0.01%" + }, + { + "taxType": "STATE", + "chargeType": "TAX", + "taxRate": 0.06, + "taxAmount": 23.4, + "taxName": "CA STATE TAX", + "displayTaxName": "CA STATE TAX - 0.06%", + "returnedTaxAmount": 0, + "remainingTaxAmount": 23.4, + "printTaxName": "CA STATE TAX - 0.06%" + } + ], + "taxExemptions": [], + "shippingName": "Next Day", + "shippingDescription": "Next Day", + "phoneNumber": "+16154440004", + "orderDate": 1705078021000, + "coupons": [], + "merchantPromotionIds": [], + "customerProfile": { + "customerId": "daysky001@yahoo.com", + "email": "daysky001@yahoo.com", + "firstName": "Catalin", + "lastName": "Linlin", + "address": { + "addressLine1": "830 bay blvd", + "city": "chula vista", + "state": "CA", + "postalCode": "91911", + "preferred": false + }, + "phoneMobile": "+16154440004" + }, + "updateDate": 1705078205000, + "taxableAmount": 390, + "fulfillmentType": "ONLINE", + "children": {}, + "notesList": [], + "rewardAmount": 0, + "cartId": "PS00000284", + "paymentDetails": [ + { + "merchantId": "DOLCEVITA947078", + "locale": "en_US", + "region": "US", + "orderId": "PS00000284", + "transactionId": "254-ANY-20240112184656-9-3", + "paymentId": "e3e6205a-ab71-48da-be50-1ac465b9bf01", + "paymentMethod": "Miscellaneous", + "paymentStatus": "APPROVED", + "paymentDevice": "NoReader", + "amountAuthorized": 454.14, + "captureDate": "2024-01-12T16:46:56Z", + "requestId": "cat", + "totalRefundedAmount": 0, + "totalAmountCarriedOverForExchange": 0, + "paymentSequenceNumber": 1, + "accountNumber": "cat", + "externalPaymentSystemId": "External", + "externalPaymentReferenceId": "cat", + "authStatus": "SALE", + "captureStatus": "CAPTURED", + "cardPresent": false, + "expiryDate": "2025-07-12T00:00:00Z" + } + ], + "refundPaymentDetails": [], + "noReceiptReturns": false, + "twoPhaseCommitReferenceId": "PS00000284", + "orderAttribution": { + "storeRegisterId": "ANY", + "registerTransactionId": "9" + }, + "partiallyPaid": false, + "orderActivityLog": [ + { + "transactionId": "254-ANY-20240112184656-9-3", + "installationId": "af8cbe73-b523-4633-ab49-d493a5a9eaa4", + "storeId": "254", + "transactionDate": "2024-01-12T16:47:01Z", + "transactionType": "CREATE", + "appTransactionId": "9", + "transactionData": { + "transactionId": "254-ANY-20240112184656-9-3", + "transactionTimeStamp": 1705078020644, + "transactionType": "SALE", + "orderId": "PS00000284", + "summary": { + "saleSummary": { + "subTotal": 390, + "tax": 34.14, + "taxExemption": 0, + "shippingCharges": 30, + "total": 454.14, + "netSubTotal": 390 + }, + "refundSummary": { + "subTotal": 0, + "tax": 0, + "taxExemption": 0, + "valueAddedTax": 0, + "total": 0, + "netSubTotal": 0 + }, + "netSummary": { + "subTotal": 390, + "discount": 0, + "transactionDiscountAmount": 0, + "tax": 34.14, + "taxExemption": 0, + "valueAddedTax": 0, + "shippingCharges": 30, + "total": 454.14, + "amountToBeCharged": 454.14, + "netSubTotal": 390, + "inStoreTotal": 0 + } + }, + "storeAttribution": { + "transactionId": "9", + "storeAssociateId": "cat01", + "storeId": "254", + "eventId": "3", + "storeRegisterId": "ANY", + "eventTimeStamp": 1705078020229, + "storeAssociateRole": "STORE_MANAGER", + "secondsFromGMT": 7200, + "activePaymentReader": "Adyen", + "tillSessionId": "cd185a9a-3399-4f43-8d19-70021840a3b4", + "tillId": "89629" + }, + "receiptPrintCount": 1, + "taxRates": [ + { + "countryCode": "US", + "taxType": "SPECIAL", + "chargeType": "TAX", + "taxRate": 0.01, + "taxClass": "PC040144", + "taxCode": "US-SPECIAL---CA SPECIAL TAXEMTU0 0.010000-0.01", + "taxAmount": 3.9, + "taxName": "CA SPECIAL TAXEMTU0 0.010000", + "displayTaxName": "CA SPECIAL TAXEMTU0 0.010000 - 0.01%", + "printTaxName": "CA SPECIAL TAXEMTU0 0.010000 - 0.01%" + }, + { + "countryCode": "US", + "taxType": "SPECIAL", + "chargeType": "TAX", + "taxRate": 0.005, + "taxClass": "PC040144", + "taxCode": "US-SPECIAL---CA SPECIAL TAXEMBD0 0.005000-0.005", + "taxAmount": 1.95, + "taxName": "CA SPECIAL TAXEMBD0 0.005000", + "displayTaxName": "CA SPECIAL TAXEMBD0 0.005000 - 0.005%", + "printTaxName": "CA SPECIAL TAXEMBD0 0.005000 - 0.005%" + }, + { + "countryCode": "US", + "taxType": "CITY", + "chargeType": "TAX", + "taxRate": 0.01, + "taxClass": "PC040144", + "taxCode": "US-CITY---CA CITY TAX-0.01", + "taxAmount": 3.9, + "taxName": "CA CITY TAX", + "displayTaxName": "CA CITY TAX - 0.01%", + "printTaxName": "CA CITY TAX - 0.01%" + }, + { + "countryCode": "US", + "taxType": "STATE", + "chargeType": "TAX", + "taxRate": 0.06, + "taxClass": "PC040144", + "taxCode": "US-STATE---CA STATE TAX-0.06", + "taxAmount": 23.4, + "taxName": "CA STATE TAX", + "displayTaxName": "CA STATE TAX - 0.06%", + "printTaxName": "CA STATE TAX - 0.06%" + }, + { + "countryCode": "US", + "taxType": "COUNTY", + "chargeType": "TAX", + "taxRate": 0.0025, + "taxClass": "PC040144", + "taxCode": "US-COUNTY---CA COUNTY TAX-0.0025", + "taxAmount": 0.99, + "taxName": "CA COUNTY TAX", + "displayTaxName": "CA COUNTY TAX - 0.0025%", + "printTaxName": "CA COUNTY TAX - 0.0025%" + } + ], + "tenders": [ + { + "merchantId": "DOLCEVITA947078", + "locale": "en_US", + "region": "US", + "orderId": "PS00000284", + "transactionId": "254-ANY-20240112184656-9-3", + "paymentId": "e3e6205a-ab71-48da-be50-1ac465b9bf01", + "paymentMethod": "Miscellaneous", + "paymentStatus": "APPROVED", + "paymentDevice": "NoReader", + "amountAuthorized": 454.14, + "captureDate": "2024-01-12T16:46:56.405Z", + "requestId": "cat", + "totalRefundedAmount": 0, + "paymentSequenceNumber": 1, + "accountNumber": "cat", + "externalPaymentSystemId": "External", + "externalPaymentReferenceId": "cat", + "authStatus": "SALE", + "captureStatus": "CAPTURED", + "cardPresent": false, + "expiryDate": "2025-07-12T00:00:00Z" + } + ], + "shippingAddress": { + "addressName": "Catalin Linlin", + "firstName": "Catalin", + "lastName": "Linlin", + "addressLine1": "830 bay blvd", + "addressLine2": "", + "addressLine3": "", + "addressLine4": "", + "city": "chula vista", + "state": "CA", + "postalCode": "91911", + "countryCode": "", + "phone": "+16154440004", + "addressType": "Shipping", + "preferred": false, + "emailAddress": "daysky001@yahoo.com" + }, + "productList": [ + { + "productId": "VLAKOTA0001050", + "variantGroupId": "LAKOTA", + "name": "LAKOTA HEELS BLACK LEATHER", + "price": 130, + "quantity": 1, + "productTax": { + "totalTax": 11.38, + "taxRates": [ + { + "countryCode": "US", + "taxType": "STATE", + "taxRate": 0.06, + "taxClass": "PC040144", + "taxCode": "US-STATE---CA STATE TAX-0.06", + "taxAmount": 7.8, + "perUnitTaxAmount": 7.8, + "taxName": "CA STATE TAX" + }, + { + "countryCode": "US", + "taxType": "COUNTY", + "taxRate": 0.0025, + "taxClass": "PC040144", + "taxCode": "US-COUNTY---CA COUNTY TAX-0.0025", + "taxAmount": 0.33, + "perUnitTaxAmount": 0.33, + "taxName": "CA COUNTY TAX" + }, + { + "countryCode": "US", + "taxType": "CITY", + "taxRate": 0.01, + "taxClass": "PC040144", + "taxCode": "US-CITY---CA CITY TAX-0.01", + "taxAmount": 1.3, + "perUnitTaxAmount": 1.3, + "taxName": "CA CITY TAX" + }, + { + "countryCode": "US", + "taxType": "SPECIAL", + "taxRate": 0.005, + "taxClass": "PC040144", + "taxCode": "US-SPECIAL---CA SPECIAL TAXEMBD0 0.005000-0.005", + "taxAmount": 0.65, + "perUnitTaxAmount": 0.65, + "taxName": "CA SPECIAL TAXEMBD0 0.005000" + }, + { + "countryCode": "US", + "taxType": "SPECIAL", + "taxRate": 0.01, + "taxClass": "PC040144", + "taxCode": "US-SPECIAL---CA SPECIAL TAXEMTU0 0.010000-0.01", + "taxAmount": 1.3, + "perUnitTaxAmount": 1.3, + "taxName": "CA SPECIAL TAXEMTU0 0.010000" + } + ], + "taxableAmount": 130 + }, + "tax": 11.38, + "orderItemId": "1", + "imageURL": "https://cdn.shopify.com/s/files/1/0037/3807/5202/files/DOLCEVITA-HEELS_LAKOTA_BLACKLEATHER-02.jpg?v=1687897830", + "subTotal": 130, + "total": 141.38, + "size": "5.0", + "color": "BLACK", + "isVirtual": false, + "gtin": "197076109628", + "fulfillmentType": "ONLINE", + "fulfillmentSubType": "DEFAULT", + "salesAssociateId": "cat01", + "salesAssociateAttribution": [ + { + "storeAssociateId": "cat01" + } + ], + "productClass": "Merchandise", + "isReturnRelated": false, + "productCondition": "NEW", + "fulfillmentTypeChanged": false, + "omniFulfillmentType": "SHIP_TO_HOME" + }, + { + "productId": "VLAKOTA0001055", + "variantGroupId": "LAKOTA", + "name": "LAKOTA HEELS BLACK LEATHER", + "price": 130, + "quantity": 1, + "productTax": { + "totalTax": 11.38, + "taxRates": [ + { + "countryCode": "US", + "taxType": "STATE", + "taxRate": 0.06, + "taxClass": "PC040144", + "taxCode": "US-STATE---CA STATE TAX-0.06", + "taxAmount": 7.8, + "perUnitTaxAmount": 7.8, + "taxName": "CA STATE TAX" + }, + { + "countryCode": "US", + "taxType": "COUNTY", + "taxRate": 0.0025, + "taxClass": "PC040144", + "taxCode": "US-COUNTY---CA COUNTY TAX-0.0025", + "taxAmount": 0.33, + "perUnitTaxAmount": 0.33, + "taxName": "CA COUNTY TAX" + }, + { + "countryCode": "US", + "taxType": "CITY", + "taxRate": 0.01, + "taxClass": "PC040144", + "taxCode": "US-CITY---CA CITY TAX-0.01", + "taxAmount": 1.3, + "perUnitTaxAmount": 1.3, + "taxName": "CA CITY TAX" + }, + { + "countryCode": "US", + "taxType": "SPECIAL", + "taxRate": 0.005, + "taxClass": "PC040144", + "taxCode": "US-SPECIAL---CA SPECIAL TAXEMBD0 0.005000-0.005", + "taxAmount": 0.65, + "perUnitTaxAmount": 0.65, + "taxName": "CA SPECIAL TAXEMBD0 0.005000" + }, + { + "countryCode": "US", + "taxType": "SPECIAL", + "taxRate": 0.01, + "taxClass": "PC040144", + "taxCode": "US-SPECIAL---CA SPECIAL TAXEMTU0 0.010000-0.01", + "taxAmount": 1.3, + "perUnitTaxAmount": 1.3, + "taxName": "CA SPECIAL TAXEMTU0 0.010000" + } + ], + "taxableAmount": 130 + }, + "tax": 11.38, + "orderItemId": "2", + "imageURL": "https://cdn.shopify.com/s/files/1/0037/3807/5202/files/DOLCEVITA-HEELS_LAKOTA_BLACKLEATHER-02.jpg?v=1687897830", + "subTotal": 130, + "total": 141.38, + "size": "5.5", + "color": "BLACK", + "isVirtual": false, + "gtin": "197076109635", + "fulfillmentType": "ONLINE", + "fulfillmentSubType": "DEFAULT", + "salesAssociateId": "cat01", + "salesAssociateAttribution": [ + { + "storeAssociateId": "cat01" + } + ], + "productClass": "Merchandise", + "isReturnRelated": false, + "productCondition": "NEW", + "fulfillmentTypeChanged": false, + "omniFulfillmentType": "SHIP_TO_HOME" + }, + { + "productId": "VLAKOTA0001060", + "variantGroupId": "LAKOTA", + "name": "LAKOTA HEELS BLACK LEATHER", + "price": 130, + "quantity": 1, + "productTax": { + "totalTax": 11.38, + "taxRates": [ + { + "countryCode": "US", + "taxType": "STATE", + "taxRate": 0.06, + "taxClass": "PC040144", + "taxCode": "US-STATE---CA STATE TAX-0.06", + "taxAmount": 7.8, + "perUnitTaxAmount": 7.8, + "taxName": "CA STATE TAX" + }, + { + "countryCode": "US", + "taxType": "COUNTY", + "taxRate": 0.0025, + "taxClass": "PC040144", + "taxCode": "US-COUNTY---CA COUNTY TAX-0.0025", + "taxAmount": 0.33, + "perUnitTaxAmount": 0.33, + "taxName": "CA COUNTY TAX" + }, + { + "countryCode": "US", + "taxType": "CITY", + "taxRate": 0.01, + "taxClass": "PC040144", + "taxCode": "US-CITY---CA CITY TAX-0.01", + "taxAmount": 1.3, + "perUnitTaxAmount": 1.3, + "taxName": "CA CITY TAX" + }, + { + "countryCode": "US", + "taxType": "SPECIAL", + "taxRate": 0.005, + "taxClass": "PC040144", + "taxCode": "US-SPECIAL---CA SPECIAL TAXEMBD0 0.005000-0.005", + "taxAmount": 0.65, + "perUnitTaxAmount": 0.65, + "taxName": "CA SPECIAL TAXEMBD0 0.005000" + }, + { + "countryCode": "US", + "taxType": "SPECIAL", + "taxRate": 0.01, + "taxClass": "PC040144", + "taxCode": "US-SPECIAL---CA SPECIAL TAXEMTU0 0.010000-0.01", + "taxAmount": 1.3, + "perUnitTaxAmount": 1.3, + "taxName": "CA SPECIAL TAXEMTU0 0.010000" + } + ], + "taxableAmount": 130 + }, + "tax": 11.38, + "orderItemId": "3", + "imageURL": "https://cdn.shopify.com/s/files/1/0037/3807/5202/files/DOLCEVITA-HEELS_LAKOTA_BLACKLEATHER-02.jpg?v=1687897830", + "subTotal": 130, + "total": 141.38, + "size": "6.0", + "color": "BLACK", + "isVirtual": false, + "gtin": "197076109642", + "fulfillmentType": "ONLINE", + "fulfillmentSubType": "DEFAULT", + "salesAssociateId": "cat01", + "salesAssociateAttribution": [ + { + "storeAssociateId": "cat01" + } + ], + "productClass": "Merchandise", + "isReturnRelated": false, + "productCondition": "NEW", + "fulfillmentTypeChanged": false, + "omniFulfillmentType": "SHIP_TO_HOME" + } + ], + "numberOfLineItems": 3, + "receiptId": "254-ANY-2024-00000015", + "store": { + "storeId": "254", + "name": "DV SOHO STORE", + "addressLine1": "489 Broadway", + "city": "New York", + "state": "NY", + "postalCode": "10012", + "countryCode": "US", + "latitude": 40.722036, + "longitude": -73.99994989999999, + "storeType": "Regular", + "allowTryAtStore": false, + "productScanCodeType": "GTIN", + "timeZoneId": "UTC", + "customString0": "" + }, + "profile": { + "customerId": "daysky001@yahoo.com", + "email": "daysky001@yahoo.com", + "firstName": "Catalin", + "lastName": "Linlin", + "address": { + "addressLine1": "830 bay blvd", + "city": "chula vista", + "state": "CA", + "postalCode": "91911", + "preferred": false + }, + "phoneMobile": "+16154440004" + }, + "productPriceAdjustments": [], + "customerEmail": "daysky001@yahoo.com", + "offlineMode": false, + "storeAssociate": { + "storeAssociateID": "cat01", + "storeAssociatePasswordFlag": false, + "merchantPasswordFlag": false, + "storeAssociateSecretFlag": false, + "incorrectLoginCount": 0, + "firstLoginPasswordReset": false + }, + "noReceiptReturns": false + }, + "s3KeyTransactionData": "STAGING/DOLCEVITA947078/en_US/US/2024/1/PS00000284_254-ANY-20240112184656-9-3.txt", + "transactionStartDate": "2024-01-12T16:46:05Z", + "receiptPrintCount": 0, + "orderId": "PS00000284", + "expiryDate": "2025-07-12T00:00:00Z" + } + ], + "editOrderMode": false, + "availableDate": 0, + "totalAssembledQty": 0, + "totalBoxedQty": 0, + "orderFiscalData": [], + "offlineMode": false, + "productPriceAdjustments": [] +} \ No newline at end of file