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

Get the authenticated User.

GET
https://staging.speed-serve.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://staging.speed-serve.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://staging.speed-serve.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://staging.speed-serve.com/api/v1/update-profile" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"lname\": \"voluptate\",
    \"fname\": \"voluptatem\",
    \"avatar\": \"eaque\"
}"

Login.

POST
https://staging.speed-serve.com
/api/v1/login

Headers

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

Body Parameters

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

Admin Login.

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

Headers

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

Body Parameters

Example request:
curl --request POST \
    "https://staging.speed-serve.com/api/v1/admin/login" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"login\": \"earum\",
    \"password\": \"jSw>_ikHW$RHV\"
}"

Register.

POST
https://staging.speed-serve.com
/api/v1/register

Headers

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

Body Parameters

Example request:
curl --request POST \
    "https://staging.speed-serve.com/api/v1/register" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"country_id\": 686415.62224788,
    \"login\": \"jctjnuopxksatswywjvfun\",
    \"last_name\": \"v\",
    \"first_name\": \"jkrnsmggmdcvkgqzuf\",
    \"role_id\": 1145316.82267
}"

Logout.

POST
https://staging.speed-serve.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://staging.speed-serve.com/api/v1/logout" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Verify OTP

POST
https://staging.speed-serve.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://staging.speed-serve.com/api/v1/verify-otp" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"otp\": 15930955.23412868
}"

Refresh token.

POST
https://staging.speed-serve.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://staging.speed-serve.com/api/v1/refresh-token" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Resend OTP.

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

Headers

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

Body Parameters

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

Carts

Manage Speed platform orders carts

New cart.

POST
https://staging.speed-serve.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://staging.speed-serve.com/api/v1/carts" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"user_id\": 503884239.168359,
    \"menu_id\": 4056387.791332,
    \"quantity\": 14
}"

Show carts.

GET
https://staging.speed-serve.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:
error
Example request:
curl --request GET \
    --get "https://staging.speed-serve.com/api/v1/carts/error" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "message": "Unauthenticated."
}

Edit carts.

PUT
PATCH
https://staging.speed-serve.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

Body Parameters

Example request:
curl --request PUT \
    "https://staging.speed-serve.com/api/v1/carts/9" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"user_id\": 441532122.17,
    \"menu_id\": 5671546.764775,
    \"quantity\": 6
}"

Reject carts.

DELETE
https://staging.speed-serve.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:
14
Example request:
curl --request DELETE \
    "https://staging.speed-serve.com/api/v1/carts/14" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Countries

Manage Speed platform Countries

Countries list.

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

Headers

Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "https://staging.speed-serve.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
                                                            : 52
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "success": true,
    "data": [
        {
            "id": 1,
            "name": "Algérie",
            "code": "213",
            "flag": "🇩🇿",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 2,
            "name": "Belgique",
            "code": "32",
            "flag": "🇧🇪",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 3,
            "name": "Bénin",
            "code": "229",
            "flag": "🇧🇯",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 4,
            "name": "Brésil",
            "code": "55",
            "flag": "🇧🇷",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 5,
            "name": "Burkina Faso",
            "code": "226",
            "flag": "🇧🇫",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 6,
            "name": "Cameroun",
            "code": "237",
            "flag": "🇨🇲",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 7,
            "name": "Canada",
            "code": "1",
            "flag": "🇨🇦",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 8,
            "name": "Tchad",
            "code": "235",
            "flag": "🇹🇩",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 9,
            "name": "Chine",
            "code": "86",
            "flag": "🇨🇳",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 10,
            "name": "Colombie",
            "code": "57",
            "flag": "🇨🇴",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 11,
            "name": "Comores",
            "code": "269",
            "flag": "🇰🇲",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 12,
            "name": "Congo-Brazzaville",
            "code": "242",
            "flag": "🇨🇬",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 13,
            "name": "Congo-Kinshasa",
            "code": "243",
            "flag": "🇨🇩",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 14,
            "name": "Côte d’Ivoire",
            "code": "225",
            "flag": "🇨🇮",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 15,
            "name": "Équateur",
            "code": "593",
            "flag": "🇪🇨",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 16,
            "name": "Égypte",
            "code": "20",
            "flag": "🇪🇬",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 17,
            "name": "Éthiopie",
            "code": "251",
            "flag": "🇪🇹",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 18,
            "name": "France",
            "code": "33",
            "flag": "🇫🇷",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 19,
            "name": "Gabon",
            "code": "241",
            "flag": "🇬🇦",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 20,
            "name": "Gambie",
            "code": "220",
            "flag": "🇬🇲",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 21,
            "name": "Géorgie",
            "code": "995",
            "flag": "🇬🇪",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 22,
            "name": "Allemagne",
            "code": "49",
            "flag": "🇩🇪",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 23,
            "name": "Ghana",
            "code": "233",
            "flag": "🇬🇭",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 24,
            "name": "Guinée",
            "code": "224",
            "flag": "🇬🇳",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 25,
            "name": "Corée du Nord",
            "code": "850",
            "flag": "🇰🇵",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 26,
            "name": "Corée du Sud",
            "code": "82",
            "flag": "🇰🇷",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 27,
            "name": "Liberia",
            "code": "231",
            "flag": "🇱🇷",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 28,
            "name": "Libye",
            "code": "218",
            "flag": "🇱🇾",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 29,
            "name": "Madagascar",
            "code": "261",
            "flag": "🇲🇬",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 30,
            "name": "Mali",
            "code": "223",
            "flag": "🇲🇱",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 31,
            "name": "Mauritanie",
            "code": "222",
            "flag": "🇲🇷",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 32,
            "name": "Mexique",
            "code": "52",
            "flag": "🇲🇽",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 33,
            "name": "Maroc",
            "code": "212",
            "flag": "🇲🇦",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 34,
            "name": "Mozambique",
            "code": "258",
            "flag": "🇲🇿",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 35,
            "name": "Namibie",
            "code": "264",
            "flag": "🇳🇦",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 36,
            "name": "Pays-Bas",
            "code": "31",
            "flag": "🇳🇱",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 37,
            "name": "Niger",
            "code": "227",
            "flag": "🇳🇪",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 38,
            "name": "Nigeria",
            "code": "234",
            "flag": "🇳🇬",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 39,
            "name": "Portugal",
            "code": "351",
            "flag": "🇵🇹",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 40,
            "name": "Qatar",
            "code": "974",
            "flag": "🇶🇦",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 41,
            "name": "Rwanda",
            "code": "250",
            "flag": "🇷🇼",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 42,
            "name": "Sénégal",
            "code": "221",
            "flag": "🇸🇳",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 43,
            "name": "Serbie",
            "code": "381",
            "flag": "🇷🇸",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 44,
            "name": "Sierra Leone",
            "code": "232",
            "flag": "🇸🇱",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 45,
            "name": "Singapour",
            "code": "65",
            "flag": "🇸🇬",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 46,
            "name": "Somalie",
            "code": "252",
            "flag": "🇸🇴",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 47,
            "name": "Suède",
            "code": "46",
            "flag": "🇸🇪",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 48,
            "name": "Suisse",
            "code": "41",
            "flag": "🇨🇭",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 49,
            "name": "Taïwan",
            "code": "886",
            "flag": "🇹🇼",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 50,
            "name": "Togo",
            "code": "228",
            "flag": "🇹🇬",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 51,
            "name": "Tunisie",
            "code": "216",
            "flag": "🇹🇳",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 52,
            "name": "Royaume-Uni",
            "code": "44",
            "flag": "🇬🇧",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 53,
            "name": "États-Unis",
            "code": "+1",
            "flag": "🇺🇸",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 54,
            "name": "Zambie",
            "code": "260",
            "flag": "🇿🇲",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        },
        {
            "id": 55,
            "name": "Zimbabwe",
            "code": "263",
            "flag": "🇿🇼",
            "created_at": "2022-04-09T11:41:23.000000Z",
            "updated_at": null
        }
    ],
    "message": "Countries retrieved successfully"
}

Show country.

GET
https://staging.speed-serve.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://staging.speed-serve.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
                                                            : 51
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "success": true,
    "data": {
        "id": 1,
        "name": "Algérie",
        "code": "213",
        "flag": "🇩🇿",
        "created_at": "2022-04-09T11:41:23.000000Z",
        "updated_at": null
    },
    "message": "Country retrieved successfully"
}

Coupons

Manage Speed platform coupons

List coupon.

GET
https://staging.speed-serve.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://staging.speed-serve.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://staging.speed-serve.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://staging.speed-serve.com/api/v1/coupon" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"code\": \"natus\",
    \"discount\": 18268989.38,
    \"discount_type\": \"reduction\",
    \"description\": \"Explicabo sunt qui et quis enim occaecati.\",
    \"expires_at\": \"2026-02-06T14:24:15\"
}"

Remove coupon.

DELETE
https://staging.speed-serve.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:
4
Example request:
curl --request DELETE \
    "https://staging.speed-serve.com/api/v1/coupon/4" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Courses

Manage Speed platform courses

All courses.

GET
https://staging.speed-serve.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://staging.speed-serve.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://staging.speed-serve.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://staging.speed-serve.com/api/v1/validate-course" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"course_id\": 24.81967356,
    \"speeder_id\": \"itaque\",
    \"type\": \"Pharmacy\"
}"

Reject courses.

POST
https://staging.speed-serve.com
/api/v1/reject-course/{course}
requires authentication

Headers

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

URL Parameters

course
string
required
Example:
impedit

Body Parameters

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

New courses.

POST
https://staging.speed-serve.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://staging.speed-serve.com/api/v1/course" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"et\",
    \"latitude_ret\": \"aut\",
    \"longitude_ret\": \"asperiores\",
    \"latitude_del\": \"voluptatem\",
    \"longitude_del\": \"est\",
    \"retriever_neighborhood\": \"voluptatem\",
    \"retriever_name\": \"occaecati\",
    \"retriever_phone\": \"in\",
    \"delivery_neighborhood\": \"ipsam\",
    \"delivery_phone\": \"laborum\",
    \"delivery_name\": \"mollitia\",
    \"estimate_meters\": 2198857.2,
    \"estimate_time\": 3.776694404,
    \"description\": \"Dignissimos et ad corrupti quia ut.\"
}"

