API Documentation :: Speed Serve

Introduction

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.

Authenticating requests

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.

Authentication

Manage Speed platform AUthentification

Login.

POST
https://speed-api.speederservices.com
/api/v1/login

Headers

Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "https://speed-api.speederservices.com/api/v1/login" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"login\": \"nemo\"
}"

Admin Login.

POST
https://speed-api.speederservices.com
/api/v1/admin/login

Headers

Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "https://speed-api.speederservices.com/api/v1/admin/login" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"login\": \"animi\",
    \"password\": \"&W(axyV\\\"W\\\"}\"
}"

Speeder Login.

POST
https://speed-api.speederservices.com
/api/v1/speeder/login

Headers

Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "https://speed-api.speederservices.com/api/v1/speeder/login" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"login\": \"aperiam\",
    \"password\": \"non\"
}"

Register.

POST
https://speed-api.speederservices.com
/api/v1/register

Headers

Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "https://speed-api.speederservices.com/api/v1/register" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"country_id\": 0.79221,
    \"login\": \"y\",
    \"tel\": \"daxfxfpurihenas\",
    \"last_name\": \"tvuxassv\",
    \"first_name\": \"mpybtkqyllxcljmbjhhdm\",
    \"role_id\": 187577.252
}"

Logout.

POST
https://speed-api.speederservices.com
/api/v1/logout
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request POST \
    "https://speed-api.speederservices.com/api/v1/logout" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Verify OTP

POST
https://speed-api.speederservices.com
/api/v1/verify-otp
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "https://speed-api.speederservices.com/api/v1/verify-otp" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"otp\": 2356014.77335107
}"

Refresh token.

POST
https://speed-api.speederservices.com
/api/v1/refresh-token
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request POST \
    "https://speed-api.speederservices.com/api/v1/refresh-token" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Resend OTP.

POST
https://speed-api.speederservices.com
/api/v1/resend-otp

Headers

Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "https://speed-api.speederservices.com/api/v1/resend-otp" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"login\": \"quas\"
}"

Get the authenticated User.

GET
https://speed-api.speederservices.com
/api/v1/auth/me
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/auth/me" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "message": "Unauthenticated."
}

Update profile.

POST
https://speed-api.speederservices.com
/api/v1/update-profile
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "https://speed-api.speederservices.com/api/v1/update-profile" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"lname\": \"culpa\",
    \"fname\": \"ab\",
    \"avatar\": \"ea\"
}"

POST api/v1/update-password

POST
https://speed-api.speederservices.com
/api/v1/update-password

Headers

Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "https://speed-api.speederservices.com/api/v1/update-password" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"old_password\": \"tempora\",
    \"new_password\": \"iffgvnlwledzkmxtzaxwuxrwfjhxrtlerzsf\"
}"

Carts

Manage Speed platform orders carts

New cart.

POST
https://speed-api.speederservices.com
/api/v1/carts
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "https://speed-api.speederservices.com/api/v1/carts" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"user_id\": 912715,
    \"menu_id\": 361.718853243,
    \"quantity\": 8
}"

Show carts.

GET
https://speed-api.speederservices.com
/api/v1/carts/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
string
required

The ID of the cart.

Example:
aliquam
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/carts/aliquam" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "message": "Unauthenticated."
}

Edit carts.

PUT
PATCH
https://speed-api.speederservices.com
/api/v1/carts/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
integer
required

The ID of the cart.

Example:
8

Body Parameters

Example request:
curl --request PUT \
    "https://speed-api.speederservices.com/api/v1/carts/8" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"user_id\": 77.1733,
    \"menu_id\": 53970.0026426,
    \"quantity\": 4
}"

Reject carts.

DELETE
https://speed-api.speederservices.com
/api/v1/carts/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
integer
required

The ID of the cart.

Example:
9
Example request:
curl --request DELETE \
    "https://speed-api.speederservices.com/api/v1/carts/9" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Countries

Manage Speed platform Countries

Countries list.

GET
https://speed-api.speederservices.com
/api/v1/countries-list

Headers

Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/countries-list" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    x-ratelimit-limit
                                                            : 60
                                                                                                                    x-ratelimit-remaining
                                                            : 53
                                                                                                                    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"
}

Show country.

GET
https://speed-api.speederservices.com
/api/v1/country/{id}

Headers

Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
integer
required

The ID of the country.

Example:
1
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/country/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            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
    },
    "message": "Country retrieved successfully"
}

Coupons

Manage Speed platform coupons

List coupon.

GET
https://speed-api.speederservices.com
/api/v1/coupon
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/coupon" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "message": "Unauthenticated."
}

New coupon.

POST
https://speed-api.speederservices.com
/api/v1/coupon
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "https://speed-api.speederservices.com/api/v1/coupon" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"code\": \"rerum\",
    \"discount\": 943.3168992,
    \"discount_type\": \"reduction\",
    \"description\": \"Ipsam dolores qui unde officiis odit adipisci aut.\",
    \"expires_at\": \"2026-08-19T11:18:07\"
}"

Remove coupon.

DELETE
https://speed-api.speederservices.com
/api/v1/coupon/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
integer
required

The ID of the coupon.

