Fenix Commerce Delivery Experience Platform
...
Attribute | Description |
sessionTrackId mandatory | "sessionTrackId":"123123-2323-1231-23123"
|
orderId
| "orderId": "123123123"
|
cartId | "cartId": "123123123"
|
buyerZipCode mandatory | "buyerZipCode" : "95129"
|
pageType mandatory | "pageType": "cop"
E.g., Show fastest EDD on PDP and show all EDD options on COP. PDP - Product Detail Page CART - CART page/shopping Bag page COP - Check out Page MC - Mini Cart CA - Cart Abandonment OC - Order Confirmation SC - Shipping Confirmation Send Values as part of a delivery estimate request |
moneytoryValue mandatory | "monetaryValue": 50.0
|
responseFormat mandatory | "responseFormat" : "json"
|
additionalProcessing | "additionalProcessing": true
|
customerTags | "customerTags": [ "USA", "Dealer" ]
|
shippingInfo | "shippingInfo": { "carrier": "string", "service": { "name": "string" "method": "string", }, "shippingDate": "string", "trackId": "Z12372y312923182u3821" } In case of subscriptions/recurring orders in your business, if you want to provide EDD after pick-pack-ship
|
skus mandatory | "skus": [{ "sku": "SKU-001", "category": "Mens|topwear", "digitalProduct": false, "itemType": "FREE", "leadTime": 0 , "nonShip": false, "productName": "Red T-shirt", "quantity": 1, "dimensions": { "girth": 3, "height": 3, "length": 3, "width": 0, "thickness": 6, "units": "CM/IN" }, "skuInventories": [{ "locationId": "Dc-01", "quantity": 1 }], "weight": { "units": "LB", "value": 0 } }]
|
buyerAddress | "buyerAddress": { "name": "Sharath Chandra", "address1": "5437", "address2": "castle", "city": " San Jose ", "state": "CA", "country": "USA", "zipcode": "95129", "dealerAddress": true, "details": { "dealer": true, "dealerId": "SFO-SJ-D001", "apoFpoAddress": true, "poAddress": true } }
|
...
The above request is a Fenix commerce master request with all the attributes the request body will change based on the retailer, such as inventory product feed integration.
Sample Checkout Page Request and Response
API | /fenixdelest/api/v2/deliveryestimates |
Method | POST |
Request Headers
|
|
Request Body
Code Block |
---|
{
"cartId": null,
"orderId": "no-token",
"sessionTrackId": "MTYxNzc2MTI0MzE5MS10b21ib3l4LmNvbS02OTQ1Mw==",
"internalSessionUUID": "cf500124-a374-4095-abed-d570250174da",
"pageType": "COP",
"monetaryValue": 47.99,
"buyerZipCode": "95129",
"skus": [
{
"sku": "ABC_2",
"quantity": 1,
"leadTime": 0,
"weight": null,
"category": null,
"nonShip": false,
"productName": null,
"itemType": null,
"dimensions": null,
"digitalProduct": false,
"skuInventories": [
{
"locationId": "manual",
"quantity": 1
}
]
},
{
"sku": "GSLV90",
"quantity": 1,
"leadTime": 0,
"weight": null,
"category": null,
"nonShip": false,
"productName": null,
"itemType": null,
"dimensions": null,
"digitalProduct": false,
"skuInventories": [
{
"locationId": "westcost",
"quantity": 1
}
]
}
],
"responseFormat": "json",
"buyerAddress": null,
"residentialAddress": false,
"exceptionalTypes": null,
"shopifyRequest": false,
"platformType": null,
"customerTags": null,
"shippingInfo": null,
"properties": null,
"orderByThresholdTime": 0,
"lookupFenixInventory": false,
"surePostEnabled": false
} |
Respone Body
Code Block |
---|
[
{
"webId": "ABC_2,GSLV90",
"hours": "8",
"minutes": "26",
"carrier": null,
"response": "Get it by Wednesday, Aug 25.",
"shippingCost": {
"amount": 8.79,
"currency": "USD"
},
"shipperLocId": null,
"buyerZipCode": "95129",
"shipperZipCode": null,
"shippingMethod": null,
"shippingDateTime": "20 Aug 2021, 17:30",
"actualMethodDesc": null,
"shippingMethodDesc": "Expedited",
"formattedDeliveryDate": "Wednesday, Aug 25",
"guaranteedDeliveryDate": "Wed, 25 Aug 2021",
"errorMessage": null,
"packages": [
{
"carrier": "USPS",
"wrapperType": "DEFAULT",
"shipperLocId": "westcost",
"shipperZipCode": "94115",
"actualMethodDesc": "Priority Mail 1-Day",
"contents": {
"GSLV90": 1,
"ABC_2": 1
}
}
],
"pickUpTimes": {
"Priority Mail 2-Day": "08-20-2021 17:30",
"Priority Mail 1-Day": "08-20-2021 17:30",
"Priority Mail 3-Day": "08-20-2021 17:30"
},
"prePurchaseShippingInfos": null,
"shippingDeliveryDate": "Wed, 25 Aug 2021",
"nextDayResponse": false,
"code": null
},
{
"webId": "ABC_2,GSLV90",
"hours": "8",
"minutes": "26",
"carrier": null,
"response": "Get it by Monday, Aug 23.",
"shippingCost": {
"amount": 9.99,
"currency": "USD"
},
"shipperLocId": null,
"buyerZipCode": "95129",
"shipperZipCode": null,
"shippingMethod": null,
"shippingDateTime": "20 Aug 2021, 18:00",
"actualMethodDesc": null,
"shippingMethodDesc": "Standard",
"formattedDeliveryDate": "Monday, Aug 23",
"guaranteedDeliveryDate": "Mon, 23 Aug 2021",
"errorMessage": null,
"packages": [
{
"carrier": "FEDEX",
"wrapperType": "DEFAULT",
"shipperLocId": "westcost",
"shipperZipCode": "94115",
"actualMethodDesc": "FEDEX_GROUND",
"contents": {
"GSLV90": 1,
"ABC_2": 1
}
}
],
"pickUpTimes": {
"FEDEX_2_DAY": "08-20-2021 18:00",
"STANDARD_OVERNIGHT": "08-20-2021 18:00",
"FEDEX_GROUND": "08-20-2021 18:00"
},
"prePurchaseShippingInfos": null,
"shippingDeliveryDate": "Mon, 23 Aug 2021",
"nextDayResponse": false,
"code": null
},
{
"webId": "ABC_2,GSLV90",
"hours": "8",
"minutes": "26",
"carrier": null,
"response": "Get it by Tuesday, Aug 24.",
"shippingCost": {
"amount": 17.39,
"currency": "USD"
},
"shipperLocId": null,
"buyerZipCode": "95129",
"shipperZipCode": null,
"shippingMethod": null,
"shippingDateTime": "20 Aug 2021, 18:00",
"actualMethodDesc": null,
"shippingMethodDesc": "Express",
"formattedDeliveryDate": "Tuesday, Aug 24",
"guaranteedDeliveryDate": "Tue, 24 Aug 2021",
"errorMessage": null,
"packages": [
{
"carrier": "FEDEX",
"wrapperType": "DEFAULT",
"shipperLocId": "westcost",
"shipperZipCode": "94115",
"actualMethodDesc": "FEDEX_2_DAY",
"contents": {
"GSLV90": 1,
"ABC_2": 1
}
}
],
"pickUpTimes": {
"FEDEX_2_DAY": "08-20-2021 18:00",
"STANDARD_OVERNIGHT": "08-20-2021 18:00",
"FEDEX_GROUND": "08-20-2021 18:00"
},
"prePurchaseShippingInfos": null,
"shippingDeliveryDate": "Tue, 24 Aug 2021",
"nextDayResponse": false,
"code": null
}
] |