---
title: "Set store shipping"
method: POST
path: "/api/ecommerce/v1/stores/{store_id}/shipping"
tags: ["Ecommerce: Shipping"]
---

# Set store shipping

`POST /api/ecommerce/v1/stores/{store_id}/shipping`

Set the flat-rate shipping price for a store, creating the shipping zone if it does not exist yet.

## Path parameters

- `store_id` string, required

## Request body

- EcommerceV1ShippingSetShippingRequest
  - `price` integer, required — Flat shipping rate in the smallest currency unit (e.g. cents). Use 0 for free shipping.

## Response `200`

Success response

- EcommerceV1ShippingShippingResource
  - `shipping_option` object
    - `id` string — Shipping option ID.
    - `amount` integer — Flat shipping rate in the smallest currency unit (e.g. cents).
    - `currency_code` string — Currency code the rate is charged in (ISO 4217, lowercase).
  - `admin_url` string — Admin UI deep-link to manage shipping settings.

## Other responses

- `401` — Unauthenticated response
- `422` — Validation error response
- `500` — Error response

## Changes

- **2026-06-22** `18399839acde` — 1 info
  - endpoint added
- **2026-06-09** `d05574986eb1` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/hostinger/apis/hostinger-api/changes/api/ecommerce/v1/stores/:store_id/shipping/post.md)

---

[API](https://skmtc.dev/hostinger/apis/hostinger-api.md) · [All operations](https://skmtc.dev/hostinger/apis/hostinger-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hostinger/hostinger-api/revisions/53ccee45e5eb/schema)