Example:
1
Example request:
curl --request DELETE \
    "https://speed-api.speederservices.com/api/v1/coupon/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Courses

Manage Speed platform courses

New courses.

POST
https://speed-api.speederservices.com
/api/v1/course
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "https://speed-api.speederservices.com/api/v1/course" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"officiis\",
    \"latitude_ret\": \"corporis\",
    \"longitude_ret\": \"ut\",
    \"latitude_del\": \"aut\",
    \"longitude_del\": \"consequatur\",
    \"retriever_neighborhood\": \"et\",
    \"retriever_name\": \"error\",
    \"retriever_phone\": \"dignissimos\",
    \"delivery_neighborhood\": \"quis\",
    \"delivery_phone\": \"fugit\",
    \"delivery_name\": \"quisquam\",
    \"estimate_meters\": 3361595.7839161456,
    \"estimate_time\": 519.3902509,
    \"description\": \"Reprehenderit voluptate illum dignissimos nostrum.\"
}"

Show courses.

GET
https://speed-api.speederservices.com
/api/v1/course/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
string
required

The ID of the course.

Example:
culpa
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/course/culpa" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "message": "Unauthenticated."
}

Edit courses.

PUT
PATCH
https://speed-api.speederservices.com
/api/v1/course/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
integer
required

The ID of the course.

Example:
1

Body Parameters

Example request:
curl --request PUT \
    "https://speed-api.speederservices.com/api/v1/course/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"non\",
    \"latitude_ret\": \"dolore\",
    \"longitude_ret\": \"fugit\",
    \"latitude_del\": \"vel\",
    \"longitude_del\": \"beatae\",
    \"retriever_neighborhood\": \"ut\",
    \"retriever_name\": \"perspiciatis\",
    \"retriever_phone\": \"molestiae\",
    \"delivery_neighborhood\": \"voluptatem\",
    \"delivery_phone\": \"mollitia\",
    \"delivery_name\": \"eaque\",
    \"estimate_meters\": 16291.35071291,
    \"estimate_time\": 2381.2414958,
    \"description\": \"Rerum qui quod quia.\"
}"

Cancel course.

POST
https://speed-api.speederservices.com
/api/v1/cancel-order
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "https://speed-api.speederservices.com/api/v1/cancel-order" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"course_id\": 309219622.4577787,
    \"type\": \"Pharmacy\"
}"

All courses.

GET
https://speed-api.speederservices.com
/api/v1/all-courses
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/all-courses" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "message": "Unauthenticated."
}

Validate course.

POST
https://speed-api.speederservices.com
/api/v1/validate-course
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "https://speed-api.speederservices.com/api/v1/validate-course" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"course_id\": 1250968.31485306,
    \"speeder_id\": \"reiciendis\",
    \"type\": \"Food\"
}"

Reject courses.

POST
https://speed-api.speederservices.com
/api/v1/reject-course
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "https://speed-api.speederservices.com/api/v1/reject-course" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"course_id\": 40.8147008,
    \"type\": \"Course\"
}"

Drink

Manage Speed platform drink

Drinks list.

GET
https://speed-api.speederservices.com
/api/v1/drinks
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/drinks" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    x-ratelimit-limit
                                                            : 60
                                                                                                                    x-ratelimit-remaining
                                                            : 55
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "success": true,
    "data": [
        {
            "id": 1,
            "name": "Jus de bissap",
            "price": "1000.00",
            "image": null,
            "created_at": "2026-07-26T12:38:40.000000Z",
            "updated_at": "2026-07-26T12:38:40.000000Z",
            "restaurant_id": 4,
            "description": "Bissap + citronnelle + cola"
        }
    ],
    "message": "Drinks retrieved successfully"
}

Show drinks.

GET
https://speed-api.speederservices.com
/api/v1/drinks/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
integer
required

The ID of the drink.

Example:
1
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/drinks/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    x-ratelimit-limit
                                                            : 60
                                                                                                                    x-ratelimit-remaining
                                                            : 54
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "success": true,
    "data": {
        "id": 1,
        "name": "Jus de bissap",
        "price": "1000.00",
        "image": null,
        "created_at": "2026-07-26T12:38:40.000000Z",
        "updated_at": "2026-07-26T12:38:40.000000Z",
        "restaurant_id": 4,
        "description": "Bissap + citronnelle + cola"
    },
    "message": "Drink retrieved successfully"
}

New drink.

POST
https://speed-api.speederservices.com
/api/v1/drinks
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "https://speed-api.speederservices.com/api/v1/drinks" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "name=in"\
    --form "price=475144.75"\
    --form "restaurant_id=155.130841901"\
    --form "description=Veniam ut et autem."\
    --form "image=@/tmp/phpjSmSJq" 

Edit drinks.

PUT
PATCH
https://speed-api.speederservices.com
/api/v1/drinks/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

id
integer
required

The ID of the drink.

Example:
1

Body Parameters

Example request:
curl --request PUT \
    "https://speed-api.speederservices.com/api/v1/drinks/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "name=hic"\
    --form "price=4296.959921072"\
    --form "restaurant_id=21.3641311"\
    --form "description=Dolores omnis mollitia ratione ad."\
    --form "image=@/tmp/php5bVPYM" 

