post https://finorchlayer.ecocart.io/offset/calculation/ecommerce
Create offset calculation based on generic ecommerce parameters. Intended to be used by EcoCart's 3rd party API partners.
Log in to see full request history
Responses
Create offset calculation based on generic ecommerce parameters. Intended to be used by EcoCart's 3rd party API partners.
xxxxxxxxxx
31curl --request POST \
--url https://finorchlayer.ecocart.io/offset/calculation/ecommerce \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"cart": {
"items": [
{
"requires_shipping": true
}
]
},
"shipment": {
"journey": {
"segments": [
{
"start": {
"point_type": "lat_lon"
},
"end": {
"point_type": "lat_lon"
},
"vehicle_slug": "vehicle__composite__other"
}
]
}
},
"payor": "default"
Try It!
to start a request and see the response here! Or choose an example: