You can mark any number of internal shipping methods as fallbacks. You might want to create a fallback method for each type of shipping method you expected to receive back from the external shipping service. This section describes how to use the Admin REST API to specify fallback shipping methods. To learn how to use the administration interface UI for this task, see Configure Shipping in Using Oracle Commerce Cloud.
To specify that a shipping method can be used as a fallback, set its isFallback
property to true
. The following example marks an existing shipping method as a fallback.
PUT /ccadmin/v1/shippingMethods/standardShippingMethod HTTP/1.1 Content-Type: application/json Authorization: Bearer <access_token> { "isFallback": true, }