techrar docs
Home
Solutions
Solutions
  • eCommerce SaaS
  • Meals SaaS
  • Meals Marketplaces
API
API
  • Merchant APIs
  • Customer App APIs
  • Meals APIs
Techrar Connect
Home
Solutions
Solutions
  • eCommerce SaaS
  • Meals SaaS
  • Meals Marketplaces
API
API
  • Merchant APIs
  • Customer App APIs
  • Meals APIs
Techrar Connect
  1. Tickets
  • Getting Started
  • Merchant Account
    • Merchant Wallet
      • Wallet Details
      • Charge Wallet
    • Merchant Settings
    • List Bank Accounts
    • Update Merchant Settings
    • Organization Config
  • Customers
    • Locations
      • List Customer Locations
      • Customer Location Details
      • Create Customer Location
    • Memberships
      • List Customer Memberships
    • Customer Order Statistics
    • List Customers
    • Customer Details
    • Create Customer
    • Update Customer
  • Wallets
    • Customer Wallet Details
    • Deposit Points
    • Deposit Cashback
    • Redeem from Wallet
  • Vouchers
    • Get Voucher Discount
    • Update Voucher Usage
  • Items
    • Item Config Details
    • Update Item Config
    • List Items
    • Item Details
    • Create Item
    • Update Item
    • Delete Item
    • Reserve an item
    • Record Item Purchase
    • Bulk Update Items
    • Bulk Update Item Prices
  • Item Categories
    • List Item Categories
    • Item Category Details
    • Create Category
    • Update Category
    • Delete Category
  • Item Tags
    • List Item Tags
    • Create Tag
    • Update Tag
    • Delete Tag
  • Item Images
    • Create Item Image
    • Upadte Item Image
    • Delete Item Image
  • Item Discounts
    • Create Item Discount
    • Upadte Item Discount
    • Delete Item Discount
  • Item Bundles
    • List Bundle Categories
    • Bundle Category Details
    • Create Bundle Category
    • Update Bundle Category
    • Delete Bundle Category
  • Item Modifiers
    • List Modifier Categories
    • Modifier Category Details
    • Create Modifier Category
    • Update Modifier Category
    • Delete Modifier Category
  • Carts
    • List Carts
    • Cart Details
  • Orders
    • Checkout Config Details
    • Update Checkout Config
    • List Orders
    • Order Details
    • List Recurring Purchases
    • Recurring Purchase Details
    • Recurring Purchase Details
  • Invoices
    • Invoice Config Details
    • Update Invoice Config
    • List Invoices
    • Invoice Details
    • Refund Invoice
  • Transactions
    • List Transactions
    • Transaction Details
    • Capture Bank Transfer Transaction
    • Decline Bank Transfer Transaction
  • Subscriptions
    • List Subscriptions
    • Subscription Details
    • Subscriptions Statistics
    • Cancel Subscription Auto Renewal
    • Cancel Subscription
    • Increment Subscription Usage
    • Decrement Subscription Usage
    • Bulk Pause Subscriptions
    • Bulk Resume Subscriptions
    • Create Subscription Update
    • Cancel Subscription Update
  • Fulfillments
    • Fulfillment Overview
    • List Fulfillments
    • Fulfillment Details
    • Update Fulfillment Details
  • Tickets
    • List Tickets
      GET
    • Bulk Update Tickets
      POST
    • Validate Token and Check in Ticket
      POST
  • Shipments
    • Shipping Config Details
    • Update Shipping Config
    • Shipping Labels Details
    • Purchase Shipment Labels
    • Create Shipment
    • Cancel Shipment
    • Create Return Shipment
  • Pickup Locations
    • List Pickup Locations
    • Pickup Location Details
    • Create Pickup Location
    • Update Pickup Location Details
    • Delete Pickup Location
  • Couriers
    • List Couriers
    • Get Active Couriers
    • Get Couriers Prices
    • Courier Details
    • Create Custom Courier
    • Update Custom Courier Details
    • Delete Custom Courier
  • Geo & Places
    • List Countires
    • List Regions
    • List Cities
    • List Districts
  • Webhooks
    • List Webhooks
    • Create Webhook
    • Update Webhook Details
    • Delete Webhook
    • List Webhook Logs
    • Test Webhook
    • Delete Webhook By URL
  • Sales Channels
    • Meals
      • List Provider Meal Plans
      • Update Meals Plans Listings
      • List Provider Meals Orders
      • Provider Meals Order Details
      • List Provider Meals Subscriptions
      • Provider Meals Subscription Details
    • Sales Channel Profile Details
    • List Sales Channel Connections
    • Accept Sales Channel Connection Request
    • Reject Sales Channel Connection Request
    • Activate Sales Channel Connection
    • Deactivate Sales Channel Connection
    • Delete Sales Channel Connection Request
  • Notifications
    • Send Notification
  • Meals Plans
    • List Plan Tags
    • List Plans
    • Plan Details
    • Menu Details
  • Meals Logistics
    • City Details
    • Captain Details
    • Branch Details
    • List Supported Windows
    • List Captains
    • Bulk Update SubOrders
  1. Tickets