Delete drinks.

DELETE
https://speed-api.speederservices.com
/api/v1/drinks/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
integer
required

The ID of the drink.

Example:
1
Example request:
curl --request DELETE \
    "https://speed-api.speederservices.com/api/v1/drinks/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Endpoints

Store the push subscription.

POST
https://speed-api.speederservices.com
/api/v1/push/subscribe
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "https://speed-api.speederservices.com/api/v1/push/subscribe" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"endpoint\": \"http:\\/\\/swift.com\\/\",
    \"key\": \"corporis\",
    \"token\": \"ducimus\",
    \"encoding\": \"qui\"
}"

Get the push subscription.

POST
https://speed-api.speederservices.com
/api/v1/push/status
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "https://speed-api.speederservices.com/api/v1/push/status" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"endpoint\": \"https:\\/\\/www.hamill.biz\\/eaque-voluptate-aut-earum-accusantium-eveniet-nemo\"
}"

Macke the test push

GET
https://speed-api.speederservices.com
/api/v1/push/test
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/push/test" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "message": "Unauthenticated."
}

Historic

Manage speed user historic

Costumer historic.

GET
https://speed-api.speederservices.com
/api/v1/historic
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/historic" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "message": "Unauthenticated."
}

Speeder shop list.

GET
https://speed-api.speederservices.com
/api/v1/speeder/historical
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/speeder/historical" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "message": "Unauthenticated."
}

Menus

Manage Speed platform menus and menus

GET
https://speed-api.speederservices.com
/api/v1/menus
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/menus" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    x-ratelimit-limit
                                                            : 60
                                                                                                                    x-ratelimit-remaining
                                                            : 59
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "success": true,
    "data": [
        {
            "id": 1,
            "restaurant_id": 4,
            "category_id": 1,
            "name": "Opéra Burger",
            "description": "Pain + Viande + Mayonnaise + tomates + oignons",
            "images": "http://speed-serve-api-speed-api.s3wjb4.easypanel.host/uploads/menus/LhacZmXV091rcVMOzvrQuxrkbBrLqQtC2QX3q3Uo.jpg",
            "price": "2000.00",
            "available": 1,
            "created_at": "2026-07-24T20:11:55.000000Z",
            "updated_at": "2026-07-24T20:11:55.000000Z"
        }
    ],
    "message": "Menus retrieved successfully"
}
GET
https://speed-api.speederservices.com
/api/v1/menus/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
integer
required

The ID of the menu.

Example:
1
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/menus/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            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": 1,
        "restaurant_id": 4,
        "category_id": 1,
        "name": "Opéra Burger",
        "description": "Pain + Viande + Mayonnaise + tomates + oignons",
        "images": "http://speed-serve-api-speed-api.s3wjb4.easypanel.host/uploads/menus/LhacZmXV091rcVMOzvrQuxrkbBrLqQtC2QX3q3Uo.jpg",
        "price": "2000.00",
        "available": 1,
        "created_at": "2026-07-24T20:11:55.000000Z",
        "updated_at": "2026-07-24T20:11:55.000000Z"
    },
    "message": "Menu retrieved successfully"
}
POST
https://speed-api.speederservices.com
/api/v1/menus
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "https://speed-api.speederservices.com/api/v1/menus" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "category_id=13244946.08"\
    --form "restaurant_id=1760.035"\
    --form "name=cupiditate"\
    --form "description=Magnam ipsum voluptas officiis suscipit."\
    --form "price=1"\
    --form "images[]=@/tmp/phpiWWIGF" 
PUT
PATCH
https://speed-api.speederservices.com
/api/v1/menus/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

id
integer
required

The ID of the menu.

Example:
1

Body Parameters

Example request:
curl --request PUT \
    "https://speed-api.speederservices.com/api/v1/menus/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "category_id=2.10969"\
    --form "restaurant_id=50583115.351"\
    --form "name=iusto"\
    --form "description=Ea possimus dolores delectus est error minima dolores possimus."\
    --form "price=12"\
    --form "images[]=@/tmp/phphuoZMb" 
DELETE
https://speed-api.speederservices.com
/api/v1/menus/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
integer
required

The ID of the menu.

Example:
1
Example request:
curl --request DELETE \
    "https://speed-api.speederservices.com/api/v1/menus/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Menus Categories

Manage Speed platform menus and menus

GET
https://speed-api.speederservices.com
/api/v1/menu-categories
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/menu-categories" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    x-ratelimit-limit
                                                            : 60
                                                                                                                    x-ratelimit-remaining
                                                            : 57
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "success": true,
    "data": [
        {
            "id": 1,
            "name": "FAST-FOOD",
            "status": 1,
            "created_at": "2026-07-24T19:34:05.000000Z",
            "updated_at": "2026-07-24T19:34:05.000000Z"
        }
    ],
    "message": "Menus category retrieved successfully"
}
GET
https://speed-api.speederservices.com
/api/v1/menu-categories/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
integer
required

The ID of the menu category.