Show courses.

GET
https://staging.speed-serve.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:
12
Example request:
curl --request GET \
    --get "https://staging.speed-serve.com/api/v1/course/12" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "message": "Unauthenticated."
}

Edit courses.

PUT
PATCH
https://staging.speed-serve.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:
11

Body Parameters

Example request:
curl --request PUT \
    "https://staging.speed-serve.com/api/v1/course/11" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"sit\",
    \"latitude_ret\": \"quod\",
    \"longitude_ret\": \"alias\",
    \"latitude_del\": \"quibusdam\",
    \"longitude_del\": \"dolor\",
    \"retriever_neighborhood\": \"ex\",
    \"retriever_name\": \"maxime\",
    \"retriever_phone\": \"quisquam\",
    \"delivery_neighborhood\": \"velit\",
    \"delivery_phone\": \"nobis\",
    \"delivery_name\": \"praesentium\",
    \"estimate_meters\": 119488543.9,
    \"estimate_time\": 1.55159,
    \"description\": \"Qui consequatur quia fugit omnis ut itaque.\"
}"

Cancel course.

POST
https://staging.speed-serve.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://staging.speed-serve.com/api/v1/cancel-order" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"course_id\": 23368978.2011,
    \"type\": \"Course\"
}"

Drink

Manage Speed platform drink

New drink.

POST
https://staging.speed-serve.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://staging.speed-serve.com/api/v1/drinks" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "name=suscipit"\
    --form "price=2.01"\
    --form "image=@/tmp/phpwiIy8f" 

Show drinks.

GET
https://staging.speed-serve.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
string
required

The ID of the drink.

Example:
corporis
Example request:
curl --request GET \
    --get "https://staging.speed-serve.com/api/v1/drinks/corporis" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    x-ratelimit-limit
                                                            : 60
                                                                                                                    x-ratelimit-remaining
                                                            : 59
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "message": "App\\Repositories\\BaseRepository::find(): Argument #1 ($id) must be of type int, string given, called in /home/aschndzm/staging.speed-serve.com/app/Http/Controllers/API/DrinkController.php on line 63",
    "exception": "TypeError",
    "file": "/home/aschndzm/staging.speed-serve.com/app/Repositories/BaseRepository.php",
    "line": 117,
    "trace": [
        {
            "file": "/home/aschndzm/staging.speed-serve.com/app/Http/Controllers/API/DrinkController.php",
            "line": 63,
            "function": "find",
            "class": "App\\Repositories\\BaseRepository",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Routing/Controller.php",
            "line": 54,
            "function": "show",
            "class": "App\\Http\\Controllers\\API\\DrinkController",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php",
            "line": 43,
            "function": "callAction",
            "class": "Illuminate\\Routing\\Controller",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Routing/Route.php",
            "line": 260,
            "function": "dispatch",
            "class": "Illuminate\\Routing\\ControllerDispatcher",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Routing/Route.php",
            "line": 205,
            "function": "runController",
            "class": "Illuminate\\Routing\\Route",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
            "line": 799,
            "function": "run",
            "class": "Illuminate\\Routing\\Route",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 141,
            "function": "Illuminate\\Routing\\{closure}",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php",
            "line": 50,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Routing\\Middleware\\SubstituteBindings",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php",
            "line": 159,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php",
            "line": 135,
            "function": "handleRequest",
            "class": "Illuminate\\Routing\\Middleware\\ThrottleRequests",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php",
            "line": 87,
            "function": "handleRequestUsingNamedLimiter",
            "class": "Illuminate\\Routing\\Middleware\\ThrottleRequests",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Routing\\Middleware\\ThrottleRequests",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 116,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
            "line": 800,
            "function": "then",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
            "line": 777,
            "function": "runRouteWithinStack",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
            "line": 741,
            "function": "runRoute",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
            "line": 730,
            "function": "dispatchToRoute",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
            "line": 200,
            "function": "dispatch",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 141,
            "function": "Illuminate\\Foundation\\Http\\{closure}",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php",
            "line": 21,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php",
            "line": 31,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php",
            "line": 21,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php",
            "line": 40,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TrimStrings",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php",
            "line": 27,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php",
            "line": 86,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php",
            "line": 62,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Http\\Middleware\\HandleCors",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php",
            "line": 39,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 180,
            "function": "handle",
            "class": "Illuminate\\Http\\Middleware\\TrustProxies",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 116,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
            "line": 175,
            "function": "then",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
            "line": 144,
            "function": "sendRequestThroughRouter",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php",
            "line": 299,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php",
            "line": 287,
            "function": "callLaravelOrLumenRoute",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php",
            "line": 92,
            "function": "makeApiCall",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php",
            "line": 45,
            "function": "makeResponseCall",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php",
            "line": 35,
            "function": "makeResponseCallIfConditionsPass",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php",
            "line": 209,
            "function": "__invoke",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php",
            "line": 166,
            "function": "iterateThroughStrategies",
            "class": "Knuckles\\Scribe\\Extracting\\Extractor",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php",
            "line": 95,
            "function": "fetchResponses",
            "class": "Knuckles\\Scribe\\Extracting\\Extractor",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php",
            "line": 124,
            "function": "processRoute",
            "class": "Knuckles\\Scribe\\Extracting\\Extractor",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php",
            "line": 71,
            "function": "extractEndpointsInfoFromLaravelApp",
            "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php",
            "line": 49,
            "function": "extractEndpointsInfoAndWriteToDisk",
            "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/knuckleswtf/scribe/src/Commands/GenerateDocumentation.php",
            "line": 51,
            "function": "get",
            "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php",
            "line": 36,
            "function": "handle",
            "class": "Knuckles\\Scribe\\Commands\\GenerateDocumentation",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Container/Util.php",
            "line": 41,
            "function": "Illuminate\\Container\\{closure}",
            "class": "Illuminate\\Container\\BoundMethod",
            "type": "::"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php",
            "line": 93,
            "function": "unwrapIfClosure",
            "class": "Illuminate\\Container\\Util",
            "type": "::"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php",
            "line": 37,
            "function": "callBoundMethod",
            "class": "Illuminate\\Container\\BoundMethod",
            "type": "::"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Container/Container.php",
            "line": 662,
            "function": "call",
            "class": "Illuminate\\Container\\BoundMethod",
            "type": "::"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Console/Command.php",
            "line": 211,
            "function": "call",
            "class": "Illuminate\\Container\\Container",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/symfony/console/Command/Command.php",
            "line": 326,
            "function": "execute",
            "class": "Illuminate\\Console\\Command",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Console/Command.php",
            "line": 181,
            "function": "run",
            "class": "Symfony\\Component\\Console\\Command\\Command",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/symfony/console/Application.php",
            "line": 1081,
            "function": "run",
            "class": "Illuminate\\Console\\Command",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/symfony/console/Application.php",
            "line": 320,
            "function": "doRunCommand",
            "class": "Symfony\\Component\\Console\\Application",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/symfony/console/Application.php",
            "line": 174,
            "function": "doRun",
            "class": "Symfony\\Component\\Console\\Application",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php",
            "line": 201,
            "function": "run",
            "class": "Symfony\\Component\\Console\\Application",
            "type": "->"
        },
        {
            "file": "/home/aschndzm/staging.speed-serve.com/artisan",
            "line": 37,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Console\\Kernel",
            "type": "->"
        }
    ]
}

Edit drinks.

PUT
PATCH
https://staging.speed-serve.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:
3

Body Parameters

Example request:
curl --request PUT \
    "https://staging.speed-serve.com/api/v1/drinks/3" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "name=minus"\
    --form "price=522547.56056741"\
    --form "image=@/tmp/phpNmm8vf" 

Delete drinks.

DELETE
https://staging.speed-serve.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:
3
Example request:
curl --request DELETE \
    "https://staging.speed-serve.com/api/v1/drinks/3" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Drinks list.

GET
https://staging.speed-serve.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://staging.speed-serve.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
                                                            : 58
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "success": true,
    "data": [
        {
            "id": 3,
            "name": "Coca",
            "price": "1000.00",
            "image": null,
            "created_at": "2024-02-19T11:35:48.000000Z",
            "updated_at": "2024-02-19T11:35:48.000000Z"
        },
        {
            "id": 4,
            "name": "Fanta",
            "price": "1000.00",
            "image": null,
            "created_at": "2024-02-19T11:35:58.000000Z",
            "updated_at": "2024-02-19T11:35:58.000000Z"
        },
        {
            "id": 5,
            "name": "Sprite",
            "price": "1000.00",
            "image": null,
            "created_at": "2024-02-19T11:36:21.000000Z",
            "updated_at": "2024-02-19T11:36:21.000000Z"
        },
        {
            "id": 6,
            "name": "Malta",
            "price": "1000.00",
            "image": null,
            "created_at": "2024-02-19T11:36:40.000000Z",
            "updated_at": "2024-02-19T11:36:40.000000Z"
        },
        {
            "id": 7,
            "name": "Cocktail de fruits",
            "price": "1000.00",
            "image": null,
            "created_at": "2024-02-19T11:37:07.000000Z",
            "updated_at": "2024-02-19T11:37:07.000000Z"
        },
        {
            "id": 8,
            "name": "Pompom",
            "price": "1000.00",
            "image": null,
            "created_at": "2024-02-19T11:45:53.000000Z",
            "updated_at": "2024-02-19T11:45:53.000000Z"
        },
        {
            "id": 9,
            "name": "Djama",
            "price": "1500.00",
            "image": null,
            "created_at": "2024-02-19T11:46:16.000000Z",
            "updated_at": "2024-02-19T11:46:16.000000Z"
        },
        {
            "id": 10,
            "name": "Pils",
            "price": "1500.00",
            "image": null,
            "created_at": "2024-02-19T11:46:25.000000Z",
            "updated_at": "2024-02-19T11:46:25.000000Z"
        }
    ],
    "message": "Drinks retrieved successfully"
}

