WaltherShop API Documentation
فهرست مطالب :
ToggleWaltherShop Product API
This API provides a public product listing from WaltherShop, including name, price, image, URL, and availability.
Endpoint
GET https://walthershop.ir/wp-json/walther-openapi/v1/products
Query Parameters
- page – (integer) Page number
- per_page – (integer) Items per page (default: 30)
- search – (string) Search term
- category – (string) Product category slug
Sample Response
{
"page": 1,
"per_page": 30,
"total_found": 146,
"products": [
{
"id": 123,
"name": "گرامافون والتر مدل 106",
"description": "مدل فولچوب با طراحی کلاسیک و صدای گرم",
"price": "14900000",
"image": "https://walthershop.ir/wp-content/uploads/2024/10/gramophone.webp",
"url": "https://walthershop.ir/product/gramophone-106",
"availability": "in_stock"
}
]
}