Example:
1
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/menu-categories/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    x-ratelimit-limit
                                                            : 60
                                                                                                                    x-ratelimit-remaining
                                                            : 56
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "success": true,
    "data": {
        "id": 1,
        "name": "FAST-FOOD",
        "status": 1,
        "created_at": "2026-07-24T19:34:05.000000Z",
        "updated_at": "2026-07-24T19:34:05.000000Z"
    },
    "message": "Menu category retrieved successfully"
}
POST
https://speed-api.speederservices.com
/api/v1/menu-categories
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "https://speed-api.speederservices.com/api/v1/menu-categories" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"omnis\"
}"
PUT
PATCH
https://speed-api.speederservices.com
/api/v1/menu-categories/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
integer
required

The ID of the menu category.

Example:
1

Body Parameters

Example request:
curl --request PUT \
    "https://speed-api.speederservices.com/api/v1/menu-categories/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"assumenda\"
}"
DELETE
https://speed-api.speederservices.com
/api/v1/menu-categories/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
integer
required

The ID of the menu category.

Example:
1
Example request:
curl --request DELETE \
    "https://speed-api.speederservices.com/api/v1/menu-categories/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Notification

Manage speed platform notification

Send test notification.

POST
https://speed-api.speederservices.com
/api/v1/test-notification
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "https://speed-api.speederservices.com/api/v1/test-notification" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"user_id\": \"esse\"
}"

Orders

Manage Speed platform orders

Orders list.

GET
https://speed-api.speederservices.com
/api/v1/orders
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/orders" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "message": "Unauthenticated."
}

Show orders.

GET
https://speed-api.speederservices.com
/api/v1/orders/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
integer
required

The ID of the order.

Example:
1
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/orders/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "message": "Unauthenticated."
}

Reject orders.

DELETE
https://speed-api.speederservices.com
/api/v1/orders/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
integer
required

The ID of the order.

Example:
1
Example request:
curl --request DELETE \
    "https://speed-api.speederservices.com/api/v1/orders/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

New order.

POST
https://speed-api.speederservices.com
/api/v1/orders
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "https://speed-api.speederservices.com/api/v1/orders" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"menu_ids\": [
        13346.59064515
    ],
    \"menu_quantities\": [
        3
    ],
    \"drink_ids\": [
        7529251.784577651
    ],
    \"drink_quantities\": [
        20
    ],
    \"delivery_location\": \"eum\",
    \"delivery_neighborhood\": \"et\",
    \"latitude_del\": \"sed\",
    \"longitude_del\": \"sed\"
}"

Edit orders.

PUT
PATCH
https://speed-api.speederservices.com
/api/v1/orders/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
integer
required

The ID of the order.

Example:
1

Body Parameters

Example request:
curl --request PUT \
    "https://speed-api.speederservices.com/api/v1/orders/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"menu_ids\": [
        15163.1
    ],
    \"menu_quantities\": [
        14
    ],
    \"drink_ids\": [
        358838.93758
    ],
    \"drink_quantities\": [
        19
    ],
    \"delivery_location\": \"odit\",
    \"delivery_neighborhood\": \"illum\",
    \"latitude_del\": \"quia\",
    \"longitude_del\": \"aperiam\"
}"

Orders by user.

GET
https://speed-api.speederservices.com
/api/v1/my-orders
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/my-orders" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "message": "Unauthenticated."
}

Permissions

Manage Speed platform permissions

List.

GET
https://speed-api.speederservices.com
/api/v1/permissions

Endpoint to list all permission.

Headers

Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/permissions" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
{
 "success": true,
 "message": "Permission list.",
 "data" : {
     "permissions" : [{
         "id": 1,
         "name": "Admin",
          "created_at": "2022-10-10T10:19:30.000000Z",
         "updated_at": "2022-10-10T10:19:30.000000Z",
     }],
  }
}

New.

POST
https://speed-api.speederservices.com
/api/v1/permissions
requires authentication

Endpoint to create permission.

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "https://speed-api.speederservices.com/api/v1/permissions" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"lorem\"
}"
Example response:
{
    "success": true,
    "data": {
        "error": false,
        "permission": {
            "name": "admin",
            "updated_at": "2022-10-24T13:27:08.000000Z",
            "created_at": "2022-10-24T13:27:08.000000Z",
            "id": 2
        }
    },
    "message": "Saved."
}
{
 "success" : false
 "message": "Validation error.",
 "data" : {
     "indicatif" : ["The name field is required."],
  }
}

Details.

GET
https://speed-api.speederservices.com
/api/v1/permissions/{id}

Endpoint to get permission detail.

Headers

Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
number
required

permission ID.

Example:
2
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/permissions/2" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
{
 "success": true,
  "data": {
  "error": false,
  "permission": {
          "id": 2,
          "name": "Benin",
          "updated_at": "2022-10-24T13:27:08.000000Z",
          "created_at": "2022-10-24T13:27:08.000000Z",
         }
    },
    "message": "Detail."
    }
{
 "success" : false
 "message": "Not found",
 "data" : {
     "error" : true,
  }
}

Edit.

PUT
PATCH
https://speed-api.speederservices.com
/api/v1/permissions/{id}
requires authentication

Endpoint to edit permission.

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
number
required

l'id du permission.

Example:
2

Body Parameters