Historic

Manage speed user historic

Speeder shop list.

GET
https://staging.speed-serve.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://staging.speed-serve.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."
}

Costumer historic.

GET
https://staging.speed-serve.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://staging.speed-serve.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."
}

Menus

Manage Speed platform menus and menus

POST
https://staging.speed-serve.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://staging.speed-serve.com/api/v1/menus" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "category_id=927.49642762"\
    --form "restaurant_id=14.677794"\
    --form "name=accusantium"\
    --form "description=Ipsam et quaerat rerum dolore sint."\
    --form "price=8"\
    --form "images[]=@/tmp/phpJYfOVe" 
PUT
PATCH
https://staging.speed-serve.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
string
required

The ID of the menu.

Example:
architecto

Body Parameters

Example request:
curl --request PUT \
    "https://staging.speed-serve.com/api/v1/menus/architecto" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "category_id=771.443"\
    --form "restaurant_id=15290115.4254"\
    --form "name=dolores"\
    --form "description=Explicabo impedit recusandae soluta iure autem."\
    --form "price=10"\
    --form "images[]=@/tmp/phpNFrome" 
DELETE
https://staging.speed-serve.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
string
required

The ID of the menu.

Example:
sapiente
Example request:
curl --request DELETE \
    "https://staging.speed-serve.com/api/v1/menus/sapiente" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
