1. Digital
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
        POST
      • Get Digital Product Details
        GET
      • Update Digital Product
        PATCH
    • Booking
      • Get Booking Product Details
      • Create Booking Product
      • Update Booking Product
    • Service
      • Get Service Product
      • Create Service Product
      • Update Service Product
    • 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. Digital

Update Digital Product

Developing
PATCH
/products/digital/{identifier}
Last modified:2026-03-12 00:27:15

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

🟠404Not Found
🟠422Validation Error
🔴500Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH '/products/digital/202' \
--header 'Accept: application/json' \
--header 'Accept-Language: {{lang}}' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name_ar": "منتج رقمي محدث بالكامل",
    "name_en": "Fully Updated Digital Product",
    "summery_ar": "ملخص محدث",
    "summery_en": "Updated summary",
    "description_ar": "وصف تفصيلي محدث للمنتج الرقمي",
    "description_en": "Updated detailed description of the digital product",
    "sale_price": 149.99,
    "price": 179.99,
    "cost": 30.00,
    "sku": "DIGI-FULL-UPDATE-001",
    "slug": "fully-updated-digital-product",
    "status_id": 1,
    "image_id": 741,
    "product_gallery": [
        735,
        736,
        739
    ],
    "brand_id": 2,
    "badge_id": 3,
    "category": [
        1,
        2
    ],
    "sub_category": [
        1
    ],
    "child_category": [
        1
    ],
    "tags": [
        "updated",
        "digital",
        "premium"
    ],
    "min_purchase": 1,
    "max_purchase": 10,
    "is_refundable": false,
    "is_inventory_warning": true,
    "policy_description": "No returns on digital products.",
    "video_source": "youtube",
    "video_id": "updatedVideoId456",
    "general_title": "Updated SEO Title",
    "general_description": "Updated SEO description",
    "facebook_title": "Updated Facebook Title",
    "facebook_description": "Updated Facebook description",
    "facebook_image": 742,
    "twitter_title": "Updated Twitter Title",
    "twitter_description": "Updated Twitter description",
    "twitter_image": 743,
    "related_products": [
        198
    ],
    "digital_type": "digital_cards",
    "entry_code_method": "separate_code",
    "separate_digital_cards": [
        "UPDATED-CODE-001",
        "UPDATED-CODE-002",
        "UPDATED-CODE-003"
    ],
    "preview_link": "https://example.com/preview/updated",
    "release_date": "2025-01-01",
    "update_date": "2025-06-01",
    "additional_information": {
        "platform": "Windows, Mac",
        "language": "English, Arabic",
        "version": "2.5"
    }
}'
Response Response Example
200 - OK
{
    "status": "success",
    "message": "Digital product updated successfully",
    "data": {
        "id": 202,
        "identifier": 202,
        "name": {
            "ar": "منتج رقمي محدث بالكامل",
            "en": "Fully Updated Digital Product"
        },
        "summary": {
            "ar": "ملخص محدث",
            "en": "Updated summary"
        },
        "description": {
            "ar": "وصف تفصيلي محدث للمنتج الرقمي",
            "en": "Updated detailed description of the digital product"
        },
        "type": "digital",
        "price": 179.99,
        "sale_price": 149.99,
        "is_refundable": false,
        "min_purchase": 1,
        "max_purchase": 10,
        "image": "http://b56tf.store.test/assets/tenant/uploads/media-uploader/b56tf/3-screen-of-tutorial1766840221.png",
        "is_published": true,
        "ratings": null,
        "created_at": "2026-03-07 23:39:40",
        "updated_at": "2026-03-12 03:27:35",
        "brand": {
            "id": 2,
            "title": "",
            "name": {
                "ar": "Brand B",
                "en": "Brand B"
            },
            "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": 416,
                "tag_name": "updated"
            },
            {
                "id": 417,
                "tag_name": "digital"
            },
            {
                "id": 418,
                "tag_name": "premium"
            }
        ],
        "categories": [
            {
                "id": 1,
                "name": {
                    "ar": "Elektronik",
                    "en": "Elektronik"
                },
                "description": {
                    "ar": "Elektronik",
                    "en": "Elektronik"
                },
                "image": "http://b56tf.store.test/assets/img/no-image.jpg"
            },
            {
                "id": 2,
                "name": {
                    "ar": "Pakaian",
                    "en": "Pakaian"
                },
                "description": {
                    "ar": "Pakaian",
                    "en": "Pakaian"
                },
                "image": "http://b56tf.store.test/assets/img/no-image.jpg"
            }
        ]
    }
}
Modified at 2026-03-12 00:27:15
Previous
Get Digital Product Details
Next
Get Booking Product Details
Built with