Example request:
curl --request PUT \
    "https://speed-api.speederservices.com/api/v1/permissions/2" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"Lorem\"
}"
Example response:
{
    "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."
}
{
 "success" : false
 "message": "Not found",
 "data" : {
     "error" : true,
  }
}
{
 "success" : false
 "message": "Validation error.",
 "data" : {
     "indicatif" : ["The name field is required."],
  }
}

Delete.

DELETE
https://speed-api.speederservices.com
/api/v1/permissions/{id}
requires authentication

Endpoint to delete permission.

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
number
required

l'id du permission.

Example:
2
Example request:
curl --request DELETE \
    "https://speed-api.speederservices.com/api/v1/permissions/2" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
{
 "success" : true
 "message": "Deleted",
}
{
 "success" : false
 "message": "Cant delete.",
}

Pharmacy courses

Manage Speed platform pharmacy courses

Pharmacy courses list.

GET
https://speed-api.speederservices.com
/api/v1/pharmacy-course
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/pharmacy-course" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "message": "Unauthenticated."
}

New pharmacy course.

POST
https://speed-api.speederservices.com
/api/v1/pharmacy-course
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "https://speed-api.speederservices.com/api/v1/pharmacy-course" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"latitude_del\": \"officiis\",
    \"longitude_del\": \"consequatur\",
    \"delivery_neighborhood\": \"et\",
    \"delivery_phone\": \"laboriosam\",
    \"delivery_name\": \"consequatur\",
    \"estimate_meters\": 30.92,
    \"estimate_time\": 2180397.05585,
    \"description\": \"Optio qui dolorem odio voluptates ex quod commodi.\",
    \"images\": [
        \"temporibus\"
    ]
}"

Show pharmacy courses.

GET
https://speed-api.speederservices.com
/api/v1/pharmacy-course/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
integer
required

The ID of the pharmacy course.

Example:
1
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/pharmacy-course/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "message": "Unauthenticated."
}

Edit pharmacy courses.

PUT
PATCH
https://speed-api.speederservices.com
/api/v1/pharmacy-course/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
integer
required

The ID of the pharmacy course.

Example:
1

Body Parameters

Example request:
curl --request PUT \
    "https://speed-api.speederservices.com/api/v1/pharmacy-course/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"latitude_del\": \"ullam\",
    \"longitude_del\": \"aut\",
    \"delivery_neighborhood\": \"debitis\",
    \"delivery_phone\": \"quod\",
    \"delivery_name\": \"libero\",
    \"estimate_meters\": 215760.65657,
    \"estimate_time\": 2836.26601799,
    \"description\": \"Amet ex ullam eligendi deleniti et exercitationem.\",
    \"images\": [
        \"excepturi\"
    ]
}"

Reject pharmacy courses.

DELETE
https://speed-api.speederservices.com
/api/v1/pharmacy-course/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
integer
required

The ID of the pharmacy course.

Example:
1
Example request:
curl --request DELETE \
    "https://speed-api.speederservices.com/api/v1/pharmacy-course/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Platform and courses review

Manage speed platform and courses review

New reviews.

POST
https://speed-api.speederservices.com
/api/v1/reviews
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "https://speed-api.speederservices.com/api/v1/reviews" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"restaurant_id\": 374746.509,
    \"rating\": 11,
    \"comment\": \"quia\",
    \"type\": \"Application\"
}"

Show reviews.

GET
https://speed-api.speederservices.com
/api/v1/reviews/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
string
required

The ID of the review.

Example:
harum
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/reviews/harum" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "message": "Unauthenticated."
}

Restaurant Hours

Manage Speed platform Restaurant Hours

Restaurant Hours list.

GET
https://speed-api.speederservices.com
/api/v1/restaurants-hours
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/restaurants-hours" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "message": "Unauthenticated."
}

New restaurant Hours.

POST
https://speed-api.speederservices.com
/api/v1/restaurants-hours
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "https://speed-api.speederservices.com/api/v1/restaurants-hours" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"restaurant_id\": \"qui\",
    \"day\": [
        \"Vendredi\"
    ],
    \"open_time\": [
        \"11:18\"
    ],
    \"close_time\": [
        \"11:18\"
    ]
}"

Show restaurant Hourss.

GET
https://speed-api.speederservices.com
/api/v1/restaurants-hours/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
string
required

The ID of the restaurants hour.

Example:
animi
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/restaurants-hours/animi" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "message": "Unauthenticated."
}

Edit restaurant Hourss.

PUT
PATCH
https://speed-api.speederservices.com
/api/v1/restaurants-hours/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
string
required

The ID of the restaurants hour.

Example:
corporis

Body Parameters

Example request:
curl --request PUT \
    "https://speed-api.speederservices.com/api/v1/restaurants-hours/corporis" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"restaurant_id\": \"rerum\",
    \"day\": [
        \"Vendredi\"
    ],
    \"open_time\": [
        \"11:18\"
    ],
    \"close_time\": [
        \"11:18\"
    ]
}"

Reject restaurant Hourss.

DELETE
https://speed-api.speederservices.com
/api/v1/restaurants-hours/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
string
required

The ID of the restaurants hour.

Example:
eos
Example request:
curl --request DELETE \
    "https://speed-api.speederservices.com/api/v1/restaurants-hours/eos" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Restaurants