GET
https://staging.speed-serve.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://staging.speed-serve.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
                                                            : 57
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "success": true,
    "data": [
        {
            "id": 30,
            "restaurant_id": "5",
            "category_id": "2",
            "name": "Mon cocody",
            "description": "Atiekè + Grosse portion d’Alloco + Poisson entier)",
            "images": "https://staging.speed-serve.com/public/uploads/menus/CKEQOTxwZuVBU94hq93KIGfr1Vcr0fJqHGFroKnz.png",
            "price": "2500.00",
            "available": "1",
            "created_at": "2024-01-24T02:33:50.000000Z",
            "updated_at": "2024-01-24T02:33:50.000000Z"
        },
        {
            "id": 31,
            "restaurant_id": "5",
            "category_id": "2",
            "name": "Mon marcory",
            "description": "Atiékè + Alloco + deux parts de poisson",
            "images": "https://staging.speed-serve.com/public/uploads/menus/ADJaFMNvyQ6iJvs1ss0UP2Cp2klpR05hfLSvAJKT.png",
            "price": "1500.00",
            "available": "1",
            "created_at": "2024-01-24T02:38:57.000000Z",
            "updated_at": "2024-01-24T02:38:57.000000Z"
        },
        {
            "id": 32,
            "restaurant_id": "5",
            "category_id": "2",
            "name": "Mon treichville",
            "description": "Atiekè + Alloco + Poisson entier",
            "images": "https://staging.speed-serve.com/public/uploads/menus/74hv5BgdJ7rxiArYUrNDmMJxj6Tv2rtSKTvn7cjH.png",
            "price": "2000.00",
            "available": "1",
            "created_at": "2024-01-24T02:46:40.000000Z",
            "updated_at": "2024-01-24T02:46:40.000000Z"
        },
        {
            "id": 34,
            "restaurant_id": "5",
            "category_id": "2",
            "name": "Mon youpougon",
            "description": "Atiekè +Alloco + une part de poisson",
            "images": "https://staging.speed-serve.com/public/uploads/menus/uyFYuGxBwfRoyC7TXHhraaySkaM0oxukNOlOeloe.png",
            "price": "1000.00",
            "available": "1",
            "created_at": "2024-01-24T02:56:12.000000Z",
            "updated_at": "2024-01-24T02:56:12.000000Z"
        },
        {
            "id": 35,
            "restaurant_id": "5",
            "category_id": "1",
            "name": "Alloco",
            "description": "Garniture Alloco",
            "images": "https://staging.speed-serve.com/public/uploads/menus/FleG4LDnhGTuhH8aBwBBFLNuq9ZN9C4GnTYqUlZS.png",
            "price": "500.00",
            "available": "1",
            "created_at": "2024-01-24T03:01:25.000000Z",
            "updated_at": "2024-01-24T03:01:25.000000Z"
        },
        {
            "id": 37,
            "restaurant_id": "5",
            "category_id": "1",
            "name": "Attiéké",
            "description": "Garniture Attiéké",
            "images": "https://staging.speed-serve.com/public/uploads/menus/9UmLMhFBGGDTMQkphNPiUz3fXJrCg8vyFxvP7aws.png",
            "price": "500.00",
            "available": "1",
            "created_at": "2024-01-24T03:09:19.000000Z",
            "updated_at": "2024-01-24T03:09:19.000000Z"
        },
        {
            "id": 38,
            "restaurant_id": "5",
            "category_id": "1",
            "name": "Poisson",
            "description": "Garniture poisson",
            "images": "https://staging.speed-serve.com/public/uploads/menus/jLUwXis9cz2Shljl89U1Lsj9zo6lTHgBnPSz5wxx.png",
            "price": "500.00",
            "available": "1",
            "created_at": "2024-01-24T03:13:18.000000Z",
            "updated_at": "2024-01-24T03:13:18.000000Z"
        },
        {
            "id": 39,
            "restaurant_id": "8",
            "category_id": "8",
            "name": "Pizza américaine",
            "description": "Pizza américaine",
            "images": "https://staging.speed-serve.com/public/uploads/menus/SGlaZj6oXoBJNrdwq5zA9YN6pbSqbfk9ZfkZlK6M.jpg",
            "price": "4000.00",
            "available": "1",
            "created_at": "2024-01-24T03:15:42.000000Z",
            "updated_at": "2024-01-24T03:15:42.000000Z"
        },
        {
            "id": 40,
            "restaurant_id": "8",
            "category_id": "8",
            "name": "Pizza d'enfer",
            "description": "Pizza d'enfer",
            "images": "https://staging.speed-serve.com/public/uploads/menus/4FdTXKgDsUlLgqmx4qVNWSuyDxjltk79tCJiQfja.jpg",
            "price": "5500.00",
            "available": "1",
            "created_at": "2024-01-24T03:16:23.000000Z",
            "updated_at": "2024-01-24T03:16:23.000000Z"
        },
        {
            "id": 41,
            "restaurant_id": "8",
            "category_id": "8",
            "name": "Pizza du chef",
            "description": "Pizza du chef",
            "images": "https://staging.speed-serve.com/public/uploads/menus/oVIa6S1rpiq3Dux21mmnzFO3vb1XhlWedNnxnR85.jpg",
            "price": "6000.00",
            "available": "1",
            "created_at": "2024-01-24T03:18:39.000000Z",
            "updated_at": "2024-01-24T03:18:39.000000Z"
        },
        {
            "id": 42,
            "restaurant_id": "8",
            "category_id": "8",
            "name": "Pizza forestière",
            "description": "Pizza forestière",
            "images": "https://staging.speed-serve.com/public/uploads/menus/567o214zECANZ90RPVeKAVBkRIzD74JALFKqtGm4.jpg",
            "price": "3500.00",
            "available": "1",
            "created_at": "2024-01-24T03:19:43.000000Z",
            "updated_at": "2024-01-24T03:19:43.000000Z"
        },
        {
            "id": 43,
            "restaurant_id": "8",
            "category_id": "8",
            "name": "Pizza orientale",
            "description": "Pizza orientale",
            "images": "https://staging.speed-serve.com/public/uploads/menus/jCWt4IbcAY1u7l0MRxePZoGQLP5DKBvp6i1FaaA7.jpg",
            "price": "4000.00",
            "available": "1",
            "created_at": "2024-01-24T03:20:44.000000Z",
            "updated_at": "2024-01-24T03:20:44.000000Z"
        },
        {
            "id": 44,
            "restaurant_id": "8",
            "category_id": "8",
            "name": "Pizza reine",
            "description": "Pizza reine",
            "images": "https://staging.speed-serve.com/public/uploads/menus/larY9UBw0fvhZ7JERu9ZPQeQeCHW3xAQeSXDumAk.jpg",
            "price": "4000.00",
            "available": "1",
            "created_at": "2024-01-24T03:21:58.000000Z",
            "updated_at": "2024-01-24T03:21:58.000000Z"
        },
        {
            "id": 45,
            "restaurant_id": "8",
            "category_id": "8",
            "name": "Pizza royale",
            "description": "Pizza royale",
            "images": "https://staging.speed-serve.com/public/uploads/menus/sPAZ5ShQvyGZ9HMiusk2E4leiGnugi9CScYS5TbQ.jpg",
            "price": "4500.00",
            "available": "1",
            "created_at": "2024-01-24T03:22:32.000000Z",
            "updated_at": "2024-01-24T03:22:32.000000Z"
        },
        {
            "id": 46,
            "restaurant_id": "8",
            "category_id": "3",
            "name": "Coucous garni",
            "description": "Coucous et garnitures",
            "images": "https://staging.speed-serve.com/public/uploads/menus/42vZ2XXcq1tQF271cAp6zgFK4PXcVJPO9fYnnGPZ.jpg",
            "price": "3000.00",
            "available": "1",
            "created_at": "2024-01-24T03:40:58.000000Z",
            "updated_at": "2024-01-24T03:40:58.000000Z"
        },
        {
            "id": 47,
            "restaurant_id": "8",
            "category_id": "4",
            "name": "Burger",
            "description": "Burger simple",
            "images": "https://staging.speed-serve.com/public/uploads/menus/1lCw5K0O7JMmd87BIO3dgV12QqyS8OZHoVeOnnYW.jpg",
            "price": "1500.00",
            "available": "1",
            "created_at": "2024-01-24T03:41:56.000000Z",
            "updated_at": "2024-01-24T03:41:56.000000Z"
        },
        {
            "id": 48,
            "restaurant_id": "8",
            "category_id": "4",
            "name": "Chawarma viande",
            "description": "Chawarma viande",
            "images": "https://staging.speed-serve.com/public/uploads/menus/mvqnTqZE9LBuA7cEh88ZmL3wWMTFDATrv13O43Tq.jpg",
            "price": "1500.00",
            "available": "1",
            "created_at": "2024-01-24T03:42:45.000000Z",
            "updated_at": "2024-01-24T03:42:45.000000Z"
        },
        {
            "id": 49,
            "restaurant_id": "8",
            "category_id": "4",
            "name": "Cheeseburger",
            "description": "Cheeseburger",
            "images": "https://staging.speed-serve.com/public/uploads/menus/mJTMUIomgmmg5LJLDej4CzL4n2MYLPWPU9rkTySL.jpg",
            "price": "2000.00",
            "available": "1",
            "created_at": "2024-01-24T03:43:47.000000Z",
            "updated_at": "2024-01-24T03:43:47.000000Z"
        },
        {
            "id": 50,
            "restaurant_id": "8",
            "category_id": "5",
            "name": "Spaghetti blanc aux légumes",
            "description": "Spaghetti blanc aux légumes",
            "images": "https://staging.speed-serve.com/public/uploads/menus/rdXcBJIZTwrX89WgabD57gUhuFPcXMOLOy1MpFh4.jpg",
            "price": "1500.00",
            "available": "1",
            "created_at": "2024-01-24T03:44:31.000000Z",
            "updated_at": "2024-01-24T03:44:31.000000Z"
        },
        {
            "id": 51,
            "restaurant_id": "8",
            "category_id": "5",
            "name": "Spaghetti bolognaise",
            "description": "Spaghetti bolognaise",
            "images": "https://staging.speed-serve.com/public/uploads/menus/MJ0OH5LAFX6N3aVthvF9WqflEvxKmEIOvhPUsItM.jpg",
            "price": "3000.00",
            "available": "1",
            "created_at": "2024-01-24T03:45:17.000000Z",
            "updated_at": "2024-01-24T03:45:17.000000Z"
        },
        {
            "id": 52,
            "restaurant_id": "8",
            "category_id": "5",
            "name": "Spaghetti Eskapad du chef",
            "description": "Spaghetti Eskapad du chef",
            "images": "https://staging.speed-serve.com/public/uploads/menus/DE4b83u6ql5dd6KqO7TFJt59H8KLxwTKTeh9Xoy4.jpg",
            "price": "3000.00",
            "available": "1",
            "created_at": "2024-01-24T03:45:50.000000Z",
            "updated_at": "2024-01-24T03:45:50.000000Z"
        },
        {
            "id": 53,
            "restaurant_id": "8",
            "category_id": "5",
            "name": "Spaghetti rouge aux légumes",
            "description": "Spaghetti rouge aux légumes",
            "images": "https://staging.speed-serve.com/public/uploads/menus/Ma8GURYGzdujvWI6e8XI7a9cUldUp1PPEnJyWfmv.jpg",
            "price": "1500.00",
            "available": "1",
            "created_at": "2024-01-24T03:46:23.000000Z",
            "updated_at": "2024-01-24T03:46:23.000000Z"
        },
        {
            "id": 54,
            "restaurant_id": "8",
            "category_id": "6",
            "name": "Salade composée",
            "description": "Salade composée",
            "images": "https://staging.speed-serve.com/public/uploads/menus/FHWPKflhgKpN3Et6xuJnEip3QGZ35eLuQAx7dXCs.jpg",
            "price": "2000.00",
            "available": "1",
            "created_at": "2024-01-24T03:46:57.000000Z",
            "updated_at": "2024-01-24T03:46:57.000000Z"
        },
        {
            "id": 55,
            "restaurant_id": "8",
            "category_id": "6",
            "name": "Salade eskapad du chef",
            "description": "Salade eskapad du chef",
            "images": "https://staging.speed-serve.com/public/uploads/menus/cv5uPiStW1DLRuLVy8rdVcHL9DBVxve8JtHdtxRU.jpg",
            "price": "3000.00",
            "available": "1",
            "created_at": "2024-01-24T03:47:32.000000Z",
            "updated_at": "2024-01-24T03:47:32.000000Z"
        },
        {
            "id": 56,
            "restaurant_id": "8",
            "category_id": "6",
            "name": "Salade niçoise",
            "description": "Salade niçoise",
            "images": "https://staging.speed-serve.com/public/uploads/menus/RFIXqIOEgMJO5LEVICTr0psVseYciz8GDIxZnLWC.jpg",
            "price": "2500.00",
            "available": "1",
            "created_at": "2024-01-24T03:48:09.000000Z",
            "updated_at": "2024-01-24T03:48:09.000000Z"
        },
        {
            "id": 57,
            "restaurant_id": "8",
            "category_id": "6",
            "name": "Salade verte",
            "description": "Salade verte",
            "images": "https://staging.speed-serve.com/public/uploads/menus/T84P0LdVK9G504ns919oTqH93s1U7kKMS4FGzx3M.jpg",
            "price": "1000.00",
            "available": "1",
            "created_at": "2024-01-24T03:48:41.000000Z",
            "updated_at": "2024-01-24T03:48:41.000000Z"
        },
        {
            "id": 58,
            "restaurant_id": "8",
            "category_id": "7",
            "name": "Accompagnement au poulet",
            "description": "Accompagnement + poulet",
            "images": "https://staging.speed-serve.com/public/uploads/menus/sgWnbwccMgS5leVZTbuYTYMCFCwdRJtEdXk4A7Jh.png",
            "price": "5000.00",
            "available": "1",
            "created_at": "2024-01-24T03:52:28.000000Z",
            "updated_at": "2024-01-24T03:52:28.000000Z"
        },
        {
            "id": 59,
            "restaurant_id": "8",
            "category_id": "7",
            "name": "Accompagnement au poisson (1)",
            "description": "Accompagnement+ poisson (5000 fr)",
            "images": "https://staging.speed-serve.com/public/uploads/menus/gQlnZbIJZMGajdGBlpuNwuek1684QNuIgChIJabJ.png",
            "price": "5000.00",
            "available": "1",
            "created_at": "2024-01-24T03:53:49.000000Z",
            "updated_at": "2024-01-24T03:53:49.000000Z"
        },
        {
            "id": 60,
            "restaurant_id": "8",
            "category_id": "7",
            "name": "Accompagnement au poisson (2)",
            "description": "Accompagnement au poisson (6000 fr)",
            "images": "https://staging.speed-serve.com/public/uploads/menus/lIsjzf8CmrRQprWYLSGosPInOPY5ZkuAIwW3x7wn.png",
            "price": "6000.00",
            "available": "1",
            "created_at": "2024-01-24T03:54:32.000000Z",
            "updated_at": "2024-01-24T03:54:32.000000Z"
        },
        {
            "id": 61,
            "restaurant_id": "8",
            "category_id": "7",
            "name": "Accompagnement au poisson (3)",
            "description": "Accompagnement +poisson (7000 fr)",
            "images": "https://staging.speed-serve.com/public/uploads/menus/ljK0FDPtDaPPwEAsWt2C4hTz24D0pmfyrL0EetAJ.png",
            "price": "7000.00",
            "available": "1",
            "created_at": "2024-01-24T03:55:55.000000Z",
            "updated_at": "2024-01-24T03:55:55.000000Z"
        },
        {
            "id": 62,
            "restaurant_id": "8",
            "category_id": "7",
            "name": "Accompagnement au poisson",
            "description": "Accompagnement + poisson (8000 fr )",
            "images": "https://staging.speed-serve.com/public/uploads/menus/2pZD54fUMXzcWPi5VDBJvek4wE3JpTpJzuDD76Wi.png",
            "price": "8000.00",
            "available": "1",
            "created_at": "2024-01-24T03:56:40.000000Z",
            "updated_at": "2024-01-24T03:56:40.000000Z"
        },
        {
            "id": 64,
            "restaurant_id": "8",
            "category_id": "1",
            "name": "Alloco",
            "description": "Garniture Alloco (Eskapad)",
            "images": "https://staging.speed-serve.com/public/uploads/menus/oRrkfVC79yGQaRUL4tJyh07SXhf51aPOeOPbkxhf.png",
            "price": "500.00",
            "available": "1",
            "created_at": "2024-01-24T04:01:07.000000Z",
            "updated_at": "2024-01-24T04:01:07.000000Z"
        },
        {
            "id": 65,
            "restaurant_id": "8",
            "category_id": "1",
            "name": "Attiéké",
            "description": "Garniture Attiéké (Eskapad)",
            "images": "https://staging.speed-serve.com/public/uploads/menus/aIFYjmcI3dE7dGdKUM2v3asqIW2rrSA2m9SxMnVb.png",
            "price": "500.00",
            "available": "1",
            "created_at": "2024-01-24T04:01:45.000000Z",
            "updated_at": "2024-01-24T04:01:45.000000Z"
        },
        {
            "id": 66,
            "restaurant_id": "8",
            "category_id": "1",
            "name": "Frites",
            "description": "Garnitures frites (Eskapad)",
            "images": "https://staging.speed-serve.com/public/uploads/menus/Cy8Rceuc85O3KHDOgTM7YwE4iqFpXSIn9PEPn0u5.png",
            "price": "500.00",
            "available": "1",
            "created_at": "2024-01-24T04:03:40.000000Z",
            "updated_at": "2024-01-24T04:03:40.000000Z"
        },
        {
            "id": 67,
            "restaurant_id": "8",
            "category_id": "1",
            "name": "Koliko",
            "description": "Garniture koliko (Eskapad)",
            "images": "https://staging.speed-serve.com/public/uploads/menus/SiOIYmaMcVUM25MQysQREONZEpbQTtAuZo7tfJtU.png",
            "price": "500.00",
            "available": "1",
            "created_at": "2024-01-24T04:04:19.000000Z",
            "updated_at": "2024-01-24T04:04:19.000000Z"
        },
        {
            "id": 68,
            "restaurant_id": "8",
            "category_id": "1",
            "name": "Pomme de terre sautée",
            "description": "Garniture Pomme de terres sautée (Eskapad)",
            "images": "https://staging.speed-serve.com/public/uploads/menus/0jyHozasJk1xTtlpBGdhWd9xfSanfBXKIEsQ0WUt.jpg",
            "price": "500.00",
            "available": "1",
            "created_at": "2024-01-24T04:05:13.000000Z",
            "updated_at": "2024-01-24T04:05:13.000000Z"
        },
        {
            "id": 69,
            "restaurant_id": "8",
            "category_id": "1",
            "name": "Riz blanc",
            "description": "Garniture Riz blanc (Eskapad)",
            "images": "https://staging.speed-serve.com/public/uploads/menus/4U6KITb3CXgIMSkG9GcutTqKVnKR3T1kJYbGCfmS.jpg",
            "price": "500.00",
            "available": "1",
            "created_at": "2024-01-24T04:06:31.000000Z",
            "updated_at": "2024-01-24T04:06:31.000000Z"
        },
        {
            "id": 70,
            "restaurant_id": "8",
            "category_id": "1",
            "name": "Riz cantonais",
            "description": "Riz cantonais",
            "images": "https://staging.speed-serve.com/public/uploads/menus/icEgiSFiMlGQHB3w5dH6jCaDpNvvmrD7f9AoNiwI.jpg",
            "price": "500.00",
            "available": "1",
            "created_at": "2024-01-24T04:08:10.000000Z",
            "updated_at": "2024-01-24T04:08:10.000000Z"
        },
        {
            "id": 71,
            "restaurant_id": "8",
            "category_id": "1",
            "name": "Riz gras",
            "description": "Garniture Riz gras (Eskapad)",
            "images": "https://staging.speed-serve.com/public/uploads/menus/i9508svGingUw5fIzSpj1UcZTXTHW8iB1w4mCsdO.jpg",
            "price": "500.00",
            "available": "1",
            "created_at": "2024-01-24T04:09:44.000000Z",
            "updated_at": "2024-01-24T04:09:44.000000Z"
        },
        {
            "id": 72,
            "restaurant_id": "13",
            "category_id": "9",
            "name": "Sandwich au fromage (1)",
            "description": "Pain au jambon, Fromage Cornichon, beurre",
            "images": "https://staging.speed-serve.com/public/uploads/menus/SPWpsxFWnFOhasy9FLMejBRiQl1MjBRlGfQWX6Ys.jpg",
            "price": "1500.00",
            "available": "1",
            "created_at": "2024-01-24T04:20:56.000000Z",
            "updated_at": "2024-01-24T04:20:56.000000Z"
        },
        {
            "id": 73,
            "restaurant_id": "13",
            "category_id": "9",
            "name": "Sandwich au fromage (2)",
            "description": "Pain au jambon, Fromage Cornichon, beurre",
            "images": "https://staging.speed-serve.com/public/uploads/menus/UDgjBGrSLVhPloQHm4ffJHM8u6aAKkMF54gG4rnW.jpg",
            "price": "2000.00",
            "available": "1",
            "created_at": "2024-01-24T04:29:26.000000Z",
            "updated_at": "2024-01-24T04:29:26.000000Z"
        },
        {
            "id": 74,
            "restaurant_id": "13",
            "category_id": "5",
            "name": "Sandwich au légumes",
            "description": "Pain-à-la-crème-fraiche-au-légume-et-œuf",
            "images": "https://staging.speed-serve.com/public/uploads/menus/KwFX2SBnCKCkp2gcVmtjlXd9TUd2tPj37JiQQ0i1.jpg",
            "price": "1500.00",
            "available": "1",
            "created_at": "2024-01-24T04:36:17.000000Z",
            "updated_at": "2024-01-24T04:36:17.000000Z"
        },
        {
            "id": 75,
            "restaurant_id": "13",
            "category_id": "9",
            "name": "Sandwich au légumes (2)",
            "description": "Pain à la crème fraiche au légume et œuf",
            "images": "https://staging.speed-serve.com/public/uploads/menus/WBvHoAOhXLBQnQaTosdWrNEe6Py5kFj0CfBr9MrN.jpg",
            "price": "2000.00",
            "available": "1",
            "created_at": "2024-01-24T04:36:59.000000Z",
            "updated_at": "2024-01-24T04:36:59.000000Z"
        },
        {
            "id": 77,
            "restaurant_id": "13",
            "category_id": "10",
            "name": "Nouilles (Petit plat)",
            "description": "Nouille, viande, tranches de saucisse",
            "images": "https://staging.speed-serve.com/public/uploads/menus/PjEAwKyZqLim5fdhYONpAk6rQEVrhr3XgwJ8laAB.png",
            "price": "1500.00",
            "available": "1",
            "created_at": "2024-01-24T04:41:19.000000Z",
            "updated_at": "2024-01-24T04:41:19.000000Z"
        },
        {
            "id": 78,
            "restaurant_id": "13",
            "category_id": "10",
            "name": "Nouilles (Grand plat)",
            "description": "Nouille, viande, tranches de saucisse",
            "images": "https://staging.speed-serve.com/public/uploads/menus/8GnmeOHxJ0rH1jwplpU6f83vFIJeRhdY1frPY0CI.png",
            "price": "2000.00",
            "available": "1",
            "created_at": "2024-01-24T04:43:41.000000Z",
            "updated_at": "2024-01-24T04:43:41.000000Z"
        },
        {
            "id": 79,
            "restaurant_id": "13",
            "category_id": "9",
            "name": "Sandwich poisson (1)",
            "description": "Poisson, légume, œuf, sauce vinaigrette, crème fraiche",
            "images": "https://staging.speed-serve.com/public/uploads/menus/cec71pty3T8943gCWCJzwvgsvpsVQZTrkz4KzI6K.jpg",
            "price": "1000.00",
            "available": "1",
            "created_at": "2024-01-24T04:45:02.000000Z",
            "updated_at": "2024-01-24T04:45:02.000000Z"
        },
        {
            "id": 80,
            "restaurant_id": "13",
            "category_id": "9",
            "name": "Sandwich poisson (2)",
            "description": "Poisson, légume, œuf, sauce vinaigrette, crème fraiche",
            "images": "https://staging.speed-serve.com/public/uploads/menus/Qgmpdb3Ni7zI4VdPJRWslUg3i3EwybmXiR8XQnLH.jpg",
            "price": "1500.00",
            "available": "1",
            "created_at": "2024-01-24T04:46:37.000000Z",
            "updated_at": "2024-01-24T04:46:37.000000Z"
        },
        {
            "id": 81,
            "restaurant_id": "13",
            "category_id": "9",
            "name": "Sandwich poisson (3)",
            "description": "Poisson, légume, œuf, sauce vinaigrette, crème fraiche",
            "images": "https://staging.speed-serve.com/public/uploads/menus/8Z0ClfCviwlhu3wcMLLHKuMIqkeBh19yDyTUqRSG.jpg",
            "price": "2000.00",
            "available": "1",
            "created_at": "2024-01-24T04:47:32.000000Z",
            "updated_at": "2024-01-24T04:47:32.000000Z"
        },
        {
            "id": 82,
            "restaurant_id": "13",
            "category_id": "6",
            "name": "Salade de pomme de terre (1)",
            "description": "Pomme de terre, tranche de saucisse, viande hachée",
            "images": "https://staging.speed-serve.com/public/uploads/menus/FW6AzWOWMMa9nGFKeP7vBrQLwNbzTgK6U3U7ogtd.jpg",
            "price": "2500.00",
            "available": "1",
            "created_at": "2024-01-24T04:50:49.000000Z",
            "updated_at": "2024-01-24T04:50:49.000000Z"
        },
        {
            "id": 83,
            "restaurant_id": "13",
            "category_id": "6",
            "name": "Salade de pomme de terre (2)",
            "description": "Pomme de terre, tranche de saucisse, viande hachée",
            "images": "https://staging.speed-serve.com/public/uploads/menus/F34m8kHuwkn6Htq4WojCF11Xu9zGVGWMapS9kMpm.jpg",
            "price": "3000.00",
            "available": "1",
            "created_at": "2024-01-24T04:51:51.000000Z",
            "updated_at": "2024-01-24T04:51:51.000000Z"
        },
        {
            "id": 87,
            "restaurant_id": "13",
            "category_id": "9",
            "name": "Sandwich viande (2)",
            "description": "Viande-hachée,-légume,-œuf-durs,-sauce-vinaigrette,-crème-fraiche",
            "images": "https://staging.speed-serve.com/public/uploads/menus/qaHBqjGYw0ltN3ImeRt76Ywai5fQcRYjF5L5is76.jpg",
            "price": "1500.00",
            "available": "1",
            "created_at": "2024-01-24T05:00:25.000000Z",
            "updated_at": "2024-01-24T05:00:25.000000Z"
        },
        {
            "id": 88,
            "restaurant_id": "13",
            "category_id": "9",
            "name": "Sandwich viande (1)",
            "description": "Viande-hachée,-légume,-œuf-durs,-sauce-vinaigrette,-crème-fraiche",
            "images": "https://staging.speed-serve.com/public/uploads/menus/ALliR9d7CJEkYfTZqXF5nVvuWJlt9xRe1jNMfWoE.jpg",
            "price": "1000.00",
            "available": "1",
            "created_at": "2024-01-24T05:01:12.000000Z",
            "updated_at": "2024-01-24T05:01:12.000000Z"
        },
        {
            "id": 89,
            "restaurant_id": "13",
            "category_id": "9",
            "name": "Sandwich viande (3)",
            "description": "Viande-hachée,-légume,-œuf-durs,-sauce-vinaigrette,-crème-fraiche",
            "images": "https://staging.speed-serve.com/public/uploads/menus/pk55jb6XrmtVWH4fiXfuloHwLlJCIG8EbZ5eqonw.jpg",
            "price": "2000.00",
            "available": "1",
            "created_at": "2024-01-24T05:01:45.000000Z",
            "updated_at": "2024-01-24T05:01:45.000000Z"
        },
        {
            "id": 91,
            "restaurant_id": "6",
            "category_id": "11",
            "name": "Ayimolou Bim 2000F",
            "description": "Ayimolou + Wangach + Poisson + viande + œuf + Gari + Maca",
            "images": "https://staging.speed-serve.com/public/uploads/menus/hxzcQlzYOeSYFEp4fiEmBDcIRi1azPPqQ7fPIzND.png",
            "price": "2000.00",
            "available": "1",
            "created_at": "2024-01-24T05:10:47.000000Z",
            "updated_at": "2024-01-24T05:10:47.000000Z"
        },
        {
            "id": 92,
            "restaurant_id": "6",
            "category_id": "11",
            "name": "Ayimolou Bim 2500F",
            "description": "Ayimolou + Wangach + Pinon + Viande + œuf + Gari + Maca",
            "images": "https://staging.speed-serve.com/public/uploads/menus/rUcy6WOsZ3ZdkzOECA91xANlq0Wb66SJ7DJj857g.png",
            "price": "2500.00",
            "available": "1",
            "created_at": "2024-01-24T05:12:52.000000Z",
            "updated_at": "2024-01-24T05:12:52.000000Z"
        },
        {
            "id": 93,
            "restaurant_id": "6",
            "category_id": "11",
            "name": "Ayimolou Dosé 1000F",
            "description": "Ayimolou + Wangach + Poisson + œuf + Gari + Maca",
            "images": "https://staging.speed-serve.com/public/uploads/menus/XdmpbNWYlOxBaMxdkzaK33fSnzeLo25fI817sASu.png",
            "price": "1000.00",
            "available": "1",
            "created_at": "2024-01-24T05:14:21.000000Z",
            "updated_at": "2024-01-24T05:14:21.000000Z"
        },
        {
            "id": 94,
            "restaurant_id": "6",
            "category_id": "11",
            "name": "Ayimolou Méchant méchant 1500F",
            "description": "Ayimolou + Wangach + Poisson + viande + œuf + Gari + Maca",
            "images": "https://staging.speed-serve.com/public/uploads/menus/AqiEsZHn2m9JBcsrejTVH3dkOfVqdk6e70vJasIF.png",
            "price": "1500.00",
            "available": "1",
            "created_at": "2024-01-24T05:15:29.000000Z",
            "updated_at": "2024-01-24T05:15:29.000000Z"
        },
        {
            "id": 95,
            "restaurant_id": "6",
            "category_id": "1",
            "name": "Ail de poulet",
            "description": "Garniture ail de poulet.",
            "images": "https://staging.speed-serve.com/public/uploads/menus/m5r7clKwl7bUJMN3q4I4mETLdxNfWuOcyiMqN4H5.png",
            "price": "100.00",
            "available": "1",
            "created_at": "2024-01-24T08:10:04.000000Z",
            "updated_at": "2024-01-24T08:10:04.000000Z"
        },
        {
            "id": 96,
            "restaurant_id": "6",
            "category_id": "1",
            "name": "Cuisse de poulet",
            "description": "Garniture cuisse de poulet.",
            "images": "https://staging.speed-serve.com/public/uploads/menus/wVWh8csIGFc0JwnONVyRuEB1RBzQ5ACIlmmZPmHV.png",
            "price": "100.00",
            "available": "1",
            "created_at": "2024-01-24T08:10:54.000000Z",
            "updated_at": "2024-01-24T08:10:54.000000Z"
        },
        {
            "id": 97,
            "restaurant_id": "6",
            "category_id": "1",
            "name": "Œuf",
            "description": "Garniture Œuf.",
            "images": "https://staging.speed-serve.com/public/uploads/menus/f6Rz5hoRFOKGJ28ldCBUzln4QSmXcaKpsLryzDj7.png",
            "price": "125.00",
            "available": "1",
            "created_at": "2024-01-24T08:11:39.000000Z",
            "updated_at": "2024-01-24T08:11:39.000000Z"
        },
        {
            "id": 98,
            "restaurant_id": "6",
            "category_id": "1",
            "name": "Poisson (Maman Josey)",
            "description": "Garniture poisson pour accompagner l'Ayimolou",
            "images": "https://staging.speed-serve.com/public/uploads/menus/gNwxSpSh2EwrXZM4bnTz5qByzC1WoM8HwYhnHqIn.png",
            "price": "100.00",
            "available": "1",
            "created_at": "2024-01-24T08:12:38.000000Z",
            "updated_at": "2024-01-24T08:12:38.000000Z"
        },
        {
            "id": 99,
            "restaurant_id": "6",
            "category_id": "1",
            "name": "Viande de bœuf",
            "description": "Garniture viande de bœuf pour accompagner l'Ayimolou",
            "images": "https://staging.speed-serve.com/public/uploads/menus/gjt7X4UarySuj2TitgPHa62ODDfiEhdjx1UyWNf6.png",
            "price": "100.00",
            "available": "1",
            "created_at": "2024-01-24T08:14:27.000000Z",
            "updated_at": "2024-01-24T08:14:27.000000Z"
        },
        {
            "id": 100,
            "restaurant_id": "6",
            "category_id": "1",
            "name": "Wangash",
            "description": "Garniture wangash pour accompagner l'Ayimolou",
            "images": "https://staging.speed-serve.com/public/uploads/menus/vitge5ncUNEfiLXCMr0zrlpoejs3Zo0KSMFtUSoN.png",
            "price": "100.00",
            "available": "1",
            "created_at": "2024-01-24T08:15:15.000000Z",
            "updated_at": "2024-01-24T08:15:15.000000Z"
        },
        {
            "id": 101,
            "restaurant_id": "14",
            "category_id": "13",
            "name": "Adémè et patte au choix",
            "description": "Deux boules de pate + viande au choix + sauce d'ademè\r\nDifférent type de pate : Mil, Maïs, Mais fermenté.\r\n\r\nPrécisez la patte choisi lors de la commande (Dans la description).",
            "images": "https://staging.speed-serve.com/public/uploads/menus/8ntXbTpPAdnZ20d40ijKxYqoSHQXWhjGa4ghGybg.png",
            "price": "1000.00",
            "available": "1",
            "created_at": "2024-01-24T08:28:11.000000Z",
            "updated_at": "2024-01-24T08:28:11.000000Z"
        },
        {
            "id": 102,
            "restaurant_id": "14",
            "category_id": "13",
            "name": "Fétri et patte au choix",
            "description": "Deux boules de pate + viande au choix + sauce de Fétri\r\nDifférent type de pate : Mil, Maïs, Mais fermenté.\r\n\r\nPrécisez la patte choisi lors de la commande (Dans la description).",
            "images": "https://staging.speed-serve.com/public/uploads/menus/OqBGxYZ0XT09PehIEgtUvuT2lH4rFBauw3xBz6rZ.png",
            "price": "1000.00",
            "available": "1",
            "created_at": "2024-01-24T08:29:14.000000Z",
            "updated_at": "2024-01-24T08:29:14.000000Z"
        },
        {
            "id": 103,
            "restaurant_id": "14",
            "category_id": "13",
            "name": "Gboma et patte au choix",
            "description": "Deux boules de pate + viande au choix + sauce de Gboma\r\nDifférent type de pate : Mil, Maïs, Mais fermenté.\r\n\r\nPrécisez la patte choisi lors de la commande (Dans la description).",
            "images": "https://staging.speed-serve.com/public/uploads/menus/hG7z6KFqgifcm6C3WpWM8qCW7O7QV1bl0bImKIV7.png",
            "price": "1000.00",
            "available": "1",
            "created_at": "2024-01-24T08:30:05.000000Z",
            "updated_at": "2024-01-24T08:30:05.000000Z"
        },
        {
            "id": 104,
            "restaurant_id": "14",
            "category_id": "2",
            "name": "Attiéké au poisson braisé",
            "description": "Atièkè +poisson braisé",
            "images": "https://staging.speed-serve.com/public/uploads/menus/LSOuyScvjX1m4uHwrm7FYLkUNCZBmwJsRd7XxnTi.png",
            "price": "3500.00",
            "available": "1",
            "created_at": "2024-01-24T08:36:30.000000Z",
            "updated_at": "2024-01-24T08:36:30.000000Z"
        },
        {
            "id": 105,
            "restaurant_id": "14",
            "category_id": "2",
            "name": "Attiéké au poisson braisé (Alloco)",
            "description": "Attiéké + poisson braisé +Alloco",
            "images": "https://staging.speed-serve.com/public/uploads/menus/XSG1PXBspqLgtFaghxDdjwAuNCIisO1hzF1hIhlJ.png",
            "price": "5000.00",
            "available": "1",
            "created_at": "2024-01-24T08:37:36.000000Z",
            "updated_at": "2024-01-24T08:37:36.000000Z"
        },
        {
            "id": 106,
            "restaurant_id": "14",
            "category_id": "12",
            "name": "Fufu à la sauce d'arachide",
            "description": "Fufu + Viande au choix + sauce d'arachide",
            "images": "https://staging.speed-serve.com/public/uploads/menus/mh5W2Ly5EPmMc0vmBZ2464hrgRExLcCN2CUc8Zlq.png",
            "price": "1500.00",
            "available": "1",
            "created_at": "2024-01-24T08:38:53.000000Z",
            "updated_at": "2024-01-24T08:38:53.000000Z"
        },
        {
            "id": 107,
            "restaurant_id": "14",
            "category_id": "12",
            "name": "Fufu à la sauce d'arachid (max)",
            "description": "Fufu+ Viande au choix ou poisson + Sauce d'arachide",
            "images": "https://staging.speed-serve.com/public/uploads/menus/CVlYdkNRXHB633QXouwNoYpOFwgRxEDlwEhWLtsU.png",
            "price": "2500.00",
            "available": "1",
            "created_at": "2024-01-24T08:40:28.000000Z",
            "updated_at": "2024-01-24T08:40:28.000000Z"
        },
        {
            "id": 108,
            "restaurant_id": "14",
            "category_id": "12",
            "name": "Fufu à la sauce blanche (mini)",
            "description": "Fufu + Viande au choix + sauce blanche",
            "images": "https://staging.speed-serve.com/public/uploads/menus/CABPy01v8JU9o5iu3qxl4I0QzTTF5QBDZahbqVBF.png",
            "price": "1500.00",
            "available": "1",
            "created_at": "2024-01-24T08:42:00.000000Z",
            "updated_at": "2024-01-24T08:42:00.000000Z"
        },
        {
            "id": 109,
            "restaurant_id": "14",
            "category_id": "12",
            "name": "Fufu à la sauce blanche (max)",
            "description": "Fufu + Viande au choix + sauce blanche",
            "images": "https://staging.speed-serve.com/public/uploads/menus/c4qffyQdtOL1EAu8bZceSFded5rpLW1FjcpWVbA8.png",
            "price": "2500.00",
            "available": "1",
            "created_at": "2024-01-24T08:43:09.000000Z",
            "updated_at": "2024-01-24T08:43:09.000000Z"
        }
    ],
    "message": "Menus retrieved successfully"
}
GET
https://staging.speed-serve.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:
30
Example request:
curl --request GET \
    --get "https://staging.speed-serve.com/api/v1/menus/30" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
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": 30,
        "restaurant_id": "5",
        "category_id": "2",
        "name": "Mon cocody",
        "description": "Atiekè + Grosse portion d’Alloco + Poisson entier)",
        "images": "https://staging.speed-serve.com/public/uploads/menus/CKEQOTxwZuVBU94hq93KIGfr1Vcr0fJqHGFroKnz.png",
        "price": "2500.00",
        "available": "1",
        "created_at": "2024-01-24T02:33:50.000000Z",
        "updated_at": "2024-01-24T02:33:50.000000Z"
    },
    "message": "Menu retrieved successfully"
}