Validate Token and Check in Ticket

Developing
POST
https://api.techrar.com/order/v1/merchant/fulfillments/tickets/validate/
This endpoint allows you to validate and check in a ticket.
Permission
can_write_order - orders write only

Request

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

Body Params application/jsonRequired

Examples

Responses

🟢200OK
application/json
Bodyapplication/json

Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://api.techrar.com/order/v1/merchant/fulfillments/tickets/validate/' \
--header 'app-id: 4' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "token": "eyJ2IjoxLCJzIjoiZnVsZmlsbG1lbnQiLCJzaWQiOjEwMzcyOX0:1vpOBF:Xq-byjbZ_t8OL-U0W-M7ydf2D29q_fQm0D25eFa4kgk",
    "item_ids": null,
    "customer_phones": null,
    "customer_emails": null
}'
Response Response Example
{
    "id": 103729,
    "created_at": "2026-02-09T13:07:45.172161+03:00",
    "invoice_item_id": 1773,
    "order_id": 591,
    "invoice_id": 1583,
    "item": {
        "id": 183,
        "custom_fields": null,
        "images": [],
        "discount": {
            "is_applied": false,
            "is_trial_applied": false,
            "is_charge_at_end": false,
            "is_usage_price": false,
            "price_after_discount_no_trial": 15.0,
            "price_after_discount": 15.0,
            "payment_method_offers": [
                {
                    "method": "mada",
                    "amount": 15.15
                },
                {
                    "method": "visa_master",
                    "amount": 15.0
                },
                {
                    "method": "applepay",
                    "amount": 15.0
                },
                {
                    "method": "tabby_installments",
                    "amount": 15.0
                },
                {
                    "method": "tamara_installments",
                    "amount": 15.0
                }
            ]
        },
        "stock": {
            "in_stock": true,
            "qty": 100
        },
        "modifiers": [
            {
                "id": 371,
                "ordering": 0,
                "name_en": "time",
                "name_ar": "time",
                "values": [
                    {
                        "id": 822,
                        "ordering": 0,
                        "name_en": "10:14:00 - 22:14:00",
                        "name_ar": "10:14:00 - 22:14:00"
                    }
                ]
            }
        ],
        "variants": [
            {
                "id": 183,
                "custom_fields": null,
                "images": [],
                "discount": {
                    "is_applied": false,
                    "is_trial_applied": false,
                    "is_charge_at_end": false,
                    "is_usage_price": false,
                    "price_after_discount_no_trial": 15.0,
                    "price_after_discount": 15.0
                },
                "stock": {
                    "in_stock": true,
                    "qty": 100
                },
                "plan_config": null,
                "off_days": [],
                "off_dates": [],
                "seo_config": {
                    "og": {
                        "url": "https://dev-app.techrar.com/halala-2-86/product/183",
                        "type": "website",
                        "image": "",
                        "title": {
                            "ar": "Tickettt",
                            "en": "Tickettt"
                        },
                        "description": {
                            "ar": "اكتشف تفاصيل عن Tickettt.",
                            "en": "Discover details about Tickettt."
                        }
                    },
                    "extra": {},
                    "title": {
                        "ar": "Tickettt",
                        "en": "Tickettt"
                    },
                    "twitter": {
                        "card": "summary_large_image",
                        "image": "",
                        "title": {
                            "ar": "Tickettt",
                            "en": "Tickettt"
                        },
                        "description": {
                            "ar": "اطلع على Tickettt.",
                            "en": "Check out Tickettt."
                        }
                    },
                    "meta_tags": [
                        {
                            "key": "viewport",
                            "value": "width=device-width, initial-scale=1"
                        },
                        {
                            "key": "author",
                            "value": "Halala 2"
                        }
                    ],
                    "meta_robots": {
                        "index": true,
                        "follow": true
                    },
                    "canonical_url": "https://dev-app.techrar.com/halala-2-86/product/183",
                    "meta_keywords": {
                        "ar": [
                            "s"
                        ],
                        "en": [
                            "s"
                        ]
                    },
                    "structured_data": {
                        "url": "https://dev-app.techrar.com/halala-2-86/product/183",
                        "name": {
                            "ar": "Tickettt",
                            "en": "Tickettt"
                        },
                        "@type": "Product",
                        "image": "",
                        "offers": {
                            "@type": "Offer",
                            "price": "15.0",
                            "review": [],
                            "availability": "https://schema.org/InStock",
                            "priceCurrency": "SAR"
                        },
                        "@context": "https://schema.org",
                        "description": {
                            "ar": "تفاصيل عن Tickettt.",
                            "en": "Details about Tickettt."
                        },
                        "aggregateRating": ""
                    },
                    "meta_description": {
                        "ar": "تعرف على المزيد عن Tickettt.",
                        "en": "Learn more about Tickettt."
                    }
                },
                "variant_title_en": "10:14:00 - 22:14:00",
                "variant_title_ar": "10:14:00 - 22:14:00",
                "modifier_values": [
                    822
                ],
                "app_id": 86,
                "ordering": 0,
                "type": "booking",
                "service_type": "access",
                "sku": "17705615513814285",
                "price": 15.0,
                "is_taxable": true,
                "name_en": "Tickettt",
                "name_ar": "Tickettt",
                "description_en": "",
                "description_ar": "",
                "city_id": null,
                "is_plan_only": false,
                "is_plan_enabled": false,
                "served_from_date": "2026-02-11",
                "served_to_date": "2026-02-11",
                "served_from_time": "10:14:00",
                "served_to_time": "22:14:00",
                "weight": 0.0,
                "require_customer_info": false
            }
        ],
        "varies_on": "time",
        "plan_config": null,
        "off_days": [],
        "off_dates": [],
        "tags": [],
        "app_id": 86,
        "ordering": 0,
        "type": "booking",
        "service_type": "access",
        "sku": "17705615513814285",
        "price": 15.0,
        "is_taxable": true,
        "name_en": "Tickettt",
        "name_ar": "Tickettt",
        "description_en": "",
        "description_ar": "",
        "city_id": null,
        "is_plan_only": false,
        "is_plan_enabled": false,
        "served_from_date": "2026-02-11",
        "served_to_date": "2026-02-11",
        "served_from_time": "10:14:00",
        "served_to_time": "22:14:00",
        "weight": 0.0,
        "require_customer_info": false,
        "categories": [
            12
        ]
    },
    "name_en": "Tickettt",
    "name_ar": "Tickettt",
    "status": "fulfilled",
    "total_amount": 15.0,
    "date": "2026-02-11",
    "time": "10:14:00",
    "customer_name": "safwan",
    "customer_email": "[email protected]",
    "customer_phone": "0534501056",
    "validation_token": "eyJ2IjoxLCJzIjoiZnVsZmlsbG1lbnQiLCJzaWQiOjEwMzcyOX0:1vpOBF:Xq-byjbZ_t8OL-U0W-M7ydf2D29q_fQm0D25eFa4kgk",
    "custom_fields": null
}
Modified at 2026-02-09 10:34:16
Previous
Bulk Update Tickets
Next
Shipments
Built with