This documentation aims to provide all the information you need to work with SPEED SERVE API.
This is an API recoded with love by Speed Serve. It aims to be faster and more reliable.
To authenticate requests, include an Authorization header with the value "Bearer {YOUR_AUTH_KEY}".
All authenticated endpoints are marked with a requires authentication badge in the documentation below.
Manage Speed platform AUthentification
curl --request GET \
--get "https://staging.speed-serve.com/api/v1/auth/me" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request POST \
"https://staging.speed-serve.com/api/v1/update-profile" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"lname\": \"voluptate\",
\"fname\": \"voluptatem\",
\"avatar\": \"eaque\"
}"
curl --request POST \
"https://staging.speed-serve.com/api/v1/login" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"login\": \"error\"
}"
curl --request POST \
"https://staging.speed-serve.com/api/v1/admin/login" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"login\": \"earum\",
\"password\": \"jSw>_ikHW$RHV\"
}"
curl --request POST \
"https://staging.speed-serve.com/api/v1/register" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"country_id\": 686415.62224788,
\"login\": \"jctjnuopxksatswywjvfun\",
\"last_name\": \"v\",
\"first_name\": \"jkrnsmggmdcvkgqzuf\",
\"role_id\": 1145316.82267
}"
curl --request POST \
"https://staging.speed-serve.com/api/v1/logout" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request POST \
"https://staging.speed-serve.com/api/v1/verify-otp" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"otp\": 15930955.23412868
}"
curl --request POST \
"https://staging.speed-serve.com/api/v1/refresh-token" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request POST \
"https://staging.speed-serve.com/api/v1/resend-otp" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"login\": \"repellendus\"
}"
Manage Speed platform orders carts
curl --request POST \
"https://staging.speed-serve.com/api/v1/carts" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"user_id\": 503884239.168359,
\"menu_id\": 4056387.791332,
\"quantity\": 14
}"
The ID of the cart.
curl --request GET \
--get "https://staging.speed-serve.com/api/v1/carts/error" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
The ID of the cart.
curl --request PUT \
"https://staging.speed-serve.com/api/v1/carts/9" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"user_id\": 441532122.17,
\"menu_id\": 5671546.764775,
\"quantity\": 6
}"
The ID of the cart.
curl --request DELETE \
"https://staging.speed-serve.com/api/v1/carts/14" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" Manage Speed platform Countries
curl --request GET \
--get "https://staging.speed-serve.com/api/v1/countries-list" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
x-ratelimit-limit
: 60
x-ratelimit-remaining
: 52
access-control-allow-origin
: *
{
"success": true,
"data": [
{
"id": 1,
"name": "Algérie",
"code": "213",
"flag": "🇩🇿",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 2,
"name": "Belgique",
"code": "32",
"flag": "🇧🇪",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 3,
"name": "Bénin",
"code": "229",
"flag": "🇧🇯",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 4,
"name": "Brésil",
"code": "55",
"flag": "🇧🇷",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 5,
"name": "Burkina Faso",
"code": "226",
"flag": "🇧🇫",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 6,
"name": "Cameroun",
"code": "237",
"flag": "🇨🇲",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 7,
"name": "Canada",
"code": "1",
"flag": "🇨🇦",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 8,
"name": "Tchad",
"code": "235",
"flag": "🇹🇩",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 9,
"name": "Chine",
"code": "86",
"flag": "🇨🇳",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 10,
"name": "Colombie",
"code": "57",
"flag": "🇨🇴",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 11,
"name": "Comores",
"code": "269",
"flag": "🇰🇲",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 12,
"name": "Congo-Brazzaville",
"code": "242",
"flag": "🇨🇬",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 13,
"name": "Congo-Kinshasa",
"code": "243",
"flag": "🇨🇩",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 14,
"name": "Côte d’Ivoire",
"code": "225",
"flag": "🇨🇮",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 15,
"name": "Équateur",
"code": "593",
"flag": "🇪🇨",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 16,
"name": "Égypte",
"code": "20",
"flag": "🇪🇬",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 17,
"name": "Éthiopie",
"code": "251",
"flag": "🇪🇹",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 18,
"name": "France",
"code": "33",
"flag": "🇫🇷",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 19,
"name": "Gabon",
"code": "241",
"flag": "🇬🇦",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 20,
"name": "Gambie",
"code": "220",
"flag": "🇬🇲",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 21,
"name": "Géorgie",
"code": "995",
"flag": "🇬🇪",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 22,
"name": "Allemagne",
"code": "49",
"flag": "🇩🇪",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 23,
"name": "Ghana",
"code": "233",
"flag": "🇬🇭",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 24,
"name": "Guinée",
"code": "224",
"flag": "🇬🇳",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 25,
"name": "Corée du Nord",
"code": "850",
"flag": "🇰🇵",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 26,
"name": "Corée du Sud",
"code": "82",
"flag": "🇰🇷",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 27,
"name": "Liberia",
"code": "231",
"flag": "🇱🇷",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 28,
"name": "Libye",
"code": "218",
"flag": "🇱🇾",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 29,
"name": "Madagascar",
"code": "261",
"flag": "🇲🇬",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 30,
"name": "Mali",
"code": "223",
"flag": "🇲🇱",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 31,
"name": "Mauritanie",
"code": "222",
"flag": "🇲🇷",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 32,
"name": "Mexique",
"code": "52",
"flag": "🇲🇽",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 33,
"name": "Maroc",
"code": "212",
"flag": "🇲🇦",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 34,
"name": "Mozambique",
"code": "258",
"flag": "🇲🇿",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 35,
"name": "Namibie",
"code": "264",
"flag": "🇳🇦",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 36,
"name": "Pays-Bas",
"code": "31",
"flag": "🇳🇱",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 37,
"name": "Niger",
"code": "227",
"flag": "🇳🇪",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 38,
"name": "Nigeria",
"code": "234",
"flag": "🇳🇬",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 39,
"name": "Portugal",
"code": "351",
"flag": "🇵🇹",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 40,
"name": "Qatar",
"code": "974",
"flag": "🇶🇦",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 41,
"name": "Rwanda",
"code": "250",
"flag": "🇷🇼",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 42,
"name": "Sénégal",
"code": "221",
"flag": "🇸🇳",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 43,
"name": "Serbie",
"code": "381",
"flag": "🇷🇸",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 44,
"name": "Sierra Leone",
"code": "232",
"flag": "🇸🇱",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 45,
"name": "Singapour",
"code": "65",
"flag": "🇸🇬",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 46,
"name": "Somalie",
"code": "252",
"flag": "🇸🇴",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 47,
"name": "Suède",
"code": "46",
"flag": "🇸🇪",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 48,
"name": "Suisse",
"code": "41",
"flag": "🇨🇭",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 49,
"name": "Taïwan",
"code": "886",
"flag": "🇹🇼",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 50,
"name": "Togo",
"code": "228",
"flag": "🇹🇬",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 51,
"name": "Tunisie",
"code": "216",
"flag": "🇹🇳",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 52,
"name": "Royaume-Uni",
"code": "44",
"flag": "🇬🇧",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 53,
"name": "États-Unis",
"code": "+1",
"flag": "🇺🇸",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 54,
"name": "Zambie",
"code": "260",
"flag": "🇿🇲",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
{
"id": 55,
"name": "Zimbabwe",
"code": "263",
"flag": "🇿🇼",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
}
],
"message": "Countries retrieved successfully"
}
The ID of the country.
curl --request GET \
--get "https://staging.speed-serve.com/api/v1/country/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
x-ratelimit-limit
: 60
x-ratelimit-remaining
: 51
access-control-allow-origin
: *
{
"success": true,
"data": {
"id": 1,
"name": "Algérie",
"code": "213",
"flag": "🇩🇿",
"created_at": "2022-04-09T11:41:23.000000Z",
"updated_at": null
},
"message": "Country retrieved successfully"
}
Manage Speed platform coupons
curl --request GET \
--get "https://staging.speed-serve.com/api/v1/coupon" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request POST \
"https://staging.speed-serve.com/api/v1/coupon" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"code\": \"natus\",
\"discount\": 18268989.38,
\"discount_type\": \"reduction\",
\"description\": \"Explicabo sunt qui et quis enim occaecati.\",
\"expires_at\": \"2026-02-06T14:24:15\"
}"
The ID of the coupon.
curl --request DELETE \
"https://staging.speed-serve.com/api/v1/coupon/4" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" Manage Speed platform courses
curl --request GET \
--get "https://staging.speed-serve.com/api/v1/all-courses" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request POST \
"https://staging.speed-serve.com/api/v1/validate-course" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"course_id\": 24.81967356,
\"speeder_id\": \"itaque\",
\"type\": \"Pharmacy\"
}"
curl --request POST \
"https://staging.speed-serve.com/api/v1/reject-course/impedit" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"course_id\": 29328.908941258,
\"type\": \"SuperMarket\"
}"
curl --request POST \
"https://staging.speed-serve.com/api/v1/course" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"title\": \"et\",
\"latitude_ret\": \"aut\",
\"longitude_ret\": \"asperiores\",
\"latitude_del\": \"voluptatem\",
\"longitude_del\": \"est\",
\"retriever_neighborhood\": \"voluptatem\",
\"retriever_name\": \"occaecati\",
\"retriever_phone\": \"in\",
\"delivery_neighborhood\": \"ipsam\",
\"delivery_phone\": \"laborum\",
\"delivery_name\": \"mollitia\",
\"estimate_meters\": 2198857.2,
\"estimate_time\": 3.776694404,
\"description\": \"Dignissimos et ad corrupti quia ut.\"
}"
The ID of the course.
curl --request GET \
--get "https://staging.speed-serve.com/api/v1/course/12" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
The ID of the course.
curl --request PUT \
"https://staging.speed-serve.com/api/v1/course/11" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"title\": \"sit\",
\"latitude_ret\": \"quod\",
\"longitude_ret\": \"alias\",
\"latitude_del\": \"quibusdam\",
\"longitude_del\": \"dolor\",
\"retriever_neighborhood\": \"ex\",
\"retriever_name\": \"maxime\",
\"retriever_phone\": \"quisquam\",
\"delivery_neighborhood\": \"velit\",
\"delivery_phone\": \"nobis\",
\"delivery_name\": \"praesentium\",
\"estimate_meters\": 119488543.9,
\"estimate_time\": 1.55159,
\"description\": \"Qui consequatur quia fugit omnis ut itaque.\"
}"
curl --request POST \
"https://staging.speed-serve.com/api/v1/cancel-order" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"course_id\": 23368978.2011,
\"type\": \"Course\"
}"
Manage Speed platform drink
curl --request POST \
"https://staging.speed-serve.com/api/v1/drinks" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "name=suscipit"\
--form "price=2.01"\
--form "image=@/tmp/phpwiIy8f" The ID of the drink.
curl --request GET \
--get "https://staging.speed-serve.com/api/v1/drinks/corporis" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
x-ratelimit-limit
: 60
x-ratelimit-remaining
: 59
access-control-allow-origin
: *
{
"message": "App\\Repositories\\BaseRepository::find(): Argument #1 ($id) must be of type int, string given, called in /home/aschndzm/staging.speed-serve.com/app/Http/Controllers/API/DrinkController.php on line 63",
"exception": "TypeError",
"file": "/home/aschndzm/staging.speed-serve.com/app/Repositories/BaseRepository.php",
"line": 117,
"trace": [
{
"file": "/home/aschndzm/staging.speed-serve.com/app/Http/Controllers/API/DrinkController.php",
"line": 63,
"function": "find",
"class": "App\\Repositories\\BaseRepository",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Routing/Controller.php",
"line": 54,
"function": "show",
"class": "App\\Http\\Controllers\\API\\DrinkController",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php",
"line": 43,
"function": "callAction",
"class": "Illuminate\\Routing\\Controller",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Routing/Route.php",
"line": 260,
"function": "dispatch",
"class": "Illuminate\\Routing\\ControllerDispatcher",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Routing/Route.php",
"line": 205,
"function": "runController",
"class": "Illuminate\\Routing\\Route",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
"line": 799,
"function": "run",
"class": "Illuminate\\Routing\\Route",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 141,
"function": "Illuminate\\Routing\\{closure}",
"class": "Illuminate\\Routing\\Router",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php",
"line": 50,
"function": "Illuminate\\Pipeline\\{closure}",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 180,
"function": "handle",
"class": "Illuminate\\Routing\\Middleware\\SubstituteBindings",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php",
"line": 159,
"function": "Illuminate\\Pipeline\\{closure}",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php",
"line": 135,
"function": "handleRequest",
"class": "Illuminate\\Routing\\Middleware\\ThrottleRequests",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php",
"line": 87,
"function": "handleRequestUsingNamedLimiter",
"class": "Illuminate\\Routing\\Middleware\\ThrottleRequests",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 180,
"function": "handle",
"class": "Illuminate\\Routing\\Middleware\\ThrottleRequests",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 116,
"function": "Illuminate\\Pipeline\\{closure}",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
"line": 800,
"function": "then",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
"line": 777,
"function": "runRouteWithinStack",
"class": "Illuminate\\Routing\\Router",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
"line": 741,
"function": "runRoute",
"class": "Illuminate\\Routing\\Router",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
"line": 730,
"function": "dispatchToRoute",
"class": "Illuminate\\Routing\\Router",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
"line": 200,
"function": "dispatch",
"class": "Illuminate\\Routing\\Router",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 141,
"function": "Illuminate\\Foundation\\Http\\{closure}",
"class": "Illuminate\\Foundation\\Http\\Kernel",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php",
"line": 21,
"function": "Illuminate\\Pipeline\\{closure}",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php",
"line": 31,
"function": "handle",
"class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 180,
"function": "handle",
"class": "Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php",
"line": 21,
"function": "Illuminate\\Pipeline\\{closure}",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php",
"line": 40,
"function": "handle",
"class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 180,
"function": "handle",
"class": "Illuminate\\Foundation\\Http\\Middleware\\TrimStrings",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php",
"line": 27,
"function": "Illuminate\\Pipeline\\{closure}",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 180,
"function": "handle",
"class": "Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php",
"line": 86,
"function": "Illuminate\\Pipeline\\{closure}",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 180,
"function": "handle",
"class": "Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php",
"line": 62,
"function": "Illuminate\\Pipeline\\{closure}",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 180,
"function": "handle",
"class": "Illuminate\\Http\\Middleware\\HandleCors",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php",
"line": 39,
"function": "Illuminate\\Pipeline\\{closure}",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 180,
"function": "handle",
"class": "Illuminate\\Http\\Middleware\\TrustProxies",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 116,
"function": "Illuminate\\Pipeline\\{closure}",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
"line": 175,
"function": "then",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
"line": 144,
"function": "sendRequestThroughRouter",
"class": "Illuminate\\Foundation\\Http\\Kernel",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php",
"line": 299,
"function": "handle",
"class": "Illuminate\\Foundation\\Http\\Kernel",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php",
"line": 287,
"function": "callLaravelOrLumenRoute",
"class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php",
"line": 92,
"function": "makeApiCall",
"class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php",
"line": 45,
"function": "makeResponseCall",
"class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php",
"line": 35,
"function": "makeResponseCallIfConditionsPass",
"class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php",
"line": 209,
"function": "__invoke",
"class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php",
"line": 166,
"function": "iterateThroughStrategies",
"class": "Knuckles\\Scribe\\Extracting\\Extractor",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php",
"line": 95,
"function": "fetchResponses",
"class": "Knuckles\\Scribe\\Extracting\\Extractor",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php",
"line": 124,
"function": "processRoute",
"class": "Knuckles\\Scribe\\Extracting\\Extractor",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php",
"line": 71,
"function": "extractEndpointsInfoFromLaravelApp",
"class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php",
"line": 49,
"function": "extractEndpointsInfoAndWriteToDisk",
"class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/knuckleswtf/scribe/src/Commands/GenerateDocumentation.php",
"line": 51,
"function": "get",
"class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php",
"line": 36,
"function": "handle",
"class": "Knuckles\\Scribe\\Commands\\GenerateDocumentation",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Container/Util.php",
"line": 41,
"function": "Illuminate\\Container\\{closure}",
"class": "Illuminate\\Container\\BoundMethod",
"type": "::"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php",
"line": 93,
"function": "unwrapIfClosure",
"class": "Illuminate\\Container\\Util",
"type": "::"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php",
"line": 37,
"function": "callBoundMethod",
"class": "Illuminate\\Container\\BoundMethod",
"type": "::"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Container/Container.php",
"line": 662,
"function": "call",
"class": "Illuminate\\Container\\BoundMethod",
"type": "::"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Console/Command.php",
"line": 211,
"function": "call",
"class": "Illuminate\\Container\\Container",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/symfony/console/Command/Command.php",
"line": 326,
"function": "execute",
"class": "Illuminate\\Console\\Command",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Console/Command.php",
"line": 181,
"function": "run",
"class": "Symfony\\Component\\Console\\Command\\Command",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/symfony/console/Application.php",
"line": 1081,
"function": "run",
"class": "Illuminate\\Console\\Command",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/symfony/console/Application.php",
"line": 320,
"function": "doRunCommand",
"class": "Symfony\\Component\\Console\\Application",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/symfony/console/Application.php",
"line": 174,
"function": "doRun",
"class": "Symfony\\Component\\Console\\Application",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php",
"line": 201,
"function": "run",
"class": "Symfony\\Component\\Console\\Application",
"type": "->"
},
{
"file": "/home/aschndzm/staging.speed-serve.com/artisan",
"line": 37,
"function": "handle",
"class": "Illuminate\\Foundation\\Console\\Kernel",
"type": "->"
}
]
}
The ID of the drink.
curl --request PUT \
"https://staging.speed-serve.com/api/v1/drinks/3" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "name=minus"\
--form "price=522547.56056741"\
--form "image=@/tmp/phpNmm8vf" The ID of the drink.
curl --request DELETE \
"https://staging.speed-serve.com/api/v1/drinks/3" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request GET \
--get "https://staging.speed-serve.com/api/v1/drinks" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
x-ratelimit-limit
: 60
x-ratelimit-remaining
: 58
access-control-allow-origin
: *
{
"success": true,
"data": [
{
"id": 3,
"name": "Coca",
"price": "1000.00",
"image": null,
"created_at": "2024-02-19T11:35:48.000000Z",
"updated_at": "2024-02-19T11:35:48.000000Z"
},
{
"id": 4,
"name": "Fanta",
"price": "1000.00",
"image": null,
"created_at": "2024-02-19T11:35:58.000000Z",
"updated_at": "2024-02-19T11:35:58.000000Z"
},
{
"id": 5,
"name": "Sprite",
"price": "1000.00",
"image": null,
"created_at": "2024-02-19T11:36:21.000000Z",
"updated_at": "2024-02-19T11:36:21.000000Z"
},
{
"id": 6,
"name": "Malta",
"price": "1000.00",
"image": null,
"created_at": "2024-02-19T11:36:40.000000Z",
"updated_at": "2024-02-19T11:36:40.000000Z"
},
{
"id": 7,
"name": "Cocktail de fruits",
"price": "1000.00",
"image": null,
"created_at": "2024-02-19T11:37:07.000000Z",
"updated_at": "2024-02-19T11:37:07.000000Z"
},
{
"id": 8,
"name": "Pompom",
"price": "1000.00",
"image": null,
"created_at": "2024-02-19T11:45:53.000000Z",
"updated_at": "2024-02-19T11:45:53.000000Z"
},
{
"id": 9,
"name": "Djama",
"price": "1500.00",
"image": null,
"created_at": "2024-02-19T11:46:16.000000Z",
"updated_at": "2024-02-19T11:46:16.000000Z"
},
{
"id": 10,
"name": "Pils",
"price": "1500.00",
"image": null,
"created_at": "2024-02-19T11:46:25.000000Z",
"updated_at": "2024-02-19T11:46:25.000000Z"
}
],
"message": "Drinks retrieved successfully"
}
Manage speed user historic
curl --request GET \
--get "https://staging.speed-serve.com/api/v1/speeder/historical" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request GET \
--get "https://staging.speed-serve.com/api/v1/historic" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
Manage Speed platform menus and menus
curl --request POST \
"https://staging.speed-serve.com/api/v1/menus" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "category_id=927.49642762"\
--form "restaurant_id=14.677794"\
--form "name=accusantium"\
--form "description=Ipsam et quaerat rerum dolore sint."\
--form "price=8"\
--form "images[]=@/tmp/phpJYfOVe" The ID of the menu.
curl --request PUT \
"https://staging.speed-serve.com/api/v1/menus/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "category_id=771.443"\
--form "restaurant_id=15290115.4254"\
--form "name=dolores"\
--form "description=Explicabo impedit recusandae soluta iure autem."\
--form "price=10"\
--form "images[]=@/tmp/phpNFrome" The ID of the menu.
curl --request DELETE \
"https://staging.speed-serve.com/api/v1/menus/sapiente" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request GET \
--get "https://staging.speed-serve.com/api/v1/menus" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" The ID of the menu.
curl --request GET \
--get "https://staging.speed-serve.com/api/v1/menus/30" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" Manage Speed platform menus and menus
curl --request POST \
"https://staging.speed-serve.com/api/v1/menu-categories" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"exercitationem\"
}"
The ID of the menu category.
curl --request PUT \
"https://staging.speed-serve.com/api/v1/menu-categories/sunt" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"rerum\"
}"
The ID of the menu category.
curl --request DELETE \
"https://staging.speed-serve.com/api/v1/menu-categories/voluptas" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request GET \
--get "https://staging.speed-serve.com/api/v1/menu-categories" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" The ID of the menu category.
curl --request GET \
--get "https://staging.speed-serve.com/api/v1/menu-categories/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" Manage speed platform notification
curl --request POST \
"https://staging.speed-serve.com/api/v1/test-notification" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"user_id\": \"ex\"
}"
Manage Speed platform orders
curl --request GET \
--get "https://staging.speed-serve.com/api/v1/orders" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request POST \
"https://staging.speed-serve.com/api/v1/orders" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"menu_ids\": [
57997.4539305
],
\"menu_quantities\": [
12
],
\"drink_ids\": [
261.5
],
\"drink_quantities\": [
18
],
\"delivery_location\": \"velit\",
\"delivery_neighborhood\": \"consequatur\",
\"latitude_del\": \"ad\",
\"longitude_del\": \"aspernatur\"
}"
The ID of the order.
curl --request GET \
--get "https://staging.speed-serve.com/api/v1/orders/2" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
The ID of the order.
curl --request PUT \
"https://staging.speed-serve.com/api/v1/orders/9" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"menu_ids\": [
46706
],
\"menu_quantities\": [
12
],
\"drink_ids\": [
49.02092
],
\"drink_quantities\": [
14
],
\"delivery_location\": \"itaque\",
\"delivery_neighborhood\": \"magni\",
\"latitude_del\": \"hic\",
\"longitude_del\": \"adipisci\"
}"
The ID of the order.
curl --request DELETE \
"https://staging.speed-serve.com/api/v1/orders/15" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request GET \
--get "https://staging.speed-serve.com/api/v1/my-orders" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
Manage Speed platform permissions
Endpoint to list all permission.
curl --request GET \
--get "https://staging.speed-serve.com/api/v1/permissions" \
--header "Content-Type: application/json" \
--header "Accept: application/json" Endpoint to create permission.
curl --request POST \
"https://staging.speed-serve.com/api/v1/permissions" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"lorem\"
}"
Endpoint to get permission detail.
permission ID.
curl --request GET \
--get "https://staging.speed-serve.com/api/v1/permissions/2" \
--header "Content-Type: application/json" \
--header "Accept: application/json" Endpoint to edit permission.
l'id du permission.
curl --request PUT \
"https://staging.speed-serve.com/api/v1/permissions/2" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"Lorem\"
}"
Endpoint to delete permission.
l'id du permission.
curl --request DELETE \
"https://staging.speed-serve.com/api/v1/permissions/2" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" Manage Speed platform pharmacy courses
curl --request POST \
"https://staging.speed-serve.com/api/v1/pharmacy-course" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"latitude_del\": \"quis\",
\"longitude_del\": \"incidunt\",
\"delivery_neighborhood\": \"facere\",
\"delivery_phone\": \"beatae\",
\"delivery_name\": \"rem\",
\"estimate_meters\": 2091321.921,
\"estimate_time\": 171362.13,
\"description\": \"Veritatis neque repellendus in nemo et.\",
\"images\": [
\"et\"
]
}"
The ID of the pharmacy course.
curl --request PUT \
"https://staging.speed-serve.com/api/v1/pharmacy-course/quas" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"latitude_del\": \"harum\",
\"longitude_del\": \"dicta\",
\"delivery_neighborhood\": \"non\",
\"delivery_phone\": \"sunt\",
\"delivery_name\": \"necessitatibus\",
\"estimate_meters\": 104277.85,
\"estimate_time\": 20.377,
\"description\": \"Distinctio aut ut repudiandae recusandae esse magni.\",
\"images\": [
\"assumenda\"
]
}"
The ID of the pharmacy course.
curl --request DELETE \
"https://staging.speed-serve.com/api/v1/pharmacy-course/ut" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request GET \
--get "https://staging.speed-serve.com/api/v1/pharmacy-course" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
x-ratelimit-limit
: 60
x-ratelimit-remaining
: 53
access-control-allow-origin
: *
{
"success": true,
"data": [],
"message": "Pharmacy courses retrieved successfully"
}
Manage speed platform and courses review
curl --request POST \
"https://staging.speed-serve.com/api/v1/reviews" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"restaurant_id\": 15.46033,
\"rating\": 4,
\"comment\": \"possimus\",
\"type\": \"Application\"
}"
The ID of the review.
curl --request GET \
--get "https://staging.speed-serve.com/api/v1/reviews/quia" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
Manage Speed platform Restaurant Hours
curl --request GET \
--get "https://staging.speed-serve.com/api/v1/restaurants-hours" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request POST \
"https://staging.speed-serve.com/api/v1/restaurants-hours" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"restaurant_id\": \"consectetur\",
\"day\": [
\"Mercredi\"
],
\"open_time\": [
\"14:24\"
],
\"close_time\": [
\"14:24\"
]
}"
The ID of the restaurants hour.
curl --request GET \
--get "https://staging.speed-serve.com/api/v1/restaurants-hours/nemo" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
The ID of the restaurants hour.
curl --request PUT \
"https://staging.speed-serve.com/api/v1/restaurants-hours/quibusdam" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"restaurant_id\": \"aut\",
\"day\": [
\"Dimanche\"
],
\"open_time\": [
\"14:24\"
],
\"close_time\": [
\"14:24\"
]
}"
The ID of the restaurants hour.
curl --request DELETE \
"https://staging.speed-serve.com/api/v1/restaurants-hours/dolorem" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" Manage Speed platform restaurant
curl --request GET \
--get "https://staging.speed-serve.com/api/v1/all-restaurant" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request GET \
--get "https://staging.speed-serve.com/api/v1/restaurants" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request POST \
"https://staging.speed-serve.com/api/v1/restaurants" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "name=ea"\
--form "latitude=eaque"\
--form "longitude=quia"\
--form "banner=@/tmp/php6TgKtf" \
--form "logo=@/tmp/phpgOrfBg" The ID of the restaurant.
curl --request GET \
--get "https://staging.speed-serve.com/api/v1/restaurants/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
The ID of the restaurant.
curl --request PUT \
"https://staging.speed-serve.com/api/v1/restaurants/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "name=unde"\
--form "latitude=cum"\
--form "longitude=animi"\
--form "banner=@/tmp/phpa1Sm2j" \
--form "logo=@/tmp/php1ZTJdl" The ID of the restaurant.
curl --request DELETE \
"https://staging.speed-serve.com/api/v1/restaurants/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" Manage Speed platform roles
Endpoint to assign permissions to role.
curl --request POST \
"https://staging.speed-serve.com/api/v1/assign-permissions" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"role_id\": 2,
\"permissions_id\": 2
}"
Endpoint to list all role.
curl --request GET \
--get "https://staging.speed-serve.com/api/v1/role" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"success": true,
"message": "Role list.",
"data" : {
"roles" : [{
"id": 1,
"name": "Admin",
"created_at": "2022-10-10T10:19:30.000000Z",
"updated_at": "2022-10-10T10:19:30.000000Z",
}],
}
}
Endpoint to create role.
curl --request POST \
"https://staging.speed-serve.com/api/v1/role" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"lorem\"
}"
{
"success": true,
"data": {
"error": false,
"role": {
"name": "admin",
"updated_at": "2022-10-24T13:27:08.000000Z",
"created_at": "2022-10-24T13:27:08.000000Z",
"id": 2
}
},
"message": "Saved."
}
Endpoint to get role detail.
role ID.
curl --request GET \
--get "https://staging.speed-serve.com/api/v1/role/2" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"success": true,
"data": {
"error": false,
"role": {
"id": 2,
"name": "Benin",
"updated_at": "2022-10-24T13:27:08.000000Z",
"created_at": "2022-10-24T13:27:08.000000Z",
}
},
"message": "Detail."
}
Endpoint to edit role.
l'id du permission.
curl --request PUT \
"https://staging.speed-serve.com/api/v1/role/2" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"Lorem\"
}"
{
"success": true,
"data": {
"error": false,
"permission": {
"name": "Lorem",
"updated_at": "2022-10-24T13:27:08.000000Z",
"created_at": "2022-10-24T13:27:08.000000Z",
"id": 2
}
},
"message": "Saved."
}
Endpoint to delete role.
l'id du role.
curl --request DELETE \
"https://staging.speed-serve.com/api/v1/role/2" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"success" : true
"message": "Deleted",
}
Manage Speed platform speeder
curl --request POST \
"https://staging.speed-serve.com/api/v1/speeder/available" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request POST \
"https://staging.speed-serve.com/api/v1/speeder/unavailable" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request GET \
--get "https://staging.speed-serve.com/api/v1/speeder/profile" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request POST \
"https://staging.speed-serve.com/api/v1/speeder/start-shopping" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"course_id\": 5,
\"type\": \"Course\"
}"
curl --request POST \
"https://staging.speed-serve.com/api/v1/speeder/end-shopping" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"course_id\": 13,
\"type\": \"Course\",
\"estimate_time\": \"distinctio\",
\"estimate_meters\": \"ad\"
}"
curl --request POST \
"https://staging.speed-serve.com/api/v1/speeder/update-password" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"current_password\": \"quibusdam\",
\"password\": \"hW%i:}74e+${X\\\\my\",
\"password_confirmation\": \"exercitationem\"
}"
curl --request GET \
--get "https://staging.speed-serve.com/api/v1/speeder" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request POST \
"https://staging.speed-serve.com/api/v1/speeder" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"lname\": \"et\",
\"fname\": \"omnis\",
\"country_id\": 36852.7428919,
\"login\": \"rewprixuencrrjbicvsbcqjlx\",
\"quartier\": \"est\",
\"cv\": \"ea\",
\"start_date\": \"in\"
}"
The ID of the speeder.
curl --request GET \
--get "https://staging.speed-serve.com/api/v1/speeder/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
The ID of the speeder.
curl --request PUT \
"https://staging.speed-serve.com/api/v1/speeder/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"lname\": \"ex\",
\"fname\": \"temporibus\",
\"country_id\": 0.942,
\"login\": \"nkujnayohravdyl\",
\"quartier\": \"distinctio\",
\"cv\": \"aut\",
\"start_date\": \"ut\"
}"
The ID of the speeder.
curl --request DELETE \
"https://staging.speed-serve.com/api/v1/speeder/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" The ID of the speeder.
curl --request GET \
--get "https://staging.speed-serve.com/api/v1/stop-speeder/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
The ID of the speeder.
curl --request GET \
--get "https://staging.speed-serve.com/api/v1/start-speeder/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request GET \
--get "https://staging.speed-serve.com/api/v1/active-speeders" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request GET \
--get "https://staging.speed-serve.com/api/v1/inactive-speeder" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request GET \
--get "https://staging.speed-serve.com/api/v1/speeder-availabilities-historical" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
Manage Speed platform Super Market
Endpoint to list all superMarket.
curl --request GET \
--get "https://staging.speed-serve.com/api/v1/super-markets" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"success": true,
"message": "SuperMarket list.",
"data" : {
"superMarkets" : [{
"id": 1,
"name": "Admin",
"created_at": "2022-10-10T10:19:30.000000Z",
"updated_at": "2022-10-10T10:19:30.000000Z",
}],
}
}
Endpoint to create Super Market.
curl --request POST \
"https://staging.speed-serve.com/api/v1/super-markets" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"lorem\"
}"
{
"success": true,
"data": {
"error": false,
"superMarket": {
"name": "admin",
"updated_at": "2022-10-24T13:27:08.000000Z",
"created_at": "2022-10-24T13:27:08.000000Z",
"id": 2
}
},
"message": "Saved."
}
Endpoint to get superMarket detail.
superMarket ID.
curl --request GET \
--get "https://staging.speed-serve.com/api/v1/super-markets/2" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"success": true,
"data": {
"error": false,
"superMarket": {
"id": 2,
"name": "Benin",
"updated_at": "2022-10-24T13:27:08.000000Z",
"created_at": "2022-10-24T13:27:08.000000Z",
}
},
"message": "Detail."
}
Endpoint to edit superMarket.
l'id du permission.
curl --request PUT \
"https://staging.speed-serve.com/api/v1/super-markets/2" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"Lorem\"
}"
{
"success": true,
"data": {
"error": false,
"permission": {
"name": "Lorem",
"updated_at": "2022-10-24T13:27:08.000000Z",
"created_at": "2022-10-24T13:27:08.000000Z",
"id": 2
}
},
"message": "Saved."
}
Endpoint to delete superMarket.
l'id du superMarket.
curl --request DELETE \
"https://staging.speed-serve.com/api/v1/super-markets/2" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"success" : true
"message": "Deleted",
}
Manage Speed platform Super Market Course
Endpoint to list all superMarketCourse.
curl --request GET \
--get "https://staging.speed-serve.com/api/v1/shop/super-market" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"success": true,
"message": "SuperMarketCourses list.",
"data" : {
"superMarketCourses" : [{
"id": 1,
"name": "Admin",
"created_at": "2022-10-10T10:19:30.000000Z",
"updated_at": "2022-10-10T10:19:30.000000Z",
}],
}
}
Endpoint to get superMarketCourse detail.
superMarketCourse ID.
curl --request GET \
--get "https://staging.speed-serve.com/api/v1/super-market-courses/2" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"success": true,
"data": {
"error": false,
"superMarketCourse": {
"id": 2,
"name": "Champignon",
"updated_at": "2022-10-24T13:27:08.000000Z",
"created_at": "2022-10-24T13:27:08.000000Z",
}
},
"message": "Detail."
}
Endpoint to create superMarketCourse.
curl --request POST \
"https://staging.speed-serve.com/api/v1/super-market-courses" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"super_market_name\": \"quisquam\",
\"images\": [
\"tenetur\"
],
\"latitude_del\": \"quis\",
\"courses_list\": \"nisi\",
\"longitude_del\": \"nesciunt\",
\"delivery_neighborhood\": \"itaque\",
\"delivery_phone\": \"ullam\",
\"delivery_name\": \"necessitatibus\"
}"
{
"success": true,
"data": {
"error": false,
"superMarketCourse": {
"name": "admin",
"updated_at": "2022-10-24T13:27:08.000000Z",
"created_at": "2022-10-24T13:27:08.000000Z",
"id": 2
}
},
"message": "Saved."
}
Endpoint to edit superMarketCourse.
l'id du permission.
curl --request PUT \
"https://staging.speed-serve.com/api/v1/super-market-courses/2" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"super_market_name\": \"itaque\",
\"images\": [
\"rerum\"
],
\"latitude_del\": \"dolor\",
\"courses_list\": \"sequi\",
\"longitude_del\": \"totam\",
\"delivery_neighborhood\": \"facilis\",
\"delivery_phone\": \"a\",
\"delivery_name\": \"non\"
}"
{
"success": true,
"data": {
"error": false,
"permission": {
"name": "Lorem",
"updated_at": "2022-10-24T13:27:08.000000Z",
"created_at": "2022-10-24T13:27:08.000000Z",
"id": 2
}
},
"message": "Saved."
}
Endpoint to delete superMarketCourse.
l'id du superMarketCourse.
curl --request DELETE \
"https://staging.speed-serve.com/api/v1/super-market-courses/2" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"success" : true
"message": "Deleted",
}
Manage speeder related data
curl --request GET \
--get "https://staging.speed-serve.com/api/v1/users/all" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request POST \
"https://staging.speed-serve.com/api/v1/update-fcm-token" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"fcm_token\": \"voluptatum\"
}"
Manage Speed platform Wallet
curl --request POST \
"https://staging.speed-serve.com/api/v1/transactions/notify" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request GET \
--get "https://staging.speed-serve.com/api/v1/speeder/pay-with-wallet" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"amount\": 87,
\"shop_id\": 3696.371460255
}"
cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request GET \
--get "https://staging.speed-serve.com/api/v1/transactions" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request POST \
"https://staging.speed-serve.com/api/v1/transactions" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"amount\": 1202.594,
\"customer_id\": \"cupiditate\"
}"
curl --request GET \
--get "https://staging.speed-serve.com/api/v1/customer-transactions" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request GET \
--get "https://staging.speed-serve.com/api/v1/customer/balance" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}