Menus Categories

Manage Speed platform menus and menus

POST
https://staging.speed-serve.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://staging.speed-serve.com/api/v1/menu-categories" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"exercitationem\"
}"
PUT
PATCH
https://staging.speed-serve.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
string
required

The ID of the menu category.

Example:
sunt

Body Parameters

Example request:
curl --request PUT \
    "https://staging.speed-serve.com/api/v1/menu-categories/sunt" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"rerum\"
}"
DELETE
https://staging.speed-serve.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
string
required

The ID of the menu category.

Example:
voluptas
Example request:
curl --request DELETE \
    "https://staging.speed-serve.com/api/v1/menu-categories/voluptas" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
GET
https://staging.speed-serve.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://staging.speed-serve.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
                                                            : 55
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "success": true,
    "data": [
        {
            "id": 1,
            "name": "GARNITURE",
            "status": "1",
            "created_at": "2023-12-15T06:56:35.000000Z",
            "updated_at": "2023-12-18T10:06:46.000000Z"
        },
        {
            "id": 2,
            "name": "ATTIEKE",
            "status": "1",
            "created_at": "2023-12-18T08:53:41.000000Z",
            "updated_at": "2023-12-18T08:53:41.000000Z"
        },
        {
            "id": 3,
            "name": "COUSCOUS",
            "status": "1",
            "created_at": "2023-12-18T10:15:41.000000Z",
            "updated_at": "2023-12-18T10:15:41.000000Z"
        },
        {
            "id": 4,
            "name": "FAST FOOD",
            "status": "1",
            "created_at": "2023-12-18T10:15:57.000000Z",
            "updated_at": "2023-12-18T10:15:57.000000Z"
        },
        {
            "id": 5,
            "name": "SPAGHETTI",
            "status": "1",
            "created_at": "2023-12-18T10:16:15.000000Z",
            "updated_at": "2023-12-18T10:16:15.000000Z"
        },
        {
            "id": 6,
            "name": "SALADE",
            "status": "1",
            "created_at": "2023-12-18T10:16:25.000000Z",
            "updated_at": "2023-12-18T10:16:25.000000Z"
        },
        {
            "id": 7,
            "name": "ACCOMPAGNEMENT",
            "status": "1",
            "created_at": "2023-12-18T10:24:23.000000Z",
            "updated_at": "2023-12-18T10:24:23.000000Z"
        },
        {
            "id": 8,
            "name": "PIZZA",
            "status": "1",
            "created_at": "2023-12-18T10:50:23.000000Z",
            "updated_at": "2023-12-18T10:50:23.000000Z"
        },
        {
            "id": 9,
            "name": "SANDWICH",
            "status": "1",
            "created_at": "2024-01-24T04:13:58.000000Z",
            "updated_at": "2024-01-24T04:13:58.000000Z"
        },
        {
            "id": 10,
            "name": "NOUILLES",
            "status": "1",
            "created_at": "2024-01-24T04:39:58.000000Z",
            "updated_at": "2024-01-24T04:39:58.000000Z"
        },
        {
            "id": 11,
            "name": "AYIMOLOU",
            "status": "1",
            "created_at": "2024-01-24T05:06:43.000000Z",
            "updated_at": "2024-01-24T05:06:43.000000Z"
        },
        {
            "id": 12,
            "name": "FOUFOU",
            "status": "1",
            "created_at": "2024-01-24T08:17:42.000000Z",
            "updated_at": "2024-01-24T08:17:42.000000Z"
        },
        {
            "id": 13,
            "name": "AKUMÈ",
            "status": "1",
            "created_at": "2024-01-24T08:19:22.000000Z",
            "updated_at": "2024-01-24T08:19:22.000000Z"
        },
        {
            "id": 14,
            "name": "RIZ",
            "status": "1",
            "created_at": "2024-01-24T08:22:37.000000Z",
            "updated_at": "2024-01-24T08:22:37.000000Z"
        },
        {
            "id": 15,
            "name": "CROISSANT",
            "status": "1",
            "created_at": "2024-03-10T15:56:26.000000Z",
            "updated_at": "2024-03-10T15:56:26.000000Z"
        }
    ],
    "message": "Menus category retrieved successfully"
}
GET
https://staging.speed-serve.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://staging.speed-serve.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
                                                            : 54
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "success": true,
    "data": {
        "id": 1,
        "name": "GARNITURE",
        "status": "1",
        "created_at": "2023-12-15T06:56:35.000000Z",
        "updated_at": "2023-12-18T10:06:46.000000Z"
    },
    "message": "Menu category retrieved successfully"
}

