The ability to use fallback shipping methods is enabled by default, but you can disable it. If you disable fallback shipping and Commerce Cloud cannot reach your shipping calculator’s web service, shoppers may see errors during checkout and may not be able to complete their orders.
You use the Commerce Cloud Admin API to set the fallbackEnabled
property, a Boolean that specifies whether fallback shipping methods are used. The default value for fallbackEnabled
is true
.
To set the fallbackEnabled
property, issue a PUT request to the /ccadmin/v1/merchant/fallbackShippingConfiguration
endpoint.
The following example shows a PUT request that disables fallback shipping.
PUT /ccadmin/v1/merchant/fallbackShippingConfiguration HTTP/1.1 Content-Type: application/json Authorization: Bearer <access_token> { "fallbackEnabled": false }