- 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
Categories Search
Production
Production
GET
https://api.salla.dev/admin/v2/categories/search
Category
Last modified:2025-02-20 14:43:58
Scopes
categories.read
- Categories Read OnlyRequest
Authorization
Add the parameter
Authorization
to Headers,whose value is to concatenate the Token after the Bearer.Example:
Authorization: Bearer ********************
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/categories/search?keyword=phones&ids='
Responses
🟢200Success
application/json
Body
status
number
optional
success
boolean
optional
data
array[object (Category) {14}]
optional
id
number
required
name
string
required
image
string
required
urls
object (Urls)
required
parent_id
integer
required
sort_order
integer | null
required
status
enum<string>
required
active
or intentionally concealed from view hidden
. It essentially controls whether the category is publicly displayed or kept private within the system.Allowed values:
activehidden
show_in
object
required
has_hidden_products
boolean
required
update_at
string
required
metadata
object
required
sub_categories
array[string]
required
translations
object
required
with=translations
query parameter.translations
object will return two entries: ar
for Arabic and en
for English.items
array[object (Category) {14}]
required
with=items
query parameter.pagination
object (Pagination)
optional
count
number
required
total
number
required
perPage
number
required
<= 65
currentPage
number
required
totalPages
number
required
links
object
required
Example
{
"status": 200,
"success": true,
"data": [
{
"id": 558898595,
"name": "الفساتين",
"urls": {
"customer": "https://salla.sa/dev-k9dn7fok0vih4p70/category/mENQjb",
"admin": "https://s.salla.sa/categories"
},
"parent_id": 0,
"status": "active",
"sort_order": 0,
"update_at": "2024-10-02 13:10:17",
"metadata": {
"title": "dresses",
"description": "dresses",
"url": "dresses"
}
},
{
"id": 1181713494,
"name": "البلايز",
"urls": {
"customer": "https://salla.sa/dev-k9dn7fok0vih4p70/category/NDYwBg",
"admin": "https://s.salla.sa/categories"
},
"parent_id": 0,
"status": "hidden",
"sort_order": 2,
"update_at": "2024-02-05 16:33:11",
"metadata": {
"title": "tshirts",
"description": "tshirts",
"url": "tshirts"
}
}
],
"pagination": {
"count": 2,
"total": 2,
"perPage": 20,
"currentPage": 1,
"totalPages": 1,
"links": []
}
}
🟠401Unauthorized
Modified at 2025-02-20 14:43:58