Manage Speed platform restaurant

Restaurants list.

GET
https://speed-api.speederservices.com
/api/v1/restaurants
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/restaurants" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "message": "Unauthenticated."
}

New restaurant.

POST
https://speed-api.speederservices.com
/api/v1/restaurants
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "https://speed-api.speederservices.com/api/v1/restaurants" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "name=ut"\
    --form "latitude=ut"\
    --form "longitude=laborum"\
    --form "active=1"\
    --form "banner=@/tmp/phpFyGIDF" \
    --form "logo=@/tmp/phppbkoGc" 

Show restaurants.

GET
https://speed-api.speederservices.com
/api/v1/restaurants/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
integer
required

The ID of the restaurant.

Example:
4
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/restaurants/4" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "message": "Unauthenticated."
}

Edit restaurants.

PUT
PATCH
https://speed-api.speederservices.com
/api/v1/restaurants/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
multipart/form-data
Accept
Example:
application/json

URL Parameters

id
integer
required

The ID of the restaurant.

Example:
4

Body Parameters

Example request:
curl --request PUT \
    "https://speed-api.speederservices.com/api/v1/restaurants/4" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "name=nam"\
    --form "latitude=magni"\
    --form "longitude=et"\
    --form "active=1"\
    --form "banner=@/tmp/phpwrESgF" \
    --form "logo=@/tmp/phpGH3cCD" 

Reject restaurants.

DELETE
https://speed-api.speederservices.com
/api/v1/restaurants/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
integer
required

The ID of the restaurant.

Example:
4
Example request:
curl --request DELETE \
    "https://speed-api.speederservices.com/api/v1/restaurants/4" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Restaurants drinks list.

GET
https://speed-api.speederservices.com
/api/v1/restaurants/{restaurant_id}/drinks

Headers

Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

restaurant_id
integer
required

The ID of the restaurant.

Example:
4
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/restaurants/4/drinks" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "message": "Unauthenticated."
}

Restaurants list with menus.

GET
https://speed-api.speederservices.com
/api/v1/all-restaurant
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/all-restaurant" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "message": "Unauthenticated."
}

Role

Manage Speed platform roles

List.

GET
https://speed-api.speederservices.com
/api/v1/role

Endpoint to list all role.

Headers

Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/role" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
{
 "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",
     }],
  }
}

New.

POST
https://speed-api.speederservices.com
/api/v1/role
requires authentication

Endpoint to create role.

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "https://speed-api.speederservices.com/api/v1/role" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"lorem\"
}"
Example response:
{
    "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."
}
{
 "success" : false
 "message": "Validation error.",
 "data" : {
     "indicatif" : ["The name field is required."],
  }
}

Details.

GET
https://speed-api.speederservices.com
/api/v1/role/{id}

Endpoint to get role detail.

Headers

Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
number
required

role ID.

Example:
2
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/role/2" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
{
 "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."
    }
{
 "success" : false
 "message": "Not found",
 "data" : {
     "error" : true,
  }
}

Edit.

PUT
PATCH
https://speed-api.speederservices.com
/api/v1/role/{id}
requires authentication

Endpoint to edit role.

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
number
required

l'id du permission.

Example:
2

Body Parameters

Example request:
curl --request PUT \
    "https://speed-api.speederservices.com/api/v1/role/2" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"Lorem\"
}"
Example response:
{
    "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."
}
{
 "success" : false
 "message": "Not found",
 "data" : {
     "error" : true,
  }
}
{
 "success" : false
 "message": "Validation error.",
 "data" : {
     "indicatif" : ["The name field is required."],
  }
}

Delete.

DELETE
https://speed-api.speederservices.com
/api/v1/role/{id}
requires authentication

Endpoint to delete role.

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
number
required

l'id du role.

Example:
2
Example request:
curl --request DELETE \
    "https://speed-api.speederservices.com/api/v1/role/2" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
{
 "success" : true
 "message": "Deleted",
}
{
 "success" : false
 "message": "Cant delete.",
}

Assigning.

POST
https://speed-api.speederservices.com
/api/v1/assign-permissions

Endpoint to assign permissions to role.

Headers

Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "https://speed-api.speederservices.com/api/v1/assign-permissions" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"role_id\": 2,
    \"permissions_id\": 2
}"
Example response:
{
 "success" : true
 "message": "Assigned",
}
{
 "success" : false
 "message": "Cant assign.",
}

Speeders

Manage Speed platform speeder

Speeder is available.

POST
https://speed-api.speederservices.com
/api/v1/speeder/available
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request POST \
    "https://speed-api.speederservices.com/api/v1/speeder/available" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Speeder is unavailable.

POST
https://speed-api.speederservices.com
/api/v1/speeder/unavailable
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request POST \
    "https://speed-api.speederservices.com/api/v1/speeder/unavailable" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Start shopping.

POST
https://speed-api.speederservices.com
/api/v1/speeder/start-shopping
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "https://speed-api.speederservices.com/api/v1/speeder/start-shopping" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"course_id\": 14,
    \"type\": \"Food\"
}"

Stop Shopping.

