-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added documentation for the order import from Predict Spring to HotWax
- Loading branch information
Bhavna Gawhade
committed
Feb 11, 2024
1 parent
b657a79
commit a424fd7
Showing
4 changed files
with
2,604 additions
and
0 deletions.
There are no files selected for viewing
102 changes: 102 additions & 0 deletions
102
integrations/predictspring/order-import/createSalesOrderAPISample.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" : "[email protected]", | ||
"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" : "[email protected]" | ||
}, | ||
"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" | ||
} | ||
} ] | ||
} ] |
Oops, something went wrong.