- Welcome 👋
- Get Started
- Create Your First App
- Authorization
- Webhooks
- Conditional Webhooks
- Security Considerations
- Multi-Language Support
- Responses
- Pagination
- Rate Limiting
- Versioning
- Change Log
- Support
- APIs
- Orders
- Order Status
- Order Histories
- Order Tags
- Order Invoice
- Order Reservations
- Order Items
- Products
- Product Options
- Product Quantity
- Product Variants
- Product Tags
- Product Images
- Product Option Values
- Abandoned Carts
- Customer Groups
- Customers
- Digitals Product
- Categories
- Exports
- Shipments
- Shipping Companies
- Shipping Zones
- Shipping Rules
- Countries
- Product Option Templates
- Taxes
- Coupons
- Affiliates
- Order Assignment
- Special Offers
- Transactions
- Payments
- Settlements
- Settings
- Merchant
- Brands
- Reviews
- Branches
- Currencies
- SEO
- Cities
- DNS Records
- Languages
- Employees
- Advertisements
- Webhooks
- Custom URLs
- Loyalty Points
- Webhooks - Store Events
Shipping Rule Details
Production
Production
GET
https://api.salla.dev/admin/v2/shipping/rules/{rule_id}
Shipping Rules
Last modified:2025-02-02 12:23:10
rule_id
as a path parameter.Scopes
shipping.read
- Shipping Read OnlyRequest
Authorization
Add the parameter
Authorization
to Headers,whose value is to concatenate the Token after the Bearer.Example:
Authorization: Bearer ********************
Path Params
rule_id
integer
required
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.salla.dev/admin/v2/shipping/rules/'
Responses
🟢200Success
application/json
Body
status
number
optional
success
boolean
optional
data
object (ShippingRules)
optional
id
number
required
title
string
required
status
string
required
shipping_companies_ids
array[number]
required
https://api.salla.dev/admin/v2/shipping/companies
restrictions
array [object {3}]
required
Example
{
"status": 200,
"success": true,
"data": {
"title": "CPSAVIP",
"status": "active",
"shipping_companies_ids": [
322729604
],
"restrictions": [
{
"type": "cart-price",
"condition": "==",
"value": 100
},
{
"type": "category",
"condition": "!=",
"value": "Dress"
},
{
"type": "customer-group",
"condition": ">",
"value": "VIP"
}
]
}
}
🟠404Error Validation
🟠401Unauthorized
Modified at 2025-02-02 12:23:10