- 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
Update Product Price By SKU
Production
Production
POST
https://api.salla.dev/admin/v2/products/sku/{sku}/price
Products
Last modified:2025-02-04 08:45:24
sku
as a path parameter.Scopes
products.read_write
- Products Read & WriteRequest
Authorization
Add the parameter
Authorization
to Headers,whose value is to concatenate the Token after the Bearer.Example:
Authorization: Bearer ********************
Path Params
sku
string
required
Body Params application/json
price
number
required
Example
{
"price": 15
}
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 POST 'https://api.salla.dev/admin/v2/products/sku//price' \
--header 'Content-Type: application/json' \
--data-raw '{
"price": 15
}'
Responses
🟢201Created Successfully
application/json
Body
status
number
optional
success
boolean
optional
data
object (ProductDetails)
optional
id
number
required
promotion
object
required
sku
string
required
mpn
string | null
required
Example:
45343
gtin
string | null
required
Example:
14643439
type
enum<string>
required
Allowed values:
productservicegroup_productscodesdigitalfooddonatingbooking
name
string
required
short_link_code
string
required
urls
object (Urls)
required
price
object
required
taxed_price
object
required
pre_tax_price
object
required
tax
object
required
description
string
required
quantity
integer
required
unlimited_quantity
boolean
required
status
enum<string>
required
Allowed values:
saleouthiddendeleted
is_available
boolean
required
views
integer
required
sale_price
object
required
sale_end
string
required
require_shipping
boolean
required
cost_price
number
required
weight
number
required
weight_type
enum<string>
required
Allowed values:
kgglboz
with_tax
boolean
required
url
string
required
images
array [object {9}]
required
sold_quantity
integer
required
rating
object
required
regular_price
object
required
max_items_per_user
number
required
maximum_quantity_per_order
number | null
required
show_in_app
boolean
required
notify_quantity
string | null
required
hide_quantity
boolean
required
channels
array[string]
required
Allowed values:
appweb
managed_by_branches
boolean
required
service_blocks
object
required
calories
string | null
required
Example:
500.00
starting_price
object
required
Example:
500.00
allow_attachments
boolean
required
is_pinned
boolean
required
pinned_date
string
required
sort
number
required
active_advance
boolean
required
enable_upload_image
boolean
required
updated_at
string
required
options
array[object (MiniProductOption) {13}]
required
skus
array[object (ProductVariant) {21}]
required
metadata
object
required
booking_details
object
required
categories
array[object (Category) {14}]
required
brand
object (Brand)
required
tags
array [object {2}]
required
Example
{
"status": 201,
"success": true,
"data": {
"id": 1672908878,
"promotion": {
"title": "ترويجي",
"sub_title": "فرعي"
},
"sku": "shirt-383",
"thumbnail": "https://salla-dev.s3.eu-central-1.amazonaws.com/nWzD/2E0Z2t6Q8FG3ca620rwqcTY2CC2j2PAGrqqeDROY.jpg",
"mpn": "45343",
"gtin": "14643439",
"type": "product",
"name": "T-Shirt",
"short_link_code": "qQvmmRb",
"urls": {
"customer": "https://salla.sa/dev-mvxlkrylzfanmuri/t-shirt/p1672908878",
"admin": "https://s.salla.sa/products/1672908878"
},
"price": {
"amount": 100,
"currency": "SAR"
},
"taxed_price": {
"amount": 100,
"currency": "SAR"
},
"pre_tax_price": {
"amount": 100,
"currency": "SAR"
},
"tax": {
"amount": 0,
"currency": "SAR"
},
"description": "regular t-shirt",
"quantity": 6000,
"status": "sale",
"is_available": true,
"views": 0,
"sale_price": {
"amount": 0,
"currency": "SAR"
},
"sale_end": {},
"require_shipping": true,
"cost_price": "35",
"weight": 1,
"weight_type": "kg",
"with_tax": true,
"url": "https://salla.sa/dev-mvxlkrylzfanmuri/t-shirt/p1672908878",
"main_image": "https://salla-dev.s3.eu-central-1.amazonaws.com/nWzD/2E0Z2t6Q8FG3ca620rwqcTY2CC2j2PAGrqqeDROY.jpg",
"images": [
{
"id": 1699137764,
"url": "https://salla-dev.s3.eu-central-1.amazonaws.com/nWzD/2E0Z2t6Q8FG3ca620rwqcTY2CC2j2PAGrqqeDROY.jpg",
"main": false,
"three_d_image_url": "",
"alt": "image",
"video_url": "",
"type": "image",
"sort": 5
}
],
"sold_quantity": 0,
"rating": {
"total": 0,
"count": 0,
"rate": 0
},
"regular_price": {
"amount": 100,
"currency": "SAR"
},
"max_items_per_user": 0,
"maximum_quantity_per_order": 100,
"show_in_app": true,
"notify_quantity": "12",
"hide_quantity": false,
"unlimited_quantity": true,
"managed_by_branches": false,
"services_blocks": {
"installments": []
},
"calories": 567,
"customized_sku_quantity": false,
"channels": [
"web",
"app"
],
"metadata": {
"title": "This product is amazing",
"description": "This Product is one of the amazing things you can buy for yourself",
"url": "https://salla.sa/dev-mvxlkrylzfanmuri/t-shirt/p1672908878"
},
"allow_attachments": false,
"is_pinned": false,
"pinned_date": "2024-03-06 13:50:32",
"sort": 0,
"enable_upload_image": false,
"updated_at": "2024-03-06 13:50:32",
"options": [
{
"id": 784299854,
"name": "Color",
"description": "This Product is one of the amazing things you can buy for yourself",
"type": "radio",
"required": false,
"associated_with_order_time": 0,
"availability_range": false,
"not_same_day_order": false,
"choose_date_time": true,
"from_date_time": "2024-10-14 14:28:03",
"to_date_time": "2025-10-14 14:28:03",
"sort": 5,
"advance": true,
"display_type": "text",
"visibility": "always",
"translations": {
"ar": {
"option_name": "Color",
"description": "This Product is one of the amazing things you can buy for yourself"
}
},
"values": [
{
"id": 410377234,
"name": "Blue",
"price": {
"amount": 0,
"currency": "SAR"
},
"formatted_price": "",
"display_value": "",
"advance": true,
"option_id": 784299854,
"image_url": "https://thisImageLink",
"hashed_display_value": "",
"translations": {
"ar": {
"option_details_name": "Blue"
}
},
"is_default": false,
"is_out_of_stock": false
},
{
"id": 1783823123,
"name": "Red",
"price": {
"amount": 0,
"currency": "SAR"
},
"formatted_price": "",
"display_value": "",
"advance": true,
"option_id": 784299854,
"image_url": "https://thisImageLink",
"hashed_display_value": "",
"translations": {
"ar": {
"option_details_name": "Red"
}
},
"is_default": false,
"is_out_of_stock": false
}
]
},
{
"id": 2022020687,
"name": "Size",
"description": "This Product is one of the amazing things you can buy for yourself",
"type": "radio",
"required": false,
"associated_with_order_time": 0,
"availability_range": false,
"not_same_day_order": false,
"choose_date_time": true,
"from_date_time": "2025-02-14 14:28:03",
"to_date_time": "2025-10-14 14:28:03",
"sort": 0,
"advance": true,
"display_type": "text",
"visibility": "always",
"translations": {
"ar": {
"option_name": "Size",
"description": "هذ المنتج ممتاز جدا لك"
}
},
"values": [
{
"id": 1144986140,
"name": "Small",
"price": {
"amount": 0,
"currency": "SAR"
},
"formatted_price": "",
"display_value": "",
"advance": true,
"option_id": 2022020687,
"image_url": "https://thisImageLink",
"hashed_display_value": "",
"translations": {
"ar": {
"option_details_name": "Small"
}
},
"is_default": false,
"is_out_of_stock": false
},
{
"id": 369375517,
"name": "Large",
"price": {
"amount": 0,
"currency": "SAR"
},
"formatted_price": "",
"display_value": "",
"advance": true,
"option_id": 2022020687,
"image_url": "https://thisImageLink",
"hashed_display_value": "",
"translations": {
"ar": {
"option_details_name": "Large"
}
},
"is_default": false,
"is_out_of_stock": false
}
]
}
],
"skus": [
{
"id": 1936825372,
"price": {
"amount": 100,
"currency": "SAR"
},
"regular_price": {
"amount": 0,
"currency": "SAR"
},
"cost_price": {
"amount": 0,
"currency": "SAR"
},
"sale_price": {},
"has_special_price": false,
"stock_quantity": 1200,
"unlimited_quantity": true,
"notify_low": "12",
"barcode": "10cods",
"sku": "23-TD23-32",
"mpn": "45343",
"gtin": "14643439",
"related_options": [
784299854,
2022020687
],
"related_option_values": [
410377234,
1144986140
],
"weight": 1,
"weight_type": "kg",
"weight_label": "١ كجم",
"is_user_subscribed_to_sku": false,
"is_default": false
},
{
"id": 1298053917,
"price": {
"amount": 100,
"currency": "SAR"
},
"regular_price": {
"amount": 0,
"currency": "SAR"
},
"cost_price": {
"amount": 0,
"currency": "SAR"
},
"sale_price": {},
"has_special_price": false,
"stock_quantity": 1000,
"unlimited_quantity": true,
"notify_low": "10",
"barcode": "10mycode",
"sku": "23-TD23-32",
"mpn": "45343",
"gtin": "14643439",
"related_options": [
784299854,
2022020687
],
"related_option_values": [
369375517,
410377234
],
"weight": 5.3,
"weight_type": "kg",
"weight_label": "١ كجم",
"is_user_subscribed_to_sku": false,
"is_default": false
},
{
"id": 524016158,
"price": {
"amount": 100,
"currency": "SAR"
},
"regular_price": {
"amount": 0,
"currency": "SAR"
},
"cost_price": {
"amount": 0,
"currency": "SAR"
},
"sale_price": {},
"has_special_price": false,
"stock_quantity": 1000,
"unlimited_quantity": true,
"notify_low": "10",
"barcode": "99Mycode",
"sku": "23-TD23-32",
"mpn": "45343",
"gtin": "14643439",
"related_options": [
784299854,
2022020687
],
"related_option_values": [
1144986140,
1783823123
],
"weight": 1,
"weight_type": "kg",
"weight_label": "١ كجم",
"is_user_subscribed_to_sku": false,
"is_default": false
},
{
"id": 1761671455,
"price": {
"amount": 100,
"currency": "SAR"
},
"regular_price": {
"amount": 0,
"currency": "SAR"
},
"cost_price": {
"amount": 0,
"currency": "SAR"
},
"sale_price": {},
"has_special_price": false,
"stock_quantity": 1000,
"unlimited_quantity": true,
"notify_low": "12",
"barcode": "10Me2U",
"sku": "23-TD23-32",
"mpn": "45343",
"gtin": "14643439",
"related_options": [
784299854,
2022020687
],
"related_option_values": [
369375517,
1783823123
],
"weight": 1,
"weight_type": "kg",
"weight_label": "١ كجم",
"is_user_subscribed_to_sku": false,
"is_default": false
}
],
"categories": [
{
"id": 256950451,
"name": "البلايز",
"urls": {
"customer": "https://salla.sa/dev-wofftr4xsra5xtlv/البلايز/c256950451",
"admin": "https://s.salla.sa/categories"
},
"items": [],
"parent_id": 0,
"status": "active",
"sort_order": 2,
"update_at": {
"date": "2022-01-16 15:35:55.000000",
"timezone_type": 3,
"timezone": "Asia/Riyadh"
}
},
{
"id": 783738494,
"name": "الفساتين",
"urls": {
"customer": "https://salla.sa/dev-wofftr4xsra5xtlv/البلايز/c256950451",
"admin": "https://s.salla.sa/categories"
},
"items": [],
"parent_id": 0,
"status": "active",
"sort_order": 2,
"update_at": {
"date": "2022-01-16 15:35:55.000000",
"timezone_type": 3,
"timezone": "Asia/Riyadh"
}
}
],
"tags": [
1366932222,
591845887
]
}
}
🟠404Not Found
🟠422Error Validation
🟠401Unauthorized
Modified at 2025-02-04 08:45:24