Notification

Manage speed platform notification

Send test notification.

POST
https://staging.speed-serve.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://staging.speed-serve.com/api/v1/test-notification" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"user_id\": \"ex\"
}"

Orders

Manage Speed platform orders

Orders list.

GET
https://staging.speed-serve.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://staging.speed-serve.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."
}

New order.

POST
https://staging.speed-serve.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://staging.speed-serve.com/api/v1/orders" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"menu_ids\": [
        57997.4539305
    ],
    \"menu_quantities\": [
        12
    ],
    \"drink_ids\": [
        261.5
    ],
    \"drink_quantities\": [
        18
    ],
    \"delivery_location\": \"velit\",
    \"delivery_neighborhood\": \"consequatur\",
    \"latitude_del\": \"ad\",
    \"longitude_del\": \"aspernatur\"
}"

Show orders.

GET
https://staging.speed-serve.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:
2
Example request:
curl --request GET \
    --get "https://staging.speed-serve.com/api/v1/orders/2" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "message": "Unauthenticated."
}

Edit orders.

PUT
PATCH
https://staging.speed-serve.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:
9

Body Parameters

Example request:
curl --request PUT \
    "https://staging.speed-serve.com/api/v1/orders/9" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"menu_ids\": [
        46706
    ],
    \"menu_quantities\": [
        12
    ],
    \"drink_ids\": [
        49.02092
    ],
    \"drink_quantities\": [
        14
    ],
    \"delivery_location\": \"itaque\",
    \"delivery_neighborhood\": \"magni\",
    \"latitude_del\": \"hic\",
    \"longitude_del\": \"adipisci\"
}"

