---
title: "Update shipping rules for shop"
method: PUT
path: "/config/{shop_id}/shipping-rules"
tags: ["Configuration"]
---

# Update shipping rules for shop

`PUT /config/{shop_id}/shipping-rules`

## Request

- Base URL: `https://queries.test.envia.com`
- URL: `https://queries.test.envia.com/config/{shop_id}/shipping-rules`
- Auth: HTTP bearer

Update shipping rules configuration for a specific shop.

## Path parameters

- `shop_id` integer, required

## Request body

- object
  - `rules` unknown[]: Updated rules array
    - unknown

## Response `200`

Successful response

- object
  - `success` boolean: Indicates if the request was successful
  - `message` string: Success message

---

[API](https://skmtc.dev/envia/apis/envia-queries-api.md) - [All operations](https://skmtc.dev/envia/apis/envia-queries-api/llms.txt) - [OpenAPI document](https://skmtc.dev/envia/apis/envia-queries-api/revisions/56f601a52f3f?raw)
