---
title: "Creates a Shipping Method."
method: POST
path: "/shipping_methods.json"
tags: ["Shipping Methods"]
---

# Creates a Shipping Method.

`POST /shipping_methods.json`

## Request body

- ShippingMethodEdit
  - `shipping_method` union
    - object
      - `type` 'external' — Type of shipping method ('external' or 'tables')
      - `name` string — Name of the Shipping Method
      - `callback_url` string — URL that receives shipping data and returns rates
      - `fetch_services_url` string — URL that returns available shipping services
      - `token` string — Token used to authenticate on fetch_services_url
      - `state` string — Origin state/region code
      - `city` string — Origin city or municipality
      - `postal` string — Origin postal/zip code
    - object
      - `type` 'tables' — Type of shipping method ('external' or 'tables')
      - `name` string — Name of the Shipping Method
      - `tables` object[] — List of shipping tables defining pricing and locations
        - `basedon` 'weight' | 'price' | 'quantity' | 'distance' — Criteria for calculating shipping rates
        - `values` object[] — Pricing rules for each range
          - `amount` number — Minimum base value for the rule
          - `price` number — Price applied for this rule
        - `locations` object[] — Geographic zones where this table applies
          - `country` string — Country code
          - `region` string — Region or state code
          - `municipality` string — Municipality or locality code

## Response `200`

OK

- ShippingMethod
  - `shipping_method` ShippingMethodFields
    - `id` integer — Unique identifier of the Shipping Method
    - `type` 'free' | 'tables' | 'correos_chile' | 'chilexpress' | 'flat' | 'ups' | 'external' — Type of the Shipping Method
    - `name` string — Name of the Shipping Method
    - `enabled` boolean — If the shipping method is active
    - `free_shipping` boolean — If the shipping method is free
    - `free_shipping_minimum_purchase` boolean — Minimum purchase price value to enable free shipping
    - `fee` ShippingFee[]
      - `type` string — Shipping fee type can be fixed/percentage
      - `value` number, float — Shipping value as fixed/percentage value depeding on type
    - `callback_url` string — URL that receives the shipping data and returns rates
    - `fetch_services_url` string — URL that returns available shipping services
    - `state` string — State/Region code of origin
    - `city` string — City/Municipality name of origin
    - `postal` string — Postal/Zipcode of origin
    - `services` ShippingService[]
      - `id` integer — Unique identifier of the Shipping Service
      - `service_name` string — Name of the Shipping Service
      - `service_code` string — Code of the Shipping Service
      - `name` string — Name of the Shipping Service
      - `enabled` boolean — If the service is active or not
      - `original_service_name` string — Original name of the Shipping Service
    - `tables` ShippingTables[]
      - `basedon` string — Product property where shipping value tables are applied to
      - `values` ShippingTablesValue
        - `amount` number, float — Upper bound to limit which shipping fee should be applied depeding on the Basedon returned property
        - `price` number, float — Shipping price fee to apply
      - `locations` ShippingTablesLocation
        - `country` string — Country where shipping table is applied
        - `region` integer — Region where shipping table is applied
        - `municipality` string — Municipality where shipping table is applied
        - `postal_code_range_start` string — Postal code range start where shipping table is applied
        - `postal_code_range_end` string — Postal code range end where shipping table is applied

## Other responses

- `404` — ShippingMethod Not Found.

---

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