{
    "id": 436,
    "date": "2024-10-30T17:31:18",
    "date_gmt": "2024-10-30T17:31:18",
    "guid": {
        "rendered": "https:\/\/flyingarrow.com.sa\/?page_id=436"
    },
    "modified": "2024-11-19T20:01:02",
    "modified_gmt": "2024-11-19T20:01:02",
    "slug": "api-integration-with-flying-arrow",
    "status": "publish",
    "type": "page",
    "link": "https:\/\/flyingarrow.com.sa\/en_us\/api-integration-with-flying-arrow\/",
    "title": {
        "rendered": "API Integration with Flying Arrow"
    },
    "content": {
        "rendered": "<p><\/p>\n\n\n\n<p><br><strong>3rd Party Data Syncing<\/strong><br><strong>EndPoint<\/strong><\/p>\n\n\n\n<p>You will be provided our system API endpoint by our developer when you get onboard. When provided the API endpoint, you will replace the \u201cDATA _SYNC_API_ENDPOINT&#8221;  mentioned in the document descriptions below when actually making the API call from your end.<\/p>\n\n\n\n<p><br><strong>Authentication<\/strong><\/p>\n\n\n\n<p>Our developer will provide you with an access token that must be sent along with any request to th server to authenticate your request.<\/p>\n\n\n\n<p>You must add the provided token with the request as a header entry with the key \u201c3rd-party-secret-key\u201d. Below is a sample of adding the header using <strong>PHP &#8211; cur<\/strong>l.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\n$curl = curl_init();\ncurl_setopt_array($curl, array(\nCURLOPT_URL =&gt; 'DATA_SYNC_API_ENPOINT',\nCURLOPT_RETURNTRANSFER =&gt; true,\nCURLOPT_ENCODING =&gt; '',\nCURLOPT_MAXREDIRS =&gt; 10,\nCURLOPT_TIMEOUT =&gt; 0,\nCURLOPT_FOLLOWLOCATION =&gt; true,\nCURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,\nCURLOPT_CUSTOMREQUEST =&gt; 'GET',\nCURLOPT_HTTPHEADER =&gt; array(\n'3rd-party-secret-key: 7eQ9rNE2uPfDo3rqIGa01Hwfsdw0ggOu'\n),\n));\n$response = curl_exec($curl);\ncurl_close($curl);\necho $response;<\/code><\/pre>\n\n\n\n<p><br><strong>Vendor CRUD<\/strong><\/p>\n\n\n\n<p>You can create\/update\/delete vendor records on our server by making POST, GET, PATCH, DELETE request to the provided api endpoint below.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>https:&#47;&#47;\u201cDATA_SYNC_API_ENPOINT\u201d\/vendors<\/code><\/pre>\n\n\n\n<p>Sample Request:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n\"name\": \"Vendor One\",\n\"description\": \"\",\n\"delivery_fee\": 10,\n\"delivery_range\": 40,\n\"tax\": 0,\n\"phone\": \"+966555519058\",\n\"email\": \"sample_vendor@gmail.com\",\n\"address\": \"Qays Ibn Sayfi, Al-Safa, Jeddah 23455, Saudi Arabia\",\n\"latitude\": \"21.5892571\",\n\"longitude\": \"39.2096954\",\n\"pickup\": 1,\n\"delivery\": 1,\n\"is_active\": 1,\n\"min_order\": 20,\n\"max_order\": 1000000,\n\"prepare_time\": \"30\",\n\"delivery_time\": \"60\",\n\/\/sync_code is the external vendor ref, to indentify vendor record againt your local record,\n\/\/because return vendor id might be different from your location record id\n\"sync_code\": \"20B132-ElZmR\",\n\"logo\": \"https:\/\/flyingarrow.com.sa\/storage\/479\/A6RA1-1710444436.jpg\",\n\"feature_image\": \"https:\/\/flyingarrow.com.sa\/storage\/495\/sMJ7Y-1710709645.jpg\",\n\"vendor_type\": {\n\/\/possible slugs: food, grocery, commerce\n\"slug\": \"food\"\n  }\n}<\/code><\/pre>\n\n\n\n<p>Sample Response:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n\"message\": \"Vendor recorded successfully\",\n\"vendor\": {\n\"id\": 2,\n\"name\": \"Vendor One\",\n\"description\": \"\",\n\"delivery_fee\": 10,\n\"delivery_range\": 40,\n\"tax\": \"0\",\n\"phone\": \"+966555519058\",\n\"email\": \"sample_vendor@gmail.com\",\n\"address\": \"Qays Ibn Sayfi, Al-Safa, Jeddah 23455, Saudi Arabia\",\n\"latitude\": \"21.5892571\",\n\"longitude\": \"39.2096954\",\n\"commission\": 0,\n\"pickup\": 1,\n\"delivery\": 1,\n\"is_active\": 1,\n\"charge_per_km\": 0,\n\"is_open\": true,\n\"vendor_type_id\": 2,\n\"auto_assignment\": 1,\n\"auto_accept\": 0,\n\"allow_schedule_order\": false,\n\"has_sub_categories\": false,\n\"min_order\": \"0\",\n\"max_order\": \"1000000\",\n\"use_subscription\": false,\n\"has_drivers\": 0,\n\"prepare_time\": null,\n\"delivery_time\": null,\n\"in_order\": 1,\n\"featured\": 0,\n\"created_at\": \"2024-04-02 08:44:26\",\n\"updated_at\": \"2024-04-02 08:59:33\",\n\"deleted_at\": null,\n\"creator_id\": null,\n\"sync_code\": \"20B132-ElZmR\",\n\"third_party_token_id\": 4,\n\"reviews_count\": 0,\n\"formatted_date\": \"02 Apr 2024\",\n\"logo\": \"<a href=\"http:\/\/flyingarrow.com.sa\/images\/default.png\">http:\/\/flyingarrow.com.sa\/images\/default.png<\/a>\",\n\"feature_image\": \"<a href=\"\" title=\"\">http:\/\/flyingarrow.com.sa\/images\/default.png<\/a>\",\n\"rating\": 5,\n\"can_rate\": false,\n\"slots\": &#91;],\n\"is_package_vendor\": 1,\n\"has_subscription\": true,\n\"document_requested\": false,\n\"pending_document_approval\": false,\n\"vendor_type\": {\n\"id\": 2,\n\"name\": \"Food Delivery \",\n\"color\": \"#97b500\",\n\"description\": \"Buy the best meal from your nearby restaurant\",\n\"slug\": \"food\",\n\"is_active\": 1,\n\"in_order\": 2,\n\"created_at\": \"2021-06-30 10:45:53\",\n\"updated_at\": \"2024-03-26 12:50:04\",\n\"deleted_at\": null,\n\"formatted_date\": \"30 Jun 2021\",\n\"logo\": \"http:\/\/flyingarrow.com.sa\/images\/default.png\",\n\"website_header\": \"\",\n\"has_banners\": 0\n},\n\"fees\": &#91;],\n\"days\": &#91;]\n  }\n}<\/code><\/pre>\n\n\n\n<p><br><strong>Product Crud<\/strong><\/p>\n\n\n\n<p>You can create\/update\/delete product records on our server by making POST, GET, PATCH, DELETE requests to the provided API endpoint below.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>https:&#47;&#47;\u201cDATA_SYNC_API_ENPOINT\u201d\/products<\/code><\/pre>\n\n\n\n<p>Sample Request:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n\"name\": \"Fried Rice\",\n\"description\": \"Nice meal for the month\",\n\"price\": 250,\n\"discount_price\": 100,\n\"sync_code\": \"20B132-ElZmR\",\n\"photo\": \"https:\/\/images.unsplash.com\/photo-1711816769781-0a8194f44399?q=80&amp;w=1968&amp;auto=format&amp;fit=crop&amp;ixlib=rb-4.0.3&amp;ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D\",\n\"vendor_id\": 2\n}<\/code><\/pre>\n\n\n\n<p>Sample Response:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n\"message\": \"Product recorded successfully\",\n\"product\": {\n\"id\": 2,\n\"name\": \"Fried Rice\",\n\"sku\": null,\n\"barcode\": null,\n\"description\": \"Nice meal for the month\",\n\"price\": 250,\n\"discount_price\": 100,\n\"capacity\": \"1\",\n\"unit\": \"kg\",\n\"package_count\": null,\n\"available_qty\": null,\n\"featured\": 0,\n\"deliverable\": 1,\n\"is_active\": 1,\n\"plus_option\": 1,\n\"digital\": 0,\n\"age_restricted\": false,\n\"vendor_id\": 2,\n\"in_order\": 1,\n\"approved\": 0,\n\"created_at\": \"2024-04-02 09:09:56\",\n\"updated_at\": \"2024-04-02 09:11:25\",\n\"deleted_at\": null,\n\"sync_code\": \"20B132-ElZmR\",\n\"third_party_token_id\": 4,\n\"reviews_count\": 0,\n\"formatted_date\": \"02 Apr 2024\",\n\"sell_price\": 100,\n\"photo\": \"<a href=\"http:\/\/flyingarrow.com.sa\/images\/default.png\">http:\/\/flyingarrow.com.sa\/images\/default.png<\/a>\",\n\"is_favourite\": false,\n\"rating\": 0,\n\"option_groups\": &#91;],\n\"photos\": &#91;\n\"http:\/\/flyingarrow.com.sa\/images\/default.png\"\n],\n\"digital_files\": &#91;],\n\"token\":\"eyJpdiI6IkErcnBkZWVWYTg2azVPeDBiTm9SVGc9PSIsInZhbHVlIjoiZk5jTUxrV1RkN3RCVE9yRG85b2NJR3kyY1JSRXVwTFpCREZLREd1aGljUkhDeXRKbnRibzA4SFBhNzBPYUJGbTZJNTNGMXhMQ29wQlVEem13OUNQMnc9PSIsIm1hYy\",\n\"vendor\": {\n\"id\": 2,\n\"name\": \"\u0623\u0635\u0648\u0644 \u0627\u0644\u0643\u0628\u062f\u0629 - osool Elkebdah\",\n\"\u0627\u0644\u0643\u0628\u062f\u0629 \u062a\u062e\u0635\u0635\u0646\u0627\" :\"description\",\n\"base_delivery_fee\": 5,\n\"delivery_fee\": 1,\n\"delivery_range\": 40,\n\"tax\": \"0\",\n\"phone\": \"+966555519058\",\n\"email\": \"shmjh345@gmail.com\",\n\"address\": \"Qays Ibn Sayfi, Al-Safa, Jeddah 23455, Saudi Arabia\",\n\"latitude\": \"21.5892571\",\n\"longitude\": \"39.2096954\",\n\"commission\": 5,\n\"pickup\": 1,\n\"delivery\": 1,\n\"is_active\": 1,\n\"charge_per_km\": 0,\n\"is_open\": true,\n\"vendor_type_id\": 2,\n\"auto_assignment\": 1,\n\"auto_accept\": 0,\n\"allow_schedule_order\": false,\n\"has_sub_categories\": false,\n\"min_order\": \"0\",\n\"max_order\": \"1000000\",\n\"use_subscription\": false,\n\"has_drivers\": 0,\n\"prepare_time\": null,\n\"delivery_time\": null,\n\"in_order\": 1,\n\"featured\": 0,\n\"created_at\": \"2024-04-02 08:44:26\",\n\"updated_at\": \"2024-04-02 08:59:33\",\n\"deleted_at\": null,\n\"creator_id\": null,\n\"sync_code\": \"20B132-ElZmR\",\n\"third_party_token_id\": 4,\n\"reviews_count\": 0,\n\"formatted_date\": \"02 Apr 2024\",\n\"logo\": \"http:\/\/flyingarrow.com.sa\/images\/default.png\",\n\"feature_image\": \"http:\/\/flyingarrow.com.sa\/images\/default.png\",\n\"rating\": 5,\n\"can_rate\": false,\n\"slots\": &#91;],\n\"is_package_vendor\": 1,\n\"has_subscription\": true,\n\"document_requested\": false,\n\"pending_document_approval\": false,\n\"vendor_type\": {\n\"id\": 2,\n\"name\": \"Food Delivery \",\n\"color\": \"#97b500\",\n\"description\": \"Buy the best meal from your nearby restaurant\",\n\"slug\": \"food\",\n\"is_active\": 1,\n\"in_order\": 2,\n\"created_at\": \"2021-06-30 10:45:53\",\n\"updated_at\": \"2024-03-26 12:50:04\",\n\"deleted_at\": null,\n\"formatted_date\": \"30 Jun 2021\",\n\"logo\": \"http:\/\/flyingarrow.com.sa\/images\/default.png\",\n\"website_header\": \"\",\n\"has_banners\": 0\n},\n\"fees\": &#91;],\n\"days\": &#91;]\n},\n\"tags\": &#91;]\n }\n}<\/code><\/pre>\n\n\n\n<p><br><strong>Order Crud<\/strong><\/p>\n\n\n\n<p>You can make a call to the order API endpoint to record orders on our system. You can create a new order, update the status\/payment_status of any already created order, or delete an order.<\/p>\n\n\n\n<p><br>Api Endpoint:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>https:&#47;&#47;\u201cDATA_SYNC_API_ENPOINT\u201d\/orders<\/code><\/pre>\n\n\n\n<p>Sample Request:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n\"code\": \"30997091142360\",\n\"verification_code\": \"5923393\",\n\"note\": \"no spice\",\n\"payment_status\": \"pending\",\n\"sub_total\": 62,\n\"tip\": 0,\n\"discount\": 0,\n\"delivery_fee\": 20.83,\n\"commission\": 0,\n\"tax\": 0,\n\"tax_rate\": 0,\n\"total\": 82.83,\n\"delivery_address_id\": 59,\n\"pickup_date\": null,\n\"pickup_time\": null,\n\"package_type_id\": null,\n\"weight\": 0,\n\"width\": 0,\n\"length\": 0,\n\"height\": 0,\n\"payer\": 1,\n\"payment_method_id\": 1,\n\"vendor_id\": 2,\n\"user_id\": 1,\n\"driver_id\": null,\n\"status\": \"ready\",\n\"attachments\": &#91;],\n\"user\": {\"id\": 1,\n\"code\": \"3sp1Oq\",\n\"name\": \"Mohamed zaky\",\n\"email\": \"Mohamedzaky252@yahoo.com\",\n\"phone\": \"+966533862521\",\n\"country\ncode\": \"SA\",\n\"sync_code\": \"26F356-v5bcO\",\n\"photo\": \"https:\/\/flyingarrow.com.sa\/images\/user.png\",}\n\"driver\": null,\n\"products\": &#91;\n{\n\"id\": 13,\n\"quantity\": 2,\n\"price\": 31,\n\"options\": \"\",\n\"options_ids\": \"\",\n\"product_id\": 299,\n\"product\": {\n\"name\": \"Fried Rice\",\n\"description\": \"Nice meal for the month\",\n\"price\": 250,\n\"discount_price\": 100,\n\"sync_code\": \"20B132-ElZmR\",\n\"photo\": \"https:\/\/images.unsplash.com\/photo-1711816769781-0a8194f44399?q=80&amp;w=1968&amp;auto=format&amp;fit=crop&amp;ixlib=rb-4.0.3&amp;ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D\",\n\"vendor_id\": 2\n }\n}\n],\n\"delivery_address\": {\n\"id\": 59,\n\"name\": \"heraa\",\n\"description\": null,\n\"address\": \"JCMB306,jeddah\",\n\"latitude\": 21.5459086,\n\"longitude\": 39.2123393,\n\"city\":\"Jeddah\",\n\"state\":\"Makkah\",\n\"country\":\"Saudi,\n\"is_default\": 0,\n\"user_id\": 1,\n},\n\"payment_method\": {\n\"slug\": \"cash\"\n},\n\"vendor\": {\n\"name\": \"\u0623\u0635\u0648\u0644 \u0627\u0644\u0643\u0628\u062f\u0629 - osool Elkebdah\",\n\"description\":\"Kebdah experince\",\n\"base_delivery_fee\": 16,\n\"delivery_fee\": 1,\n\"delivery_range\": 40,\n\"tax\": \"0\",\n\"phone\": \"+966555519058\",\n\"email\": \"shmjh345@gmail.com\",\n\"address\": \"Qays Ibn Sayfi, Al-Safa, Jeddah 23455, Saudi Arabia\",\n\"latitude\": \"21.5892571\",\n\"longitude\": \"39.2096954\",\n\"commission\": 5,\n\"pickup\": 1,\n\"delivery\": 1,\n\"is_active\": 1,\n\"min_order\": 20,\n\"max_order\": 1000000,\n\"prepare_time\": \"30\",\n\"delivery_time\": \"60\",\n\"sync_code\": \"20B132-ElZmR\",\n\"logo\": \"https:\/\/flyingarrow.com.sa\/storage\/479\/A6RA1-1710444436.jpg\",\n\"feature_image\": \"https:\/\/flyingarrow.com.sa\/storage\/495\/sMJ7Y-1710709645.jpg\",\n\"vendor_type\": {\n\"slug\": \"food\"\n  }\n }\n}<\/code><\/pre>\n\n\n\n<p>Sample Response<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n\"message\": \"Order recorded successfully\",\n\"order\": {\n\"id\": 3,\n\"code\": \"30997091142360\",\n\"verification_code\": \"5923393\",\n\"note\": \"no spice\",\n\"reason\": null,\n\"payment_status\": \"pending\",\n\"sub_total\": 62,\n\"tip\": 0,\n\"discount\": 0,\n\"delivery_fee\": 20.83,\n\"commission\": 0,\n\"tax\": 0,\n\"tax_rate\": 0,\n\"fees\": \"&#91;]\",\n\"total\": 82.83,\n\"delivery_address_id\": 1,\n\"pickup_date\": null,\n\"pickup_time\": null,\n\"package_type_id\": null,\n\"weight\": 0,\n\"width\": 0,\n\"length\": 0,\n\"height\": 0,\n\"payer\": 1,\n\"payment_method_id\": 1,\n\"vendor_id\": 2,\n\"user_id\": 6,\n\"driver_id\": null,\n\"created_at\": \"2024-03-28 09:33:53\",\n\"updated_at\": \"2024-04-02 09:28:42\",\n\"deleted_at\": null,\n\"third_party_token_id\": 4,\n\"payment_link\": \"http:\/\/flyingarrow.com.sa\/order\/payment?code=30997091142360\",\n\"formatted_date\": \"28 Mar 2024\",\n\"type\": \"food\",\n\"formatted_type\": \"Food Delivery \",\n\"can_rate\": false,\n\"can_rate_driver\": false,\n\"can_cancel\": false,\n\"status\": \"ready\",\n\"pickup_location\": null,\n\"dropoff_location\": null,\n\"photo\": \"http:\/\/flyingarrow.com.sa\/images\/default.png\",\n\"signature\": \"\",\n\"attachments\": &#91;],\n\"user\": {\n\"id\": 6,\n\"code\": null,\n\"name\": \"Mohamed zaky\",\n\"email\": \"Mohamedzaky252@yahoo.com\",\n\"phone\": \"+966533862521\",\n\"country_code\": \"SA\",\n\"commission\": 0,\n\"email_verified_at\": null,\n\"vendor_id\": null,\n\"is_active\": 1,\n\"is_online\": 0,\n\"creator_id\": null,\n\"language\": \"en\",\n\"created_at\": \"2024-03-23T16:17:26.000000Z\",\n\"updated_at\": \"2024-03-23T16:17:26.000000Z\",\n\"deleted_at\": null,\n\"syn_code\": \"26F356-v5bcO\",\n\"third_party_token_id\": null,\n\"role_name\": \"\",\n\"role_id\": \"\",\n\"formatted_date\": \"23 Mar 2024\",\n\"photo\": \"http:\/\/flyingarrow.com.sa\/images\/user.png\",\n\"rating\": \"3\",\n\"assigned_orders\": 0,\n\"raw_phone\": \"0533862521\",\n\"is_taxi_driver\": false,\n\"document_requested\": false,\n\"pending_document_approval\": false,\n\"roles\": &#91;],\n\"media\": &#91;],\n}\n\"driver\": null,\n\"statuses\": &#91;\n{\n\"id\": 13,\n\"name\": \"ready\",\n\"reason\": null,\n\"model_type\": \"App\\\\Models\\\\Order\",\n\"model_id\": 3,\n\"created_at\": \"2024-04-02 09:28:44\",\n\"updated_at\": \"2024-04-02 09:28:44\",\n}\n{\n\"id\": 12,\n\"name\": \"ready\",\n\"reason\": null,\n\"model_type\": \"App\\\\Models\\\\Order\",\n\"model_id\": 3,\n\"created_at\": \"2024-04-02 09:28:42\",\n\"updated_at\": \"2024-04-02 09:28:42\",\n}\n{\n\"id\": 11,\n\"name\": \"ready\",\n\"reason\": null,\n\"model_type\": \"App\\\\Models\\\\Order\",\n\"model_id\": 3,\n\"created_at\": \"2024-04-02 09:23:42\",\n\"updated_at\": \"2024-04-02 09:23:42\",\n}\n{\n\"id\": 10,\n\"name\": \"ready\",\n\"reason\": null,\n\"model_type\": \"App\\\\Models\\\\Order\",\n\"model_id\": 3,\n\"created_at\": \"2024-04-02 08:34:00\",\n\"updated_at\": \"2024-04-02 08:34:00\",\n}\n{\n\"id\": 6,\n\"name\": \"ready\",\n\"reason\": null,\n\"model_type\": \"App\\\\Models\\\\Order\",\n\"model_id\": 3,\n\"created_at\": \"2024-03-28 09:37:07\"\n\"updated_at\": \"2024-03-28 09:37:07\",\n}\n{\n\"id\": 5,\n\"name\": \"pending\",\n\"reason\": null,\n\"model_type\": \"App\\\\Models\\\\Order\",\n\"model_id\": 3,\n\"created_at\": \"2024-03-28 09:36:51\",\n\"updated_at\": \"2024-03-28 09:36:51\",\n}\n{\n\"id\": 4,\n\"name\": \"pending\",\n\"reason\": null,\n\"model_type\": \"App\\\\Models\\\\Order\",\n\"model_id\": 3,\n\"created_at\": \"2024-03-28 09:33:53\",\n\"updated_at\": \"2024-03-28 09:33:53\"\n}\n,]\n\"stops\": &#91;],\n\"order_service\": null,\n\"taxi_order\": null,\n\"vendor\": {\n\"id\": 2,\n\"name\": \"\u0623\u0635\u0648\u0644 \u0627\u0644\u0643\u0628\u062f\u0629 - osool Elkebdah\",\n\"description\":\"healthy\",\n\"base_delivery_fee\": 5,\n\"delivery_fee\": 1,\n\"delivery_range\": 40,\n\"tax\": \"0\",\n\"phone\": \"+966555519058\",\n\"email\": \"shmjh345@gmail.com\",\n\"address\": \"Qays Ibn Sayfi, Al-Safa, Jeddah 23455, Saudi Arabia\"\n\"latitude\": \"21.5892571\",\n\"longitude\": \"39.2096954\",\n\"commission\": 5,\n\"pickup\": 1,\n\"delivery\": 1,\n\"is_active\": 1,\n\"charge_per_km\": 1,\n\"is_open\": true,\n\"vendor_type_id\": 2,\n\"auto_assignment\": 1,\n\"auto_accept\": 0,\n\"allow_schedule_order\": false,\n\"has_sub_categories\": false,\n\"min_order\": \"0\",\n\"max_order\": \"1000000\",\n\"use_subscription\": false,\n\"has_drivers\": 0,\n\"prepare_time\": null,\n\"delivery_time\": null,\n\"in_order\": 1,\n\"featured\": 0,\n\"created_at\": \"2024-04-02 08:44:26\",\n\"updated_at\": \"2024-04-02 09:23:42\",\n\"deleted_at\": null,\n\"creator_id\": null,\n\"sync_code\": \"20B132-ElZmR\",\n\"third_party_token_id\": 4,\n\"reviews_count\": 0,\n\"formatted_date\": \"02 Apr 2024\",\n\"logo\": \"http:\/\/flyingarrow.com.sa\/images\/default.png\",\n\"feature_image\": \"http:\/\/flyingarrow.com.sa\/images\/default.png\",\n\"rating\": 5,\n\"can_rate\": false,\n\"slots\": &#91;],\n\"is_package_vendor\": 1,\n\"has_subscription\": true,\n\"document_requested\": false,\n\"pending_document_approval\": false,\n\"vendor_type\": {\n\"id\": 2,\n\"name\": \"Food Delivery \",\n\"color\": \"#97b500\",\n\"description\": \"Buy the best meal from your nearby restaurant\",\n\"slug\": \"food\",\n\"is_active\": 1,\n\"in_order\": 2,\n\"created_at\": \"2021-06-30 10:45:53\",\n\"updated_at\": \"2024-03-26 12:50:04\",\n\"deleted_at\": null,\n\"formatted_date\": \"30 Jun 2021\",\n\"logo\": \"http:\/\/flyingarrow.com.sa\/images\/default.png\",\n\"website_header\": \"\",\n\"has_banners\": 0\n},\n\"fees\": &#91;],\n\"days\": &#91;]\n  }\n }\n}<\/code><\/pre>",
        "protected": false
    },
    "excerpt": {
        "rendered": "<p>3rd Party Data SyncingEndPoint You will be provided our system API endpoint by our developer when you get onboard. When provided the API endpoint, you will replace the \u201cDATA _SYNC_API_ENDPOINT&#8221; mentioned in the document descriptions below when actually making the API call from your end. Authentication Our developer will provide you with an access token [&hellip;]<\/p>",
        "protected": false
    },
    "author": 1,
    "featured_media": 0,
    "parent": 0,
    "menu_order": 0,
    "comment_status": "closed",
    "ping_status": "closed",
    "template": "",
    "meta": {
        "footnotes": ""
    },
    "class_list": [
        "post-436",
        "page",
        "type-page",
        "status-publish",
        "hentry"
    ],
    "aioseo_notices": [],
    "_links": {
        "self": [
            {
                "href": "https:\/\/flyingarrow.com.sa\/en_us\/wp-json\/wp\/v2\/pages\/436",
                "targetHints": {
                    "allow": [
                        "GET"
                    ]
                }
            }
        ],
        "collection": [
            {
                "href": "https:\/\/flyingarrow.com.sa\/en_us\/wp-json\/wp\/v2\/pages"
            }
        ],
        "about": [
            {
                "href": "https:\/\/flyingarrow.com.sa\/en_us\/wp-json\/wp\/v2\/types\/page"
            }
        ],
        "author": [
            {
                "embeddable": true,
                "href": "https:\/\/flyingarrow.com.sa\/en_us\/wp-json\/wp\/v2\/users\/1"
            }
        ],
        "replies": [
            {
                "embeddable": true,
                "href": "https:\/\/flyingarrow.com.sa\/en_us\/wp-json\/wp\/v2\/comments?post=436"
            }
        ],
        "version-history": [
            {
                "count": 41,
                "href": "https:\/\/flyingarrow.com.sa\/en_us\/wp-json\/wp\/v2\/pages\/436\/revisions"
            }
        ],
        "predecessor-version": [
            {
                "id": 507,
                "href": "https:\/\/flyingarrow.com.sa\/en_us\/wp-json\/wp\/v2\/pages\/436\/revisions\/507"
            }
        ],
        "wp:attachment": [
            {
                "href": "https:\/\/flyingarrow.com.sa\/en_us\/wp-json\/wp\/v2\/media?parent=436"
            }
        ],
        "curies": [
            {
                "name": "wp",
                "href": "https:\/\/api.w.org\/{rel}",
                "templated": true
            }
        ]
    }
}