Calculate tax and shipping
POST
/v1/{siteEnv}/{siteId}/checkout/calculate
siteEnvstring
siteIdstring
bodyobjectCheckout
200Returns tax and shipping information
400Invalid state/configuration caused the request to fail
401Auth Failure
500System Exception
curl --request POST \
--url /v1/{siteEnv}/{siteId}/checkout/calculate \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"customer": {
"id": "cu_1",
"email": "",
"external_id": "CUS1234"
},
"shipping_line": {}
}'This endpoint is called at the final step of the checkout process in order to show tax and shipping methods available to the customer.