POST
https://speed-api.speederservices.com
/api/v1/speeder/end-shopping
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "https://speed-api.speederservices.com/api/v1/speeder/end-shopping" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"course_id\": 15,
    \"type\": \"SuperMarket\",
    \"estimate_time\": \"voluptate\",
    \"estimate_meters\": \"quia\"
}"

Speeder profile.

GET
https://speed-api.speederservices.com
/api/v1/speeder/profile
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/speeder/profile" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "message": "Unauthenticated."
}

Get current course.

GET
https://speed-api.speederservices.com
/api/v1/speeder/current-course
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/speeder/current-course" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "message": "Unauthenticated."
}

Get speeders list

GET
https://speed-api.speederservices.com
/api/v1/speeder
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Query Parameters

only_available
boolean

Filter only available speeders.

Example:
true
skip
integer

Number of items to skip.

Example:
0
limit
integer

Number of items per page.

Example:
20

Body Parameters

Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/speeder?only_available=1&skip=0&limit=20" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"skip\": 19,
    \"limit\": 17,
    \"only_available\": true
}"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "message": "Unauthenticated."
}

New speeder.

POST
https://speed-api.speederservices.com
/api/v1/speeder
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "https://speed-api.speederservices.com/api/v1/speeder" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"lname\": \"perferendis\",
    \"fname\": \"nemo\",
    \"country_id\": 6923952.52,
    \"login\": \"dzeistxnjdbpsffydwjdwzd\",
    \"quartier\": \"maxime\",
    \"cv\": \"veniam\",
    \"start_date\": \"qui\",
    \"password\": \"v{5,B;#BRD#Xf5z}#il\"
}"

Show speeders.

GET
https://speed-api.speederservices.com
/api/v1/speeder/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
integer
required

The ID of the speeder.

Example:
1
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/speeder/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "message": "Unauthenticated."
}

Edit speeders.

PUT
PATCH
https://speed-api.speederservices.com
/api/v1/speeder/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
integer
required

The ID of the speeder.

Example:
1

Body Parameters

Example request:
curl --request PUT \
    "https://speed-api.speederservices.com/api/v1/speeder/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"lname\": \"a\",
    \"fname\": \"illum\",
    \"country_id\": 4021.37,
    \"login\": \"sjomp\",
    \"quartier\": \"veritatis\",
    \"cv\": \"quasi\",
    \"start_date\": \"aut\",
    \"password\": \"]CRCXds.qcfl*yAyDT\"
}"

Reject speeders.

DELETE
https://speed-api.speederservices.com
/api/v1/speeder/{id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
integer
required

The ID of the speeder.

Example:
1
Example request:
curl --request DELETE \
    "https://speed-api.speederservices.com/api/v1/speeder/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Stop speeder.

GET
https://speed-api.speederservices.com
/api/v1/stop-speeder/{speeder_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

speeder_id
integer
required

The ID of the speeder.

Example:
1
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/stop-speeder/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "message": "Unauthenticated."
}

Start speeder.

GET
https://speed-api.speederservices.com
/api/v1/start-speeder/{speeder_id}
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

speeder_id
integer
required

The ID of the speeder.

Example:
1
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/start-speeder/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "message": "Unauthenticated."
}

Active speeders.

GET
https://speed-api.speederservices.com
/api/v1/active-speeders
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/active-speeders" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "message": "Unauthenticated."
}

Inactive speeders.

GET
https://speed-api.speederservices.com
/api/v1/inactive-speeder
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/inactive-speeder" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "message": "Unauthenticated."
}

Speeders availability historical.

GET
https://speed-api.speederservices.com
/api/v1/speeder-availabilities-historical
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/speeder-availabilities-historical" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "message": "Unauthenticated."
}

Super Market

Manage Speed platform Super Market

List.

GET
https://speed-api.speederservices.com
/api/v1/super-markets
requires authentication

Endpoint to list all superMarket.

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/super-markets" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
{
 "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",
     }],
  }
}

Details.

GET
https://speed-api.speederservices.com
/api/v1/super-markets/{id}
requires authentication

Endpoint to get superMarket detail.

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
number
required

superMarket ID.

Example:
2
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/super-markets/2" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
{
 "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."
    }
{
 "success" : false
 "message": "Not found",
 "data" : {
     "error" : true,
  }
}

New.

POST
https://speed-api.speederservices.com
/api/v1/super-markets
requires authentication

Endpoint to create Super Market.

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "https://speed-api.speederservices.com/api/v1/super-markets" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"lorem\"
}"
Example response:
{
    "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."
}
{
 "success" : false
 "message": "Validation error.",
 "data" : {
     "indicatif" : ["The name field is required."],
  }
}

Edit.

PUT
PATCH
https://speed-api.speederservices.com
/api/v1/super-markets/{id}
requires authentication

Endpoint to edit superMarket.

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
number
required

l'id du permission.

Example:
2

Body Parameters

Example request:
curl --request PUT \
    "https://speed-api.speederservices.com/api/v1/super-markets/2" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"Lorem\"
}"
Example response:
{
    "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."
}
{
 "success" : false
 "message": "Not found",
 "data" : {
     "error" : true,
  }
}
{
 "success" : false
 "message": "Validation error.",
 "data" : {
     "indicatif" : ["The name field is required."],
  }
}

