When purchase is finalized and status about the purchase is asked, the response is extended with shipping information in “modules”. In this section all information about shipping option is returned.
{
"extraIdentifiers": {
"orderReference": null,
"loyaltyNumber": null,
"productGroup": null,
"attachment": null,
"description": null,
"referenceName": null,
"posId": null
},
"purchaseId": "ba50a780be6e429d9e886a7da2eabccf",
"processedBackEnd": false,
"totalPrice": 60.0,
"createdUtc": "2021-09-06T11:06:39.2380712+00:00",
"expiredUtc": "2021-09-06T11:36:39.2380713+00:00",
"checkoutSite": {
"siteCode": "TestSweden1",
"countryCode": "SWE",
"currencyCode": "SEK"
},
"mode": "B2C",
"b2C": {
"step": {
"customerToken": "0cce7a5bb3456c1ee7128ddeba7e1da5",
"current": "Completed",
"rememberMe": "Checked",
"smsNewsletterSubscription": "Hidden",
"emailNewsletterSubscription": "Hidden"
},
"userInputs": {
"email": "ue@avarda.com",
"zip": "",
"ssn": "195807065627",
"phone": "0708884546"
},
"invoicingAddress": {
"careOfAddress": false,
"firstName": "Anne",
"lastName": "Samuelsson",
"address1": "Härsbackavägen 69 Lgh 1309",
"address2": "",
"zip": "65226",
"city": "Karlstad",
"country": "SE"
},
"deliveryAddress": {
"type": "Private",
"viewType": "Unchecked",
"firstName": null,
"lastName": null,
"address1": null,
"address2": null,
"zip": null,
"city": null,
"country": "SE"
}
},
"b2B": null,
"authenticationType": "None",
"paymentMethods": {
"selectedPayment": {
"type": "Card",
"recurringPayment": "Unchecked",
"recurringPaymentToken": null,
"paymentFee": 0.0
}
},
"cardPaymentState": {
"maskedCardNumber": "541300******0000",
"cardBrand": "MasterCard",
"cardExpirationDate": "2301"
},
"customerBalance": 60.0,
"Modules": [
{
"id": "405d6512-0bdd-4110-9c74-56e53a4722b4",
"status": "COMPLETE",
"cart": {
"total_value": 50.0,
"total_discount": 0.0,
"currency": "SEK",
"pre_order": false,
"items": [
{
"Sku": "Item description50.0",
"name": "Item description",
"attributes": [],
"out_of_stock": false,
"dimensions": {},
"quantity": 1,
"discount": 0.0,
"price": 50.0
}
],
"cart_id": "ba50a780be6e429d9e886a7da2eabccf",
"vouchers": [],
"attributes": []
},
"selected_shipping_option": {
"shipping_method": "pnl-mph",
"delivery_type": "delivery",
"carrier": "PostNord",
"product": "MyPack Home",
"price": 10.0,
"currency": "SEK",
"time_slot": {
"id": "MIPVQJMFbTG5eJZ_TuaS3Q",
"expires": "2021-09-06T13:00:00+00:00",
"start": "2021-09-06T22:00:00+00:00",
"end": "2021-09-08T22:00:00+00:00"
},
"meta": {},
"routes": [],
"category_tags": [
{
"name": "NoCOD"
}
]
},
"external_id": "ba50a780be6e429d9e886a7da2eabccf",
"shipping_price": 10.0,
"expires_at": "2021-09-06T13:00:00+00:00",
"customer": {
"address": {
"name": "Anne Samuelsson",
"address_lines": [
"Härsbackavägen 69 Lgh 1309",
""
],
"city": "Karlstad",
"postal_code": "65226",
"country": "SE",
"coordinates": {
"lat": 59.37584242,
"lng": 13.5014361
}
},
"phone": "0708884546",
"email": "ue@avarda.com",
"national_identification_number": "TRIMMED"
},
"search_address": {
"name": "Anne Samuelsson",
"address_lines": [
"Härsbackavägen 69 Lgh 1309",
""
],
"city": "Karlstad",
"postal_code": "65226",
"country": "SE",
"coordinates": {
"lat": 59.37584242,
"lng": 13.5014361
}
},
"tos_id": "01FEXCP601MJ7CFN55SJHVAJ5Y",
"result": {
"shipping": {
"shipping_method": "pnl-mph",
"delivery_type": "delivery",
"carrier": "PostNord",
"product": "MyPack Home",
"delivery_time": {
"id": "MIPVQJMFbTG5eJZ_TuaS3Q",
"expires": "2021-09-06T13:00:00+00:00",
"start": "2021-09-06T22:00:00+00:00",
"end": "2021-09-08T22:00:00+00:00"
},
"supports": {}
},
"category": {
"id": "category-delivery",
"name": "Category Home delivery",
"tags": [
{
"name": "NoCOD"
}
]
},
"pricing": {
"currency": "SEK",
"price": 10.0,
"price_components": [
{
"type": "PRICE_COMPONENT_TYPE_SHIPPING",
"value": 10.0
}
]
},
"selection": "PRESELECTED_CHOICE",
"delivery_time": {
"pickup_from_merchant": {
"earliest": "2021-09-06T13:00:00+00:00",
"latest": "2021-09-06T13:00:00+00:00"
},
"customer_delivery_promise": {
"earliest": "2021-09-06T22:00:00+00:00",
"latest": "2021-09-08T22:00:00+00:00"
},
"carrier_delivery_promise": {
"earliest": "2021-09-06T22:00:00+00:00",
"latest": "2021-09-08T22:00:00+00:00"
}
}
}
}
]
}