Reject orders.

DELETE
https://staging.speed-serve.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:
15
Example request:
curl --request DELETE \
    "https://staging.speed-serve.com/api/v1/orders/15" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Orders by user.

GET
https://staging.speed-serve.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://staging.speed-serve.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://staging.speed-serve.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://staging.speed-serve.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://staging.speed-serve.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://staging.speed-serve.com/api/v1/permissions" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"lorem\"
}"
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://staging.speed-serve.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://staging.speed-serve.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://staging.speed-serve.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://staging.speed-serve.com/api/v1/permissions/2" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"Lorem\"
}"
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://staging.speed-serve.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://staging.speed-serve.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

New pharmacy course.

POST
https://staging.speed-serve.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://staging.speed-serve.com/api/v1/pharmacy-course" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"latitude_del\": \"quis\",
    \"longitude_del\": \"incidunt\",
    \"delivery_neighborhood\": \"facere\",
    \"delivery_phone\": \"beatae\",
    \"delivery_name\": \"rem\",
    \"estimate_meters\": 2091321.921,
    \"estimate_time\": 171362.13,
    \"description\": \"Veritatis neque repellendus in nemo et.\",
    \"images\": [
        \"et\"
    ]
}"

Edit pharmacy courses.

PUT
PATCH
https://staging.speed-serve.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
string
required

The ID of the pharmacy course.

Example:
quas

Body Parameters

Example request:
curl --request PUT \
    "https://staging.speed-serve.com/api/v1/pharmacy-course/quas" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"latitude_del\": \"harum\",
    \"longitude_del\": \"dicta\",
    \"delivery_neighborhood\": \"non\",
    \"delivery_phone\": \"sunt\",
    \"delivery_name\": \"necessitatibus\",
    \"estimate_meters\": 104277.85,
    \"estimate_time\": 20.377,
    \"description\": \"Distinctio aut ut repudiandae recusandae esse magni.\",
    \"images\": [
        \"assumenda\"
    ]
}"