Delete.

DELETE
https://speed-api.speederservices.com
/api/v1/super-markets/{id}
requires authentication

Endpoint to delete superMarket.

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
number
required

l'id du superMarket.

Example:
2
Example request:
curl --request DELETE \
    "https://speed-api.speederservices.com/api/v1/super-markets/2" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
{
 "success" : true
 "message": "Deleted",
}
{
 "success" : false
 "message": "Cant delete.",
}

Super Market Course

Manage Speed platform Super Market Course

List.

GET
https://speed-api.speederservices.com
/api/v1/super-market-courses
requires authentication

Endpoint to list all superMarketCourse.

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/super-market-courses" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
{
 "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",
     }],
  }
}

New.

POST
https://speed-api.speederservices.com
/api/v1/super-market-courses
requires authentication

Endpoint to create superMarketCourse.

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "https://speed-api.speederservices.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\": \"consequatur\",
    \"images\": [
        \"illo\"
    ],
    \"latitude_del\": \"vero\",
    \"courses_list\": \"sint\",
    \"longitude_del\": \"natus\",
    \"delivery_neighborhood\": \"aut\",
    \"delivery_phone\": \"voluptas\",
    \"delivery_name\": \"quo\"
}"
Example response:
{
    "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."
}
{
 "success" : false
 "message": "Validation error.",
 "data" : {
     "indicatif" : ["The name field is required."],
  }
}

Details.

GET
https://speed-api.speederservices.com
/api/v1/super-market-courses/{id}
requires authentication

Endpoint to get superMarketCourse detail.

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
number
required

superMarketCourse ID.

Example:
2
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/super-market-courses/2" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
{
 "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."
    }
{
 "success" : false
 "message": "Not found",
 "data" : {
     "error" : true,
  }
}

Edit.

PUT
PATCH
https://speed-api.speederservices.com
/api/v1/super-market-courses/{id}
requires authentication

Endpoint to edit superMarketCourse.

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
number
required

l'id du permission.

Example:
2

Body Parameters

Example request:
curl --request PUT \
    "https://speed-api.speederservices.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\": \"sunt\",
    \"images\": [
        \"beatae\"
    ],
    \"latitude_del\": \"ducimus\",
    \"courses_list\": \"est\",
    \"longitude_del\": \"qui\",
    \"delivery_neighborhood\": \"expedita\",
    \"delivery_phone\": \"omnis\",
    \"delivery_name\": \"voluptates\"
}"
Example response:
{
    "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."
}
{
 "success" : false
 "message": "Not found",
 "data" : {
     "error" : true,
  }
}
{
 "success" : false
 "message": "Validation error.",
 "data" : {
     "indicatif" : ["The name field is required."],
  }
}

Delete.

DELETE
https://speed-api.speederservices.com
/api/v1/super-market-courses/{id}
requires authentication

Endpoint to delete superMarketCourse.

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

URL Parameters

id
number
required

l'id du superMarketCourse.

Example:
2
Example request:
curl --request DELETE \
    "https://speed-api.speederservices.com/api/v1/super-market-courses/2" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
{
 "success" : true
 "message": "Deleted",
}
{
 "success" : false
 "message": "Cant delete.",
}

List.

GET
https://speed-api.speederservices.com
/api/v1/shop/super-market
requires authentication

Endpoint to list all superMarketCourse.

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/shop/super-market" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
{
 "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",
     }],
  }
}

User

Manage speeder related data

Update user fcm token.

POST
https://speed-api.speederservices.com
/api/v1/update-fcm-token
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "https://speed-api.speederservices.com/api/v1/update-fcm-token" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"fcm_token\": \"nesciunt\"
}"

all users.

GET
https://speed-api.speederservices.com
/api/v1/users/all
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/users/all" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "message": "Unauthenticated."
}

Wallet

Manage Speed platform Wallet

Notify.

POST
https://speed-api.speederservices.com
/api/v1/transactions/notify

Headers

Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request POST \
    "https://speed-api.speederservices.com/api/v1/transactions/notify" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Pay with wallet.

GET
https://speed-api.speederservices.com
/api/v1/speeder/pay-with-wallet

Headers

Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/speeder/pay-with-wallet" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"amount\": 77,
    \"shop_id\": 932.12402968
}"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "message": "Unauthenticated."
}

Initiate a transactions.

POST
https://speed-api.speederservices.com
/api/v1/transactions
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json

Body Parameters

Example request:
curl --request POST \
    "https://speed-api.speederservices.com/api/v1/transactions" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"amount\": 7102464.0525704,
    \"customer_id\": \"voluptates\"
}"

Costumer transactions.

GET
https://speed-api.speederservices.com
/api/v1/customer-transactions

Headers

Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/customer-transactions" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "message": "Unauthenticated."
}

Customer balance.

GET
https://speed-api.speederservices.com
/api/v1/customer/balance
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/customer/balance" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "message": "Unauthenticated."
}

List transactions.

GET
https://speed-api.speederservices.com
/api/v1/transactions
requires authentication

Headers

Authorization
Example:
Bearer {YOUR_AUTH_KEY}
Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "https://speed-api.speederservices.com/api/v1/transactions" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "message": "Unauthenticated."
}