1. Service
Tjar
  • 🗂️ Overview
  • 🚀 Start Here
  • Orders
    • List Orders
      GET
    • Get Order Details
      GET
    • Order Statuses
      GET
    • Create Order
      POST
    • Change Order Status
      POST
  • Products
    • Digital
      • Create Digital Product
      • Get Digital Product Details
      • Update Digital Product
    • Booking
      • Get Booking Product Details
      • Create Booking Product
      • Update Booking Product
    • Service
      • Get Service Product
        GET
      • Create Service Product
        POST
      • Update Service Product
        PATCH
    • List All Products
      GET
    • Get Product Details
      GET
    • Create Product
      POST
    • Update Product
      PATCH
    • Delete Product
      DELETE
  • Media
    • Upload Media
      POST
    • Upload Multiple Media
      POST
    • Update Media
      POST
  • Webhook
    • List Webhooks
      GET
    • Register Webhook
      POST
    • Update Webhook
      PUT
    • Delete Webhook
      DELETE
    • Verify Signature
      POST
    • Refresh Secret
      POST
    • Webhook Events
      GET
  • Abandoned Cart
    • List Abandoned Carts
    • Get Abandoned Cart Details
    • Send Reminder
  1. Service

Update Service Product

Developing
PATCH
/products/service/{identifier}
Last modified:2026-03-18 22:01:25

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Header Params

Body Params application/jsonRequired

Examples

Responses

🟢200Success
application/json
Body

🟠422Validation Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH '/products/service/128' \
--header 'Accept: application/json' \
--header 'Accept-Language: {{lang}}' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name_ar": "خدمة تصميم مواقع احترافية - محدثة",
    "name_en": "Professional Website Design Service - Updated",
    "summery_ar": "خدمة تصميم مواقع ويب احترافية محدثة بأحدث التقنيات",
    "summery_en": "Updated professional web design service using the latest technologies",
    "description_ar": "نقدم خدمة تصميم مواقع ويب احترافية شاملة ومحدثة تتضمن التصميم والتطوير والنشر",
    "description_en": "We provide an updated comprehensive professional web design service including design, development, and deployment",
    "sale_price": 179.99,
    "price": 229.99,
    "sku": "SRV-WEB-001-V2",
    "slug": "professional-website-design-service-updated",
    "status_id": 1,
    "image_id": 736,
    "product_gallery": [
        736,
        736,
        736
    ],
    "brand_id": 1,
    "badge_id": 2,
    "category": [
        1,
        3
    ],
    "tags": [
        "web design",
        "development",
        "responsive",
        "updated"
    ],
    "is_refundable": true,
    "policy_description": "Full refund within 14 days if not satisfied",
    "video_source": "youtube",
    "video_id": "newVideoId123",
    "general_title": "Professional Website Design Service - Updated",
    "general_description": "Get an updated professional website designed by experts",
    "general_image": 736,
    "facebook_title": "Professional Website Design Service - Updated",
    "facebook_description": "Get your dream website designed by our updated expert team",
    "facebook_image": 736,
    "twitter_title": "Professional Website Design Service - Updated",
    "twitter_description": "Updated expert website design service at affordable prices",
    "twitter_image": 736,
    "product_options": [
        {
            "type": "radio",
            "title": {
                "ar": "مدة الدعم",
                "en": "Support Duration"
            },
            "subTitle": {
                "ar": "اختر مدة الدعم",
                "en": "Choose support duration"
            },
            "isRequired": true,
            "multiSelect": false,
            "options": {
                "ar": {
                    "شهر واحد": 0,
                    "3 أشهر": 60,
                    "6 أشهر": 100,
                    "سنة كاملة": 180
                },
                "en": {
                    "1 Month": 0,
                    "3 Months": 60,
                    "6 Months": 100,
                    "1 Year": 180
                }
            }
        },
        {
            "type": "checkbox",
            "title": {
                "ar": "خدمات إضافية",
                "en": "Additional Services"
            },
            "subTitle": {
                "ar": "اختر الخدمات الإضافية",
                "en": "Choose additional services"
            },
            "isRequired": false,
            "multiSelect": true,
            "options": {
                "ar": {
                    "تحسين SEO": 35,
                    "تكامل وسائل التواصل": 25,
                    "نظام إدارة المحتوى": 50
                },
                "en": {
                    "SEO Optimization": 35,
                    "Social Media Integration": 25,
                    "CMS Integration": 50
                }
            }
        },
        {
            "type": "text",
            "title": {
                "ar": "ملاحظات إضافية",
                "en": "Additional Notes"
            },
            "subTitle": {
                "ar": "أضف ملاحظاتك",
                "en": "Add your notes"
            },
            "isRequired": false,
            "multiSelect": false,
            "options": null
        }
    ],
    "related_products": [
        214
    ],
    "release_date": "2025-01-01",
    "update_date": "2026-03-01",
    "preview_link": "https://example.com/preview/website-design-v2"
}'
Response Response Example
200 - OK
{
    "status": "success",
    "message": "Service product updated successfully",
    "data": {
        "id": 128,
        "identifier": 128,
        "name": {
            "ar": "خدمة تصميم مواقع احترافية - محدثة",
            "en": "Professional Website Design Service - Updated"
        },
        "summary": {
            "ar": "خدمة تصميم مواقع ويب احترافية محدثة بأحدث التقنيات",
            "en": "Updated professional web design service using the latest technologies"
        },
        "description": {
            "ar": "نقدم خدمة تصميم مواقع ويب احترافية شاملة ومحدثة تتضمن التصميم والتطوير والنشر",
            "en": "We provide an updated comprehensive professional web design service including design, development, and deployment"
        },
        "type": "service",
        "price": 229.99,
        "sale_price": 179.99,
        "is_refundable": true,
        "min_purchase": 1,
        "max_purchase": null,
        "image": "http://b56tf.store.test/assets/tenant/uploads/media-uploader/b56tf/logo-default1764072374.png",
        "is_published": true,
        "ratings": null,
        "created_at": "2025-09-03 15:12:29",
        "updated_at": "2026-03-19 01:01:37",
        "brand": {
            "id": 1,
            "title": "",
            "name": {
                "ar": "Brand A",
                "en": "Brand A"
            },
            "description": {
                "ar": "Brand A",
                "en": "Brand A"
            },
            "logo": "http://b56tf.store.test/assets/tenant/uploads/media-uploader/b56tf/download1748277198.jpg",
            "banner": "http://b56tf.store.test/assets/tenant/uploads/media-uploader/b56tf/download1748277198.jpg"
        },
        "tags": [
            {
                "id": 513,
                "tag_name": "web design"
            },
            {
                "id": 514,
                "tag_name": "development"
            },
            {
                "id": 515,
                "tag_name": "responsive"
            },
            {
                "id": 516,
                "tag_name": "updated"
            }
        ],
        "categories": [
            {
                "id": 1,
                "name": {
                    "ar": "Elektronik",
                    "en": "Elektronik"
                },
                "description": {
                    "ar": "Elektronik",
                    "en": "Elektronik"
                },
                "image": "http://b56tf.store.test/assets/img/no-image.jpg"
            },
            {
                "id": 3,
                "name": {
                    "ar": "Digital",
                    "en": "Digital"
                },
                "description": {
                    "ar": "Digital",
                    "en": "Digital"
                },
                "image": "http://b56tf.store.test/assets/img/no-image.jpg"
            }
        ]
    }
}
Modified at 2026-03-18 22:01:25
Previous
Create Service Product
Next
List All Products
Built with