Create shipping zone method

post/site/{site_name}/ecommerce/shipping-zones/{zone_id}/shipping-methods

Request

  • Base URL
    https://api-sandbox.duda.co/api/integrationhub/application
  • URL
    https://api-sandbox.duda.co/api/integrationhub/application/site/{site_name}/ecommerce/shipping-zones/{zone_id}/shipping-methods
  • Auth
    none required

Path parameters

site_namestring required
zone_idstring required

Headers

Authorizationstring
x-duda-access-tokenstring

Request body

type'UNKNOWN' | 'FREE' | 'FLAT_RATE' | 'CART_PRICE_BASED' | 'CART_WEIGHT_BASED' required

Calculation type of the shipping method. This property will dictate the validation rules for the array of rates.

namestring required

Display name for the method at checkout.

min_delivery_time_in_daysinteger

Customer facing information about the estimated minimum delivery time in days for the specific method.

max_delivery_time_in_daysinteger

Customer facing information about the estimated maximum delivery time in days for the specific method.

Response

Created

object required

Changes

No recorded changes to this operation across all 2 revisions of this API.