Reject pharmacy courses.

DELETE
https://staging.speed-serve.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
string
required

The ID of the pharmacy course.

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

Pharmacy courses list.

GET
https://staging.speed-serve.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://staging.speed-serve.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
                                                                                                                    x-ratelimit-limit
                                                            : 60
                                                                                                                    x-ratelimit-remaining
                                                            : 53
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "success": true,
    "data": [],
    "message": "Pharmacy courses retrieved successfully"
}

Platform and courses review

Manage speed platform and courses review

New reviews.

POST
https://staging.speed-serve.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://staging.speed-serve.com/api/v1/reviews" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"restaurant_id\": 15.46033,
    \"rating\": 4,
    \"comment\": \"possimus\",
    \"type\": \"Application\"
}"

Show reviews.

GET
https://staging.speed-serve.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:
quia
Example request:
curl --request GET \
    --get "https://staging.speed-serve.com/api/v1/reviews/quia" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
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://staging.speed-serve.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://staging.speed-serve.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://staging.speed-serve.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://staging.speed-serve.com/api/v1/restaurants-hours" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"restaurant_id\": \"consectetur\",
    \"day\": [
        \"Mercredi\"
    ],
    \"open_time\": [
        \"14:24\"
    ],
    \"close_time\": [
        \"14:24\"
    ]
}"

Show restaurant Hourss.

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

Edit restaurant Hourss.

PUT
PATCH
https://staging.speed-serve.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:
quibusdam

Body Parameters

Example request:
curl --request PUT \
    "https://staging.speed-serve.com/api/v1/restaurants-hours/quibusdam" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"restaurant_id\": \"aut\",
    \"day\": [
        \"Dimanche\"
    ],
    \"open_time\": [
        \"14:24\"
    ],
    \"close_time\": [
        \"14:24\"
    ]
}"

Reject restaurant Hourss.

DELETE
https://staging.speed-serve.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:
dolorem
Example request:
curl --request DELETE \
    "https://staging.speed-serve.com/api/v1/restaurants-hours/dolorem" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Restaurants

Manage Speed platform restaurant

Restaurants list with menus.

GET
https://staging.speed-serve.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://staging.speed-serve.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."
}

Restaurants list.

GET
https://staging.speed-serve.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://staging.speed-serve.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://staging.speed-serve.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://staging.speed-serve.com/api/v1/restaurants" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "name=ea"\
    --form "latitude=eaque"\
    --form "longitude=quia"\
    --form "banner=@/tmp/php6TgKtf" \
    --form "logo=@/tmp/phpgOrfBg" 

Show restaurants.

GET
https://staging.speed-serve.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:
1
Example request:
curl --request GET \
    --get "https://staging.speed-serve.com/api/v1/restaurants/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "message": "Unauthenticated."
}

Edit restaurants.

PUT
PATCH
https://staging.speed-serve.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:
1

Body Parameters

Example request:
curl --request PUT \
    "https://staging.speed-serve.com/api/v1/restaurants/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: multipart/form-data" \
    --header "Accept: application/json" \
    --form "name=unde"\
    --form "latitude=cum"\
    --form "longitude=animi"\
    --form "banner=@/tmp/phpa1Sm2j" \
    --form "logo=@/tmp/php1ZTJdl" 

Reject restaurants.

DELETE
https://staging.speed-serve.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:
1
Example request:
curl --request DELETE \
    "https://staging.speed-serve.com/api/v1/restaurants/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Role

Manage Speed platform roles

Assigning.

POST
https://staging.speed-serve.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://staging.speed-serve.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.",
}

List.

GET
https://staging.speed-serve.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://staging.speed-serve.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://staging.speed-serve.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://staging.speed-serve.com/api/v1/role" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"lorem\"
}"
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://staging.speed-serve.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://staging.speed-serve.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://staging.speed-serve.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://staging.speed-serve.com/api/v1/role/2" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"Lorem\"
}"
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://staging.speed-serve.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://staging.speed-serve.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.",
}

Speeders

Manage Speed platform speeder

Speeder is available.

POST
https://staging.speed-serve.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://staging.speed-serve.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://staging.speed-serve.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://staging.speed-serve.com/api/v1/speeder/unavailable" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Speeder profile.

GET
https://staging.speed-serve.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://staging.speed-serve.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."
}

Start shopping.

POST
https://staging.speed-serve.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://staging.speed-serve.com/api/v1/speeder/start-shopping" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"course_id\": 5,
    \"type\": \"Course\"
}"

Stop Shopping.

POST
https://staging.speed-serve.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://staging.speed-serve.com/api/v1/speeder/end-shopping" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"course_id\": 13,
    \"type\": \"Course\",
    \"estimate_time\": \"distinctio\",
    \"estimate_meters\": \"ad\"
}"

Update speeder password.

POST
https://staging.speed-serve.com
/api/v1/speeder/update-password
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://staging.speed-serve.com/api/v1/speeder/update-password" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"current_password\": \"quibusdam\",
    \"password\": \"hW%i:}74e+${X\\\\my\",
    \"password_confirmation\": \"exercitationem\"
}"

Speeders list.

GET
https://staging.speed-serve.com
/api/v1/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://staging.speed-serve.com/api/v1/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."
}

New speeder.

POST
https://staging.speed-serve.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://staging.speed-serve.com/api/v1/speeder" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"lname\": \"et\",
    \"fname\": \"omnis\",
    \"country_id\": 36852.7428919,
    \"login\": \"rewprixuencrrjbicvsbcqjlx\",
    \"quartier\": \"est\",
    \"cv\": \"ea\",
    \"start_date\": \"in\"
}"

Show speeders.

GET
https://staging.speed-serve.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://staging.speed-serve.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://staging.speed-serve.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://staging.speed-serve.com/api/v1/speeder/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"lname\": \"ex\",
    \"fname\": \"temporibus\",
    \"country_id\": 0.942,
    \"login\": \"nkujnayohravdyl\",
    \"quartier\": \"distinctio\",
    \"cv\": \"aut\",
    \"start_date\": \"ut\"
}"

Reject speeders.

DELETE
https://staging.speed-serve.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://staging.speed-serve.com/api/v1/speeder/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"

Stop speeder.

GET
https://staging.speed-serve.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://staging.speed-serve.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://staging.speed-serve.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://staging.speed-serve.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://staging.speed-serve.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://staging.speed-serve.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://staging.speed-serve.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://staging.speed-serve.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://staging.speed-serve.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://staging.speed-serve.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://staging.speed-serve.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://staging.speed-serve.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",
     }],
  }
}

New.

POST
https://staging.speed-serve.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://staging.speed-serve.com/api/v1/super-markets" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"lorem\"
}"
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."],
  }
}

Details.

GET
https://staging.speed-serve.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://staging.speed-serve.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,
  }
}

Edit.

PUT
PATCH
https://staging.speed-serve.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://staging.speed-serve.com/api/v1/super-markets/2" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"Lorem\"
}"
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://staging.speed-serve.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://staging.speed-serve.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://staging.speed-serve.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://staging.speed-serve.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",
     }],
  }
}

Details.

GET
https://staging.speed-serve.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://staging.speed-serve.com/api/v1/super-market-courses/2" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
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,
  }
}

New.

POST
https://staging.speed-serve.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://staging.speed-serve.com/api/v1/super-market-courses" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"super_market_name\": \"quisquam\",
    \"images\": [
        \"tenetur\"
    ],
    \"latitude_del\": \"quis\",
    \"courses_list\": \"nisi\",
    \"longitude_del\": \"nesciunt\",
    \"delivery_neighborhood\": \"itaque\",
    \"delivery_phone\": \"ullam\",
    \"delivery_name\": \"necessitatibus\"
}"
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."],
  }
}

Edit.

PUT
PATCH
https://staging.speed-serve.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://staging.speed-serve.com/api/v1/super-market-courses/2" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"super_market_name\": \"itaque\",
    \"images\": [
        \"rerum\"
    ],
    \"latitude_del\": \"dolor\",
    \"courses_list\": \"sequi\",
    \"longitude_del\": \"totam\",
    \"delivery_neighborhood\": \"facilis\",
    \"delivery_phone\": \"a\",
    \"delivery_name\": \"non\"
}"
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://staging.speed-serve.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://staging.speed-serve.com/api/v1/super-market-courses/2" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
Example response:
{
 "success" : true
 "message": "Deleted",
}
{
 "success" : false
 "message": "Cant delete.",
}

User

Manage speeder related data

all users.

GET
https://staging.speed-serve.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://staging.speed-serve.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."
}

Update user fcm token.

POST
https://staging.speed-serve.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://staging.speed-serve.com/api/v1/update-fcm-token" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"fcm_token\": \"voluptatum\"
}"

Wallet

Manage Speed platform Wallet

Notify.

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

Headers

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

Pay with wallet.

GET
https://staging.speed-serve.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://staging.speed-serve.com/api/v1/speeder/pay-with-wallet" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"amount\": 87,
    \"shop_id\": 3696.371460255
}"
Example response:
Headers
                                                            cache-control
                                                            : no-cache, private
                                                                                                                    content-type
                                                            : application/json
                                                                                                                    access-control-allow-origin
                                                            : *
                                                         
{
    "message": "Unauthenticated."
}

List transactions.

GET
https://staging.speed-serve.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://staging.speed-serve.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."
}

Initiate a transactions.

POST
https://staging.speed-serve.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://staging.speed-serve.com/api/v1/transactions" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"amount\": 1202.594,
    \"customer_id\": \"cupiditate\"
}"

Costumer transactions.

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

Headers

Content-Type
Example:
application/json
Accept
Example:
application/json
Example request:
curl --request GET \
    --get "https://staging.speed-serve.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://staging.speed-serve.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://staging.speed-serve.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."
}