---
title: "Copy of Copy of Copy of"
method: POST
path: "/site/{site_name}/ecommerce/shipping-zones/{zone_id}/shipping-methods"
---

# Copy of Copy of Copy of

`POST /site/{site_name}/ecommerce/shipping-zones/{zone_id}/shipping-methods`

## Path parameters

- `site_name` string, required
- `zone_id` string, required

## Headers

- `Authorization` string
- `x-duda-access-token` string

## Request body

- object
  - `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.
  - `name` string, required — Display name for the method at checkout.
  - `min_delivery_time_in_days` integer — Customer facing information about the estimated minimum delivery time in days for the specific method.
  - `max_delivery_time_in_days` integer — Customer facing information about the estimated maximum delivery time in days for the specific method.
  - `rates` object[], required — Array of rates for the shipping method.
    - `price` number, double — String decimal value of the price the customer must pay for shipping.
    - `min_cart_weight` integer — Minimum weight in grams of a cart for the rate to be valid.
    - `max_cart_weight` integer — Maximum weight in grams of a cart to have for the rate to be valid (can be left empty for the last rate to catch all carts above a defined weight).
    - `min_cart_value` number, double — Minimum value of the cart's subtotal for the rate to be valid.
    - `max_cart_value` number, double — Minimum value of the cart's subtotal for the rate to be valid.

## Response `201`

Created

- object

---

[API](https://skmtc.net/duda/apis/partner-api.md) · [All operations](https://skmtc.net/duda/apis/partner-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/duda/partner-api/versions/5b9208270ed1/schema)
