Introduction
REST API for the Ravish customer, vendor, staff, and admin apps.
All endpoints are prefixed with `/api/v1`. Send `Accept: application/json` and `Content-Type: application/json` on every request.
## Response envelope
Successful responses:
```json
{
"success": true,
"status_code": 200,
"message": "Success",
"data": {},
"meta": { "currency": { "code": "GBP", "symbol": "£" } },
"errors": null
}
```
Error responses:
```json
{
"success": false,
"status_code": 422,
"message": "Validation failed.",
"data": null,
"errors": { "field": ["The field is required."] }
}
```
## Authentication
Protected routes require a Laravel Sanctum bearer token in the `Authorization` header.
Obtain a token from the relevant login or registration endpoint in the **Auth** group.
<aside>As you scroll, you'll see code examples for working with the API in different programming languages in the dark area to the right (or as part of the content on mobile).
You can switch the language used with the tabs at the top right (or from the nav menu at the top left on mobile).</aside>
Authenticating requests
To authenticate requests, include an Authorization header with the value "Bearer {YOUR_SANCTUM_TOKEN}".
All authenticated endpoints are marked with a requires authentication badge in the documentation below.
Call a login or registration endpoint in the Auth group, then pass the returned token as Authorization: Bearer {token}. For automated example responses during doc generation, set SCRIBE_AUTH_KEY in .env to a valid token.
Auth
POST api/v1/auth/customer/register
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/auth/customer/register" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"full_name\": \"b\",
\"phone\": \"ngzmiyvdljnikhwa\",
\"email\": \"[email protected]\",
\"password\": \"architecto\",
\"accept_terms\": true,
\"address\": {
\"line_1\": \"n\",
\"line_2\": \"g\",
\"city\": \"z\",
\"postcode\": \"miyvdljnikhwaykc\"
}
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/auth/customer/register"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"full_name": "b",
"phone": "ngzmiyvdljnikhwa",
"email": "[email protected]",
"password": "architecto",
"accept_terms": true,
"address": {
"line_1": "n",
"line_2": "g",
"city": "z",
"postcode": "miyvdljnikhwaykc"
}
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/auth/customer/login
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/auth/customer/login" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"email\": \"[email protected]\",
\"password\": \"|]|{+-\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/auth/customer/login"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"email": "[email protected]",
"password": "|]|{+-"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/auth/vendor/login
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/auth/vendor/login" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"email\": \"[email protected]\",
\"password\": \"|]|{+-\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/auth/vendor/login"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"email": "[email protected]",
"password": "|]|{+-"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/auth/vendor/individual/register
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/auth/vendor/individual/register" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"full_name\": \"b\",
\"display_name\": \"n\",
\"category\": \"nails\",
\"phone\": \"gzmiyvdljnikhway\",
\"email\": \"[email protected]\",
\"password\": \"architecto\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/auth/vendor/individual/register"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"full_name": "b",
"display_name": "n",
"category": "nails",
"phone": "gzmiyvdljnikhway",
"email": "[email protected]",
"password": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/auth/vendor/business/register
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/auth/vendor/business/register" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"business_name\": \"b\",
\"display_name\": \"n\",
\"category\": \"spa\",
\"business_phone\": \"gzmiyvdljnikhway\",
\"business_email\": \"[email protected]\",
\"registration_number\": \"w\",
\"password\": \"architecto\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/auth/vendor/business/register"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"business_name": "b",
"display_name": "n",
"category": "spa",
"business_phone": "gzmiyvdljnikhway",
"business_email": "[email protected]",
"registration_number": "w",
"password": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/auth/admin/login
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/auth/admin/login" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"email\": \"[email protected]\",
\"password\": \"|]|{+-\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/auth/admin/login"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"email": "[email protected]",
"password": "|]|{+-"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/auth/staff/otp/request
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/auth/staff/otp/request" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"phone\": \"architecto\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/auth/staff/otp/request"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"phone": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/auth/staff/otp/resend
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/auth/staff/otp/resend" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"phone\": \"architecto\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/auth/staff/otp/resend"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"phone": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/auth/staff/otp/verify
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/auth/staff/otp/verify" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"phone\": \"architecto\",
\"otp\": \"569775\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/auth/staff/otp/verify"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"phone": "architecto",
"otp": "569775"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/auth/staff/login
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/auth/staff/login" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"email\": \"[email protected]\",
\"password\": \"|]|{+-\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/auth/staff/login"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"email": "[email protected]",
"password": "|]|{+-"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/auth/password/forgot
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/auth/password/forgot" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"email\": \"[email protected]\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/auth/password/forgot"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"email": "[email protected]"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/auth/password/forgot/resend
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/auth/password/forgot/resend" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"email\": \"[email protected]\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/auth/password/forgot/resend"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"email": "[email protected]"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/auth/password/reset
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/auth/password/reset" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"email\": \"[email protected]\",
\"code\": \"569775\",
\"password\": \"]|{+-0pBNvYg\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/auth/password/reset"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"email": "[email protected]",
"code": "569775",
"password": "]|{+-0pBNvYg"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/auth/social/{provider}
POST api/v1/auth/logout
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/auth/logout" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/auth/logout"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/auth/me
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/auth/me" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/auth/me"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/auth/password/change
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/auth/password/change" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"current_password\": \"architecto\",
\"password\": \"architecto\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/auth/password/change"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"current_password": "architecto",
"password": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/auth/vendor/email/verification/send
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/auth/vendor/email/verification/send" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/auth/vendor/email/verification/send"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/auth/vendor/email/verification/resend
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/auth/vendor/email/verification/resend" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/auth/vendor/email/verification/resend"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/auth/vendor/email/verification/verify
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/auth/vendor/email/verification/verify" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"code\": \"569775\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/auth/vendor/email/verification/verify"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"code": "569775"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/auth/vendor/phone/verification/send
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/auth/vendor/phone/verification/send" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/auth/vendor/phone/verification/send"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/auth/vendor/phone/verification/resend
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/auth/vendor/phone/verification/resend" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/auth/vendor/phone/verification/resend"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/auth/vendor/phone/verification/verify
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/auth/vendor/phone/verification/verify" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"code\": \"569775\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/auth/vendor/phone/verification/verify"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"code": "569775"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/auth/vendor/contact-verification/send
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/auth/vendor/contact-verification/send" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"channel\": \"phone\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/auth/vendor/contact-verification/send"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"channel": "phone"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/auth/vendor/contact-verification/confirm
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/auth/vendor/contact-verification/confirm" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"email_code\": \"bngzmi\",
\"phone_code\": \"yvdljn\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/auth/vendor/contact-verification/confirm"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"email_code": "bngzmi",
"phone_code": "yvdljn"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/auth/2fa/enable
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/auth/2fa/enable" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"channel\": \"phone\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/auth/2fa/enable"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"channel": "phone"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/auth/2fa/resend
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/auth/2fa/resend" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"channel\": \"email\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/auth/2fa/resend"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"channel": "email"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/auth/2fa/verify
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/auth/2fa/verify" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"code\": \"bngzmi\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/auth/2fa/verify"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"code": "bngzmi"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE api/v1/auth/2fa
requires authentication
Example request:
curl --request DELETE \
"https://dev.ravishapp.com/api/v1/auth/2fa" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/auth/2fa"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Public
GET api/v1/public/home
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/public/home" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/public/home"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/public/categories
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/public/categories" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/public/categories"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/public/sections/top-rated
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/public/sections/top-rated" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/public/sections/top-rated"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/public/sections/walk-in-salons
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/public/sections/walk-in-salons" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/public/sections/walk-in-salons"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/public/sections/home-service
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/public/sections/home-service" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/public/sections/home-service"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/public/sections/trending-services
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/public/sections/trending-services" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/public/sections/trending-services"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/public/sections/featured-products
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/public/sections/featured-products" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/public/sections/featured-products"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/public/explore
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/public/explore" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/public/explore"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/public/search
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/public/search" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/public/search"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/public/vendors/individual/{vendor_id}
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/public/vendors/individual/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/public/vendors/individual/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/public/vendors/business/{vendor_id}
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/public/vendors/business/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/public/vendors/business/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/public/vendors/{vendor_id}/services
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/public/vendors/16/services" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/public/vendors/16/services"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/public/vendors/{vendor_id}/availability
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/public/vendors/16/availability" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/public/vendors/16/availability"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/public/vendors/{vendor_id}/reviews
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/public/vendors/16/reviews" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/public/vendors/16/reviews"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/public/shops
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/public/shops" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/public/shops"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/public/shops/{id}
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/public/shops/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/public/shops/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/public/shops/{shop_id}/products
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/public/shops/16/products" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/public/shops/16/products"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/public/products/{id}
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/public/products/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/public/products/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Customer
GET api/v1/customer/wallet
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/customer/wallet" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/customer/wallet"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/customer/wallet/transactions
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/customer/wallet/transactions" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/customer/wallet/transactions"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/customer/wallet/top-up
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/customer/wallet/top-up" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"amount\": 16,
\"pin\": \"ngzm\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/customer/wallet/top-up"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"amount": 16,
"pin": "ngzm"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/customer/wallet/pin
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/customer/wallet/pin" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"pin\": \"bngz\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/customer/wallet/pin"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"pin": "bngz"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/v1/customer/wallet/pin
requires authentication
Example request:
curl --request PUT \
"https://dev.ravishapp.com/api/v1/customer/wallet/pin" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"current_pin\": \"bngz\",
\"new_pin\": \"miyv\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/customer/wallet/pin"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"current_pin": "bngz",
"new_pin": "miyv"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/customer/profile
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/customer/profile" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/customer/profile"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/v1/customer/profile
requires authentication
Example request:
curl --request PUT \
"https://dev.ravishapp.com/api/v1/customer/profile" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"full_name\": \"b\",
\"phone\": \"ngzmiyvdljnikhwa\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/customer/profile"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"full_name": "b",
"phone": "ngzmiyvdljnikhwa"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE api/v1/customer/account
requires authentication
Example request:
curl --request DELETE \
"https://dev.ravishapp.com/api/v1/customer/account" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"password\": \"|]|{+-\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/customer/account"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"password": "|]|{+-"
};
fetch(url, {
method: "DELETE",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/customer/notifications
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/customer/notifications" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/customer/notifications"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/customer/payment-methods
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/customer/payment-methods" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/customer/payment-methods"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/customer/payment-methods
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/customer/payment-methods" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"payment_token\": \"b\",
\"brand\": \"n\",
\"last_four\": \"gzmi\",
\"expires_month\": 1,
\"expires_year\": 1,
\"is_default\": false,
\"provider\": \"d\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/customer/payment-methods"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"payment_token": "b",
"brand": "n",
"last_four": "gzmi",
"expires_month": 1,
"expires_year": 1,
"is_default": false,
"provider": "d"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE api/v1/customer/payment-methods/{paymentMethod_id}
requires authentication
Example request:
curl --request DELETE \
"https://dev.ravishapp.com/api/v1/customer/payment-methods/16" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/customer/payment-methods/16"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/customer/addresses
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/customer/addresses" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/customer/addresses"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/customer/addresses
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/customer/addresses" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"line_1\": \"b\",
\"line_2\": \"n\",
\"city\": \"g\",
\"postcode\": \"zmiyvdljnikhwayk\",
\"is_default\": true
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/customer/addresses"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"line_1": "b",
"line_2": "n",
"city": "g",
"postcode": "zmiyvdljnikhwayk",
"is_default": true
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/customer/addresses/{id}
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/customer/addresses/16" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/customer/addresses/16"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/v1/customer/addresses/{id}
requires authentication
Example request:
curl --request PUT \
"https://dev.ravishapp.com/api/v1/customer/addresses/16" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"line_1\": \"b\",
\"line_2\": \"n\",
\"city\": \"g\",
\"postcode\": \"zmiyvdljnikhwayk\",
\"is_default\": true
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/customer/addresses/16"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"line_1": "b",
"line_2": "n",
"city": "g",
"postcode": "zmiyvdljnikhwayk",
"is_default": true
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE api/v1/customer/addresses/{id}
requires authentication
Example request:
curl --request DELETE \
"https://dev.ravishapp.com/api/v1/customer/addresses/16" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/customer/addresses/16"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/customer/saved-vendors
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/customer/saved-vendors" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/customer/saved-vendors"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/customer/saved-vendors/{vendor_id}
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/customer/saved-vendors/16" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/customer/saved-vendors/16"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE api/v1/customer/saved-vendors/{vendor_id}
requires authentication
Example request:
curl --request DELETE \
"https://dev.ravishapp.com/api/v1/customer/saved-vendors/16" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/customer/saved-vendors/16"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/customer/bookings
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/customer/bookings" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/customer/bookings"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/customer/bookings/{id}
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/customer/bookings/16" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/customer/bookings/16"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/customer/bookings/individual/quote
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/customer/bookings/individual/quote" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"vendor_id\": 16,
\"service_id\": 16,
\"service_type\": \"walk_in\",
\"scheduled_date\": \"2026-06-26T08:51:34\",
\"scheduled_time\": \"08:51\",
\"address_id\": 16
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/customer/bookings/individual/quote"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"vendor_id": 16,
"service_id": 16,
"service_type": "walk_in",
"scheduled_date": "2026-06-26T08:51:34",
"scheduled_time": "08:51",
"address_id": 16
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/customer/bookings/individual
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/customer/bookings/individual" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"vendor_id\": 16,
\"service_id\": 16,
\"service_type\": \"walk_in\",
\"scheduled_date\": \"2052-07-19\",
\"scheduled_time\": \"08:51\",
\"address_id\": 16,
\"notes\": \"n\",
\"payment_method\": \"wallet\",
\"pin\": \"gzmi\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/customer/bookings/individual"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"vendor_id": 16,
"service_id": 16,
"service_type": "walk_in",
"scheduled_date": "2052-07-19",
"scheduled_time": "08:51",
"address_id": 16,
"notes": "n",
"payment_method": "wallet",
"pin": "gzmi"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/customer/bookings/business/quote
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/customer/bookings/business/quote" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"vendor_id\": 16,
\"service_id\": 16,
\"service_size\": \"small\",
\"scheduled_date\": \"2026-06-26T08:51:34\",
\"scheduled_time\": \"08:51\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/customer/bookings/business/quote"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"vendor_id": 16,
"service_id": 16,
"service_size": "small",
"scheduled_date": "2026-06-26T08:51:34",
"scheduled_time": "08:51"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/customer/bookings/business
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/customer/bookings/business" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"vendor_id\": 16,
\"service_id\": 16,
\"service_size\": \"medium\",
\"scheduled_date\": \"2052-07-19\",
\"scheduled_time\": \"08:51\",
\"notes\": \"n\",
\"payment_method\": \"wallet\",
\"pin\": \"gzmi\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/customer/bookings/business"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"vendor_id": 16,
"service_id": 16,
"service_size": "medium",
"scheduled_date": "2052-07-19",
"scheduled_time": "08:51",
"notes": "n",
"payment_method": "wallet",
"pin": "gzmi"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/customer/bookings/{booking_id}/cancel
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/customer/bookings/16/cancel" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"reason\": \"b\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/customer/bookings/16/cancel"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"reason": "b"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/customer/bookings/{booking_id}/review
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/customer/bookings/16/review" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"rating\": 1,
\"comment\": \"n\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/customer/bookings/16/review"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"rating": 1,
"comment": "n"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/customer/cart
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/customer/cart" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/customer/cart"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/customer/cart/items
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/customer/cart/items" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"product_id\": 16,
\"quantity\": 22
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/customer/cart/items"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"product_id": 16,
"quantity": 22
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/v1/customer/cart/items/{id}
requires authentication
Example request:
curl --request PUT \
"https://dev.ravishapp.com/api/v1/customer/cart/items/16" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"quantity\": 1
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/customer/cart/items/16"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"quantity": 1
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE api/v1/customer/cart/items/{id}
requires authentication
Example request:
curl --request DELETE \
"https://dev.ravishapp.com/api/v1/customer/cart/items/16" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/customer/cart/items/16"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/customer/cart/checkout
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/customer/cart/checkout" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"address_id\": 16,
\"payment_method\": \"wallet\",
\"pin\": \"ngzm\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/customer/cart/checkout"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"address_id": 16,
"payment_method": "wallet",
"pin": "ngzm"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/customer/orders
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/customer/orders" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/customer/orders"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/customer/orders/{id}
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/customer/orders/16" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/customer/orders/16"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/customer/orders/{order_id}/tracking
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/customer/orders/16/tracking" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/customer/orders/16/tracking"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/customer/support/tickets
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/customer/support/tickets" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"subject\": \"b\",
\"body\": \"n\",
\"category\": \"g\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/customer/support/tickets"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"subject": "b",
"body": "n",
"category": "g"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/customer/support/tickets
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/customer/support/tickets" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/customer/support/tickets"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/customer/support/tickets/{ticket_id}
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/customer/support/tickets/16" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/customer/support/tickets/16"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Vendor — Individual
POST api/v1/vendor/individual/onboarding/location
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/vendor/individual/onboarding/location" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"city\": \"b\",
\"postcode\": \"ngzmiyvdljnikhwa\",
\"address_line\": \"y\",
\"service_location_type\": \"in_studio_only\",
\"latitude\": -90,
\"longitude\": -180
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/individual/onboarding/location"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"city": "b",
"postcode": "ngzmiyvdljnikhwa",
"address_line": "y",
"service_location_type": "in_studio_only",
"latitude": -90,
"longitude": -180
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/vendor/individual/onboarding/travel-settings
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/vendor/individual/onboarding/travel-settings" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"travel_radius\": 1,
\"travel_radius_unit\": \"miles\",
\"travel_fee_type\": \"tiered\",
\"travel_fee_amount\": 39,
\"travel_fee_tiers\": [
{
\"max_miles\": 67,
\"fee\": 12
}
]
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/individual/onboarding/travel-settings"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"travel_radius": 1,
"travel_radius_unit": "miles",
"travel_fee_type": "tiered",
"travel_fee_amount": 39,
"travel_fee_tiers": [
{
"max_miles": 67,
"fee": 12
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/vendor/individual/onboarding/verification/identity
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/vendor/individual/onboarding/verification/identity" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "document_type=driving_licence"\
--form "id_number=b"\
--form "expiry_date=2052-07-19"\
--form "document=@/private/var/folders/26/k7gyxj9s2j976f6nb1z5dnl80000gn/T/phpu45naaesek650vN283H" const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/individual/onboarding/verification/identity"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('document_type', 'driving_licence');
body.append('id_number', 'b');
body.append('expiry_date', '2052-07-19');
body.append('document', document.querySelector('input[name="document"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/vendor/individual/onboarding/verification/dbs
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/vendor/individual/onboarding/verification/dbs" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "has_dbs=1"\
--form "certificate_number=b"\
--form "dbs_type=basic"\
--form "issue_date=2022-07-20"\
--form "document=@/private/var/folders/26/k7gyxj9s2j976f6nb1z5dnl80000gn/T/phpl322gq093krada5DCER" const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/individual/onboarding/verification/dbs"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('has_dbs', '1');
body.append('certificate_number', 'b');
body.append('dbs_type', 'basic');
body.append('issue_date', '2022-07-20');
body.append('document', document.querySelector('input[name="document"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/vendor/individual/onboarding/profile
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/vendor/individual/onboarding/profile" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "bio=b"\
--form "years_of_experience=22"\
--form "specialties[]=g"\
--form "portfolio[]=@/private/var/folders/26/k7gyxj9s2j976f6nb1z5dnl80000gn/T/phpgn83aj43vbgn3fn5yqp" const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/individual/onboarding/profile"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('bio', 'b');
body.append('years_of_experience', '22');
body.append('specialties[]', 'g');
body.append('portfolio[]', document.querySelector('input[name="portfolio[]"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/vendor/individual/onboarding/financial
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/vendor/individual/onboarding/financial" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"stripe_account_id\": \"b\",
\"transaction_pin\": \"569775\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/individual/onboarding/financial"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"stripe_account_id": "b",
"transaction_pin": "569775"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/vendor/individual/onboarding/status
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/vendor/individual/onboarding/status" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/individual/onboarding/status"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/vendor/individual/dashboard/overview
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/vendor/individual/dashboard/overview" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/individual/dashboard/overview"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/vendor/individual/dashboard/bookings/upcoming
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/vendor/individual/dashboard/bookings/upcoming" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/individual/dashboard/bookings/upcoming"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/vendor/individual/services
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/vendor/individual/services" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/individual/services"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/vendor/individual/services
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/vendor/individual/services" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "description=Eius et animi quos velit et."\
--form "category=v"\
--form "price=42"\
--form "price_small=37"\
--form "price_medium=9"\
--form "price_large=52"\
--form "requires_deposit=1"\
--form "deposit_amount=8"\
--form "service_location_types[]=home_service"\
--form "availability_days[]=0"\
--form "auto_confirm_bookings=1"\
--form "is_active="\
--form "travel_settings[travel_radius]=14"\
--form "travel_settings[travel_radius_unit]=miles"\
--form "travel_settings[travel_fee_type]=tiered"\
--form "travel_settings[travel_fee_amount]=87"\
--form "travel_settings[home_service_enabled]="\
--form "name=a"\
--form "duration_minutes=75"\
--form "availability_schedule[][day]=0"\
--form "availability_schedule[][enabled]=1"\
--form "availability_schedule[][start_time]=08:51"\
--form "availability_schedule[][end_time]=08:51"\
--form "photos[]=@/private/var/folders/26/k7gyxj9s2j976f6nb1z5dnl80000gn/T/phpquu92gvbsoumaDqJfPh" const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/individual/services"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('description', 'Eius et animi quos velit et.');
body.append('category', 'v');
body.append('price', '42');
body.append('price_small', '37');
body.append('price_medium', '9');
body.append('price_large', '52');
body.append('requires_deposit', '1');
body.append('deposit_amount', '8');
body.append('service_location_types[]', 'home_service');
body.append('availability_days[]', '0');
body.append('auto_confirm_bookings', '1');
body.append('is_active', '');
body.append('travel_settings[travel_radius]', '14');
body.append('travel_settings[travel_radius_unit]', 'miles');
body.append('travel_settings[travel_fee_type]', 'tiered');
body.append('travel_settings[travel_fee_amount]', '87');
body.append('travel_settings[home_service_enabled]', '');
body.append('name', 'a');
body.append('duration_minutes', '75');
body.append('availability_schedule[][day]', '0');
body.append('availability_schedule[][enabled]', '1');
body.append('availability_schedule[][start_time]', '08:51');
body.append('availability_schedule[][end_time]', '08:51');
body.append('photos[]', document.querySelector('input[name="photos[]"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/vendor/individual/services/{id}
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/vendor/individual/services/16" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/individual/services/16"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/v1/vendor/individual/services/{id}
requires authentication
Example request:
curl --request PUT \
"https://dev.ravishapp.com/api/v1/vendor/individual/services/16" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "description=Eius et animi quos velit et."\
--form "category=v"\
--form "price=42"\
--form "price_small=37"\
--form "price_medium=9"\
--form "price_large=52"\
--form "requires_deposit=1"\
--form "deposit_amount=8"\
--form "service_location_types[]=in_studio"\
--form "availability_days[]=0"\
--form "auto_confirm_bookings="\
--form "is_active=1"\
--form "travel_settings[travel_radius]=14"\
--form "travel_settings[travel_radius_unit]=miles"\
--form "travel_settings[travel_fee_type]=free_within_radius"\
--form "travel_settings[travel_fee_amount]=87"\
--form "travel_settings[home_service_enabled]="\
--form "name=a"\
--form "duration_minutes=75"\
--form "remove_photo_ids[]=16"\
--form "availability_schedule[][day]=1"\
--form "availability_schedule[][enabled]=1"\
--form "availability_schedule[][start_time]=08:51"\
--form "availability_schedule[][end_time]=08:51"\
--form "photos[]=@/private/var/folders/26/k7gyxj9s2j976f6nb1z5dnl80000gn/T/phpq3ij0crndsjo38pRcjs" const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/individual/services/16"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('description', 'Eius et animi quos velit et.');
body.append('category', 'v');
body.append('price', '42');
body.append('price_small', '37');
body.append('price_medium', '9');
body.append('price_large', '52');
body.append('requires_deposit', '1');
body.append('deposit_amount', '8');
body.append('service_location_types[]', 'in_studio');
body.append('availability_days[]', '0');
body.append('auto_confirm_bookings', '');
body.append('is_active', '1');
body.append('travel_settings[travel_radius]', '14');
body.append('travel_settings[travel_radius_unit]', 'miles');
body.append('travel_settings[travel_fee_type]', 'free_within_radius');
body.append('travel_settings[travel_fee_amount]', '87');
body.append('travel_settings[home_service_enabled]', '');
body.append('name', 'a');
body.append('duration_minutes', '75');
body.append('remove_photo_ids[]', '16');
body.append('availability_schedule[][day]', '1');
body.append('availability_schedule[][enabled]', '1');
body.append('availability_schedule[][start_time]', '08:51');
body.append('availability_schedule[][end_time]', '08:51');
body.append('photos[]', document.querySelector('input[name="photos[]"]').files[0]);
fetch(url, {
method: "PUT",
headers,
body,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE api/v1/vendor/individual/services/{id}
requires authentication
Example request:
curl --request DELETE \
"https://dev.ravishapp.com/api/v1/vendor/individual/services/16" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/individual/services/16"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PATCH api/v1/vendor/individual/services/{service_id}/deactivate
requires authentication
Example request:
curl --request PATCH \
"https://dev.ravishapp.com/api/v1/vendor/individual/services/16/deactivate" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/individual/services/16/deactivate"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PATCH",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/vendor/individual/availability
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/vendor/individual/availability" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/individual/availability"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/vendor/individual/availability
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/vendor/individual/availability" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"day_of_week\": 1,
\"start_time\": \"08:51\",
\"end_time\": \"2052-07-19\",
\"is_recurring\": false,
\"specific_date\": \"2026-06-26T08:51:34\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/individual/availability"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"day_of_week": 1,
"start_time": "08:51",
"end_time": "2052-07-19",
"is_recurring": false,
"specific_date": "2026-06-26T08:51:34"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/v1/vendor/individual/availability/{slot_id}
requires authentication
Example request:
curl --request PUT \
"https://dev.ravishapp.com/api/v1/vendor/individual/availability/16" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"day_of_week\": 1,
\"start_time\": \"08:51\",
\"end_time\": \"08:51\",
\"is_recurring\": false,
\"specific_date\": \"2026-06-26T08:51:34\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/individual/availability/16"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"day_of_week": 1,
"start_time": "08:51",
"end_time": "08:51",
"is_recurring": false,
"specific_date": "2026-06-26T08:51:34"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE api/v1/vendor/individual/availability/{slot_id}
requires authentication
Example request:
curl --request DELETE \
"https://dev.ravishapp.com/api/v1/vendor/individual/availability/16" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/individual/availability/16"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/v1/vendor/individual/booking-settings
requires authentication
Example request:
curl --request PUT \
"https://dev.ravishapp.com/api/v1/vendor/individual/booking-settings" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"auto_confirm_bookings\": true,
\"home_service_enabled\": false
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/individual/booking-settings"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"auto_confirm_bookings": true,
"home_service_enabled": false
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/vendor/individual/travel-settings
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/vendor/individual/travel-settings" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/individual/travel-settings"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/v1/vendor/individual/travel-settings
requires authentication
Example request:
curl --request PUT \
"https://dev.ravishapp.com/api/v1/vendor/individual/travel-settings" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"travel_radius\": 1,
\"travel_radius_unit\": \"km\",
\"travel_fee_type\": \"free_within_radius\",
\"travel_fee_amount\": 39,
\"home_service_enabled\": true
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/individual/travel-settings"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"travel_radius": 1,
"travel_radius_unit": "km",
"travel_fee_type": "free_within_radius",
"travel_fee_amount": 39,
"home_service_enabled": true
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/vendor/individual/bookings
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/vendor/individual/bookings" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/individual/bookings"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/vendor/individual/bookings/{id}
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/vendor/individual/bookings/16" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/individual/bookings/16"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/vendor/individual/bookings/{booking_id}/accept
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/vendor/individual/bookings/16/accept" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/individual/bookings/16/accept"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/vendor/individual/bookings/{booking_id}/reject
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/vendor/individual/bookings/16/reject" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/individual/bookings/16/reject"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/vendor/individual/bookings/{booking_id}/complete
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/vendor/individual/bookings/16/complete" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/individual/bookings/16/complete"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/vendor/individual/verification
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/vendor/individual/verification" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/individual/verification"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/vendor/individual/wallet
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/vendor/individual/wallet" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/individual/wallet"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/vendor/individual/wallet/transactions
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/vendor/individual/wallet/transactions" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/individual/wallet/transactions"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/vendor/individual/wallet/withdraw
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/vendor/individual/wallet/withdraw" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"amount\": 16
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/individual/wallet/withdraw"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"amount": 16
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/vendor/individual/reviews
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/vendor/individual/reviews" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/individual/reviews"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/vendor/individual/reviews/{review_id}/respond
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/vendor/individual/reviews/16/respond" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"response\": \"b\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/individual/reviews/16/respond"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"response": "b"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/vendor/individual/profile
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/vendor/individual/profile" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/individual/profile"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/v1/vendor/individual/profile
requires authentication
Example request:
curl --request PUT \
"https://dev.ravishapp.com/api/v1/vendor/individual/profile" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"display_name\": \"b\",
\"bio\": \"n\",
\"phone\": \"g\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/individual/profile"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"display_name": "b",
"bio": "n",
"phone": "g"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/vendor/individual/profile/share
requires authentication
GET api/v1/vendor/individual/calendar/blocked-days
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/vendor/individual/calendar/blocked-days" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/individual/calendar/blocked-days"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/vendor/individual/calendar/blocked-days
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/vendor/individual/calendar/blocked-days" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"date\": \"2026-06-26T08:51:34\",
\"reason\": \"b\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/individual/calendar/blocked-days"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"date": "2026-06-26T08:51:34",
"reason": "b"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE api/v1/vendor/individual/calendar/blocked-days/{blockedDay_id}
requires authentication
Example request:
curl --request DELETE \
"https://dev.ravishapp.com/api/v1/vendor/individual/calendar/blocked-days/16" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/individual/calendar/blocked-days/16"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/vendor/individual/services/{service_id}/booking-link
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/vendor/individual/services/16/booking-link" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/individual/services/16/booking-link"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/vendor/individual/wallet/payout-schedule
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/vendor/individual/wallet/payout-schedule" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/individual/wallet/payout-schedule"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/v1/vendor/individual/wallet/payout-schedule
requires authentication
Example request:
curl --request PUT \
"https://dev.ravishapp.com/api/v1/vendor/individual/wallet/payout-schedule" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"frequency\": \"daily\",
\"minimum_threshold\": 27
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/individual/wallet/payout-schedule"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"frequency": "daily",
"minimum_threshold": 27
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Vendor — Business
POST api/v1/vendor/business/onboarding/location
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/vendor/business/onboarding/location" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"city\": \"b\",
\"postcode\": \"ngzmiyvdljnikhwa\",
\"address_line\": \"y\",
\"service_location_type\": \"both\",
\"latitude\": -90,
\"longitude\": -180
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/business/onboarding/location"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"city": "b",
"postcode": "ngzmiyvdljnikhwa",
"address_line": "y",
"service_location_type": "both",
"latitude": -90,
"longitude": -180
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/vendor/business/onboarding/travel-settings
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/vendor/business/onboarding/travel-settings" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"travel_radius\": 1,
\"travel_radius_unit\": \"miles\",
\"travel_fee_type\": \"tiered\",
\"travel_fee_amount\": 39,
\"travel_fee_tiers\": [
{
\"max_miles\": 67,
\"fee\": 12
}
]
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/business/onboarding/travel-settings"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"travel_radius": 1,
"travel_radius_unit": "miles",
"travel_fee_type": "tiered",
"travel_fee_amount": 39,
"travel_fee_tiers": [
{
"max_miles": 67,
"fee": 12
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/vendor/business/onboarding/verification/identity
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/vendor/business/onboarding/verification/identity" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "document_type=passport"\
--form "id_number=b"\
--form "expiry_date=2052-07-19"\
--form "document=@/private/var/folders/26/k7gyxj9s2j976f6nb1z5dnl80000gn/T/phpoc7h1trmdbld8QTJkVX" const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/business/onboarding/verification/identity"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('document_type', 'passport');
body.append('id_number', 'b');
body.append('expiry_date', '2052-07-19');
body.append('document', document.querySelector('input[name="document"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/vendor/business/onboarding/verification/dbs
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/vendor/business/onboarding/verification/dbs" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "has_dbs="\
--form "certificate_number=b"\
--form "dbs_type=basic"\
--form "issue_date=2022-07-20"\
--form "document=@/private/var/folders/26/k7gyxj9s2j976f6nb1z5dnl80000gn/T/phpmkele7iq622p2w5u8mb" const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/business/onboarding/verification/dbs"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('has_dbs', '');
body.append('certificate_number', 'b');
body.append('dbs_type', 'basic');
body.append('issue_date', '2022-07-20');
body.append('document', document.querySelector('input[name="document"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/vendor/business/onboarding/profile
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/vendor/business/onboarding/profile" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "bio=b"\
--form "years_of_experience=22"\
--form "specialties[]=g"\
--form "photo=@/private/var/folders/26/k7gyxj9s2j976f6nb1z5dnl80000gn/T/php9euld28g04j1aWqY6t5" \
--form "portfolio[]=@/private/var/folders/26/k7gyxj9s2j976f6nb1z5dnl80000gn/T/php2jh8ujgd12ec4WBYV9J" const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/business/onboarding/profile"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('bio', 'b');
body.append('years_of_experience', '22');
body.append('specialties[]', 'g');
body.append('photo', document.querySelector('input[name="photo"]').files[0]);
body.append('portfolio[]', document.querySelector('input[name="portfolio[]"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/vendor/business/onboarding/financial
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/vendor/business/onboarding/financial" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"stripe_account_id\": \"b\",
\"transaction_pin\": \"569775\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/business/onboarding/financial"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"stripe_account_id": "b",
"transaction_pin": "569775"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/vendor/business/onboarding/status
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/vendor/business/onboarding/status" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/business/onboarding/status"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/vendor/business/dashboard/overview
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/vendor/business/dashboard/overview" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/business/dashboard/overview"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/vendor/business/staff
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/vendor/business/staff" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/business/staff"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/vendor/business/staff
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/vendor/business/staff" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"b\",
\"phone\": \"n\",
\"email\": \"[email protected]\",
\"bio\": \"v\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/business/staff"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "b",
"phone": "n",
"email": "[email protected]",
"bio": "v"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/vendor/business/staff/{id}
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/vendor/business/staff/16" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/business/staff/16"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/v1/vendor/business/staff/{id}
requires authentication
Example request:
curl --request PUT \
"https://dev.ravishapp.com/api/v1/vendor/business/staff/16" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"b\",
\"phone\": \"n\",
\"email\": \"[email protected]\",
\"bio\": \"v\",
\"is_active\": false
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/business/staff/16"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "b",
"phone": "n",
"email": "[email protected]",
"bio": "v",
"is_active": false
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE api/v1/vendor/business/staff/{id}
requires authentication
Example request:
curl --request DELETE \
"https://dev.ravishapp.com/api/v1/vendor/business/staff/16" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/business/staff/16"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/vendor/business/staff/{staff_id}/services
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/vendor/business/staff/16/services" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"service_ids\": [
16
]
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/business/staff/16/services"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"service_ids": [
16
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/vendor/business/staff/{staff_id}/availability
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/vendor/business/staff/16/availability" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/business/staff/16/availability"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/v1/vendor/business/staff/{staff_id}/availability
requires authentication
Example request:
curl --request PUT \
"https://dev.ravishapp.com/api/v1/vendor/business/staff/16/availability" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"slots\": [
{
\"day_of_week\": 1,
\"start_time\": \"08:51\",
\"end_time\": \"08:51\"
}
]
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/business/staff/16/availability"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"slots": [
{
"day_of_week": 1,
"start_time": "08:51",
"end_time": "08:51"
}
]
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/vendor/business/staff/{staff_id}/performance
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/vendor/business/staff/16/performance" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/business/staff/16/performance"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/vendor/business/services
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/vendor/business/services" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/business/services"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/vendor/business/services
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/vendor/business/services" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "description=Eius et animi quos velit et."\
--form "category=v"\
--form "price=42"\
--form "price_small=37"\
--form "price_medium=9"\
--form "price_large=52"\
--form "requires_deposit="\
--form "deposit_amount=8"\
--form "service_location_types[]=in_studio"\
--form "availability_days[]=0"\
--form "auto_confirm_bookings="\
--form "is_active=1"\
--form "travel_settings[travel_radius]=14"\
--form "travel_settings[travel_radius_unit]=miles"\
--form "travel_settings[travel_fee_type]=free_within_radius"\
--form "travel_settings[travel_fee_amount]=87"\
--form "travel_settings[home_service_enabled]="\
--form "name=a"\
--form "duration_minutes=75"\
--form "availability_schedule[][day]=0"\
--form "availability_schedule[][enabled]="\
--form "availability_schedule[][start_time]=08:51"\
--form "availability_schedule[][end_time]=08:51"\
--form "photos[]=@/private/var/folders/26/k7gyxj9s2j976f6nb1z5dnl80000gn/T/php9kn9jf4h70ev6hBpePz" const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/business/services"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('description', 'Eius et animi quos velit et.');
body.append('category', 'v');
body.append('price', '42');
body.append('price_small', '37');
body.append('price_medium', '9');
body.append('price_large', '52');
body.append('requires_deposit', '');
body.append('deposit_amount', '8');
body.append('service_location_types[]', 'in_studio');
body.append('availability_days[]', '0');
body.append('auto_confirm_bookings', '');
body.append('is_active', '1');
body.append('travel_settings[travel_radius]', '14');
body.append('travel_settings[travel_radius_unit]', 'miles');
body.append('travel_settings[travel_fee_type]', 'free_within_radius');
body.append('travel_settings[travel_fee_amount]', '87');
body.append('travel_settings[home_service_enabled]', '');
body.append('name', 'a');
body.append('duration_minutes', '75');
body.append('availability_schedule[][day]', '0');
body.append('availability_schedule[][enabled]', '');
body.append('availability_schedule[][start_time]', '08:51');
body.append('availability_schedule[][end_time]', '08:51');
body.append('photos[]', document.querySelector('input[name="photos[]"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/vendor/business/services/{id}
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/vendor/business/services/16" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/business/services/16"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/v1/vendor/business/services/{id}
requires authentication
Example request:
curl --request PUT \
"https://dev.ravishapp.com/api/v1/vendor/business/services/16" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "description=Eius et animi quos velit et."\
--form "category=v"\
--form "price=42"\
--form "price_small=37"\
--form "price_medium=9"\
--form "price_large=52"\
--form "requires_deposit=1"\
--form "deposit_amount=8"\
--form "service_location_types[]=in_studio"\
--form "availability_days[]=0"\
--form "auto_confirm_bookings=1"\
--form "is_active="\
--form "travel_settings[travel_radius]=14"\
--form "travel_settings[travel_radius_unit]=km"\
--form "travel_settings[travel_fee_type]=free_within_radius"\
--form "travel_settings[travel_fee_amount]=87"\
--form "travel_settings[home_service_enabled]="\
--form "name=a"\
--form "duration_minutes=75"\
--form "remove_photo_ids[]=16"\
--form "availability_schedule[][day]=1"\
--form "availability_schedule[][enabled]="\
--form "availability_schedule[][start_time]=08:51"\
--form "availability_schedule[][end_time]=08:51"\
--form "photos[]=@/private/var/folders/26/k7gyxj9s2j976f6nb1z5dnl80000gn/T/php15g5if1nmn3p0oduvPc" const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/business/services/16"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('description', 'Eius et animi quos velit et.');
body.append('category', 'v');
body.append('price', '42');
body.append('price_small', '37');
body.append('price_medium', '9');
body.append('price_large', '52');
body.append('requires_deposit', '1');
body.append('deposit_amount', '8');
body.append('service_location_types[]', 'in_studio');
body.append('availability_days[]', '0');
body.append('auto_confirm_bookings', '1');
body.append('is_active', '');
body.append('travel_settings[travel_radius]', '14');
body.append('travel_settings[travel_radius_unit]', 'km');
body.append('travel_settings[travel_fee_type]', 'free_within_radius');
body.append('travel_settings[travel_fee_amount]', '87');
body.append('travel_settings[home_service_enabled]', '');
body.append('name', 'a');
body.append('duration_minutes', '75');
body.append('remove_photo_ids[]', '16');
body.append('availability_schedule[][day]', '1');
body.append('availability_schedule[][enabled]', '');
body.append('availability_schedule[][start_time]', '08:51');
body.append('availability_schedule[][end_time]', '08:51');
body.append('photos[]', document.querySelector('input[name="photos[]"]').files[0]);
fetch(url, {
method: "PUT",
headers,
body,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE api/v1/vendor/business/services/{id}
requires authentication
Example request:
curl --request DELETE \
"https://dev.ravishapp.com/api/v1/vendor/business/services/16" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/business/services/16"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PATCH api/v1/vendor/business/services/{service_id}/deactivate
requires authentication
Example request:
curl --request PATCH \
"https://dev.ravishapp.com/api/v1/vendor/business/services/16/deactivate" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/business/services/16/deactivate"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PATCH",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/vendor/business/availability
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/vendor/business/availability" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/business/availability"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/vendor/business/availability
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/vendor/business/availability" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"day_of_week\": 1,
\"start_time\": \"08:51\",
\"end_time\": \"2052-07-19\",
\"is_recurring\": false,
\"specific_date\": \"2026-06-26T08:51:34\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/business/availability"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"day_of_week": 1,
"start_time": "08:51",
"end_time": "2052-07-19",
"is_recurring": false,
"specific_date": "2026-06-26T08:51:34"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/v1/vendor/business/availability/{slot_id}
requires authentication
Example request:
curl --request PUT \
"https://dev.ravishapp.com/api/v1/vendor/business/availability/16" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"day_of_week\": 1,
\"start_time\": \"08:51\",
\"end_time\": \"08:51\",
\"is_recurring\": false,
\"specific_date\": \"2026-06-26T08:51:34\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/business/availability/16"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"day_of_week": 1,
"start_time": "08:51",
"end_time": "08:51",
"is_recurring": false,
"specific_date": "2026-06-26T08:51:34"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE api/v1/vendor/business/availability/{slot_id}
requires authentication
Example request:
curl --request DELETE \
"https://dev.ravishapp.com/api/v1/vendor/business/availability/16" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/business/availability/16"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/v1/vendor/business/booking-settings
requires authentication
Example request:
curl --request PUT \
"https://dev.ravishapp.com/api/v1/vendor/business/booking-settings" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"auto_confirm_bookings\": false,
\"home_service_enabled\": false
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/business/booking-settings"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"auto_confirm_bookings": false,
"home_service_enabled": false
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/vendor/business/bookings
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/vendor/business/bookings" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/business/bookings"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/vendor/business/bookings/{id}
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/vendor/business/bookings/16" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/business/bookings/16"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/vendor/business/bookings/{booking_id}/assign-staff
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/vendor/business/bookings/16/assign-staff" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"staff_id\": 16
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/business/bookings/16/assign-staff"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"staff_id": 16
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/vendor/business/codes/verify
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/vendor/business/codes/verify" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"code\": \"architecto\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/business/codes/verify"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"code": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/vendor/business/codes/logs
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/vendor/business/codes/logs" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/business/codes/logs"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/vendor/business/reviews
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/vendor/business/reviews" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/business/reviews"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/vendor/business/reviews/{review_id}/respond
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/vendor/business/reviews/16/respond" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"response\": \"b\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/business/reviews/16/respond"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"response": "b"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/vendor/business/wallet
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/vendor/business/wallet" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/business/wallet"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/vendor/business/wallet/transactions
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/vendor/business/wallet/transactions" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/business/wallet/transactions"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/vendor/business/wallet/withdraw
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/vendor/business/wallet/withdraw" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"amount\": 16
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/business/wallet/withdraw"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"amount": 16
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/vendor/business/settings
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/vendor/business/settings" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/business/settings"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/v1/vendor/business/settings
requires authentication
Example request:
curl --request PUT \
"https://dev.ravishapp.com/api/v1/vendor/business/settings" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"business_name\": \"b\",
\"display_name\": \"n\",
\"description\": \"Eius et animi quos velit et.\",
\"service_location_type\": \"architecto\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/business/settings"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"business_name": "b",
"display_name": "n",
"description": "Eius et animi quos velit et.",
"service_location_type": "architecto"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/v1/vendor/business/policies
requires authentication
Example request:
curl --request PUT \
"https://dev.ravishapp.com/api/v1/vendor/business/policies" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"cancellation_policy\": \"architecto\",
\"late_policy\": \"architecto\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/business/policies"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"cancellation_policy": "architecto",
"late_policy": "architecto"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/vendor/business/profile/share
requires authentication
GET api/v1/vendor/business/calendar/blocked-days
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/vendor/business/calendar/blocked-days" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/business/calendar/blocked-days"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/vendor/business/calendar/blocked-days
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/vendor/business/calendar/blocked-days" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"date\": \"2026-06-26T08:51:34\",
\"reason\": \"b\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/business/calendar/blocked-days"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"date": "2026-06-26T08:51:34",
"reason": "b"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE api/v1/vendor/business/calendar/blocked-days/{blockedDay_id}
requires authentication
Example request:
curl --request DELETE \
"https://dev.ravishapp.com/api/v1/vendor/business/calendar/blocked-days/16" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/business/calendar/blocked-days/16"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/vendor/business/services/{service_id}/booking-link
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/vendor/business/services/16/booking-link" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/business/services/16/booking-link"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/vendor/business/wallet/payout-schedule
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/vendor/business/wallet/payout-schedule" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/business/wallet/payout-schedule"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/v1/vendor/business/wallet/payout-schedule
requires authentication
Example request:
curl --request PUT \
"https://dev.ravishapp.com/api/v1/vendor/business/wallet/payout-schedule" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"frequency\": \"weekly\",
\"minimum_threshold\": 27
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/business/wallet/payout-schedule"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"frequency": "weekly",
"minimum_threshold": 27
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/vendor/business/staff/{staff_id}/activity-log
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/vendor/business/staff/16/activity-log" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/business/staff/16/activity-log"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Vendor — Shop
POST api/v1/vendor/shop/activate
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/vendor/shop/activate" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/shop/activate"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/vendor/shop/deactivate
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/vendor/shop/deactivate" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/shop/deactivate"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/vendor/shop/products
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/vendor/shop/products" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/shop/products"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/vendor/shop/products
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/vendor/shop/products" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"b\",
\"category\": \"n\",
\"description\": \"Eius et animi quos velit et.\",
\"price\": 60,
\"stock_quantity\": 42,
\"shipping_fee\": 37
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/shop/products"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "b",
"category": "n",
"description": "Eius et animi quos velit et.",
"price": 60,
"stock_quantity": 42,
"shipping_fee": 37
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/vendor/shop/products/{id}
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/vendor/shop/products/16" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/shop/products/16"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/v1/vendor/shop/products/{id}
requires authentication
Example request:
curl --request PUT \
"https://dev.ravishapp.com/api/v1/vendor/shop/products/16" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"b\",
\"category\": \"n\",
\"description\": \"Eius et animi quos velit et.\",
\"price\": 60,
\"shipping_fee\": 42,
\"is_active\": true
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/shop/products/16"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "b",
"category": "n",
"description": "Eius et animi quos velit et.",
"price": 60,
"shipping_fee": 42,
"is_active": true
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE api/v1/vendor/shop/products/{id}
requires authentication
Example request:
curl --request DELETE \
"https://dev.ravishapp.com/api/v1/vendor/shop/products/16" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/shop/products/16"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/v1/vendor/shop/products/{product_id}/stock
requires authentication
Example request:
curl --request PUT \
"https://dev.ravishapp.com/api/v1/vendor/shop/products/16/stock" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"stock_quantity\": 27
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/shop/products/16/stock"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"stock_quantity": 27
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/vendor/shop/orders
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/vendor/shop/orders" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/shop/orders"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/vendor/shop/orders/{id}
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/vendor/shop/orders/16" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/shop/orders/16"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/v1/vendor/shop/orders/{order_id}/status
requires authentication
Example request:
curl --request PUT \
"https://dev.ravishapp.com/api/v1/vendor/shop/orders/16/status" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"status\": \"processing\",
\"tracking_number\": \"b\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/shop/orders/16/status"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"status": "processing",
"tracking_number": "b"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/vendor/shop/revenue
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/vendor/shop/revenue" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/shop/revenue"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/vendor/shop/payouts
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/vendor/shop/payouts" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/shop/payouts"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Vendor — Shared
GET api/v1/vendor/notifications
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/vendor/notifications" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/notifications"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/v1/vendor/notifications/{notification_id}/read
requires authentication
Example request:
curl --request PUT \
"https://dev.ravishapp.com/api/v1/vendor/notifications/16/read" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/notifications/16/read"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PUT",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/v1/vendor/notifications/read-all
requires authentication
Example request:
curl --request PUT \
"https://dev.ravishapp.com/api/v1/vendor/notifications/read-all" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/notifications/read-all"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PUT",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/vendor/notification-preferences
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/vendor/notification-preferences" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/notification-preferences"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/v1/vendor/notification-preferences
requires authentication
Example request:
curl --request PUT \
"https://dev.ravishapp.com/api/v1/vendor/notification-preferences" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"email_bookings\": true,
\"email_reviews\": true,
\"email_payouts\": false,
\"email_shop_orders\": true,
\"email_staff_activity\": true
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/notification-preferences"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"email_bookings": true,
"email_reviews": true,
"email_payouts": false,
"email_shop_orders": true,
"email_staff_activity": true
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/vendor/help
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/vendor/help" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/help"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/vendor/support/tickets
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/vendor/support/tickets" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"subject\": \"b\",
\"message\": \"architecto\",
\"category\": \"n\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/support/tickets"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"subject": "b",
"message": "architecto",
"category": "n"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/vendor/security/sessions
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/vendor/security/sessions" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/security/sessions"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/vendor/shop
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/vendor/shop" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/shop"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/vendor/shop
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/vendor/shop" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"b\",
\"description\": \"Eius et animi quos velit et.\",
\"checkout_policy\": \"architecto\",
\"order_cutoff_time\": \"08:51\",
\"free_delivery_threshold\": 39
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/shop"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "b",
"description": "Eius et animi quos velit et.",
"checkout_policy": "architecto",
"order_cutoff_time": "08:51",
"free_delivery_threshold": 39
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/v1/vendor/shop
requires authentication
Example request:
curl --request PUT \
"https://dev.ravishapp.com/api/v1/vendor/shop" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"b\",
\"description\": \"Eius et animi quos velit et.\",
\"checkout_policy\": \"architecto\",
\"return_policy\": \"architecto\",
\"order_cutoff_time\": \"08:51\",
\"free_delivery_threshold\": 39
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/vendor/shop"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "b",
"description": "Eius et animi quos velit et.",
"checkout_policy": "architecto",
"return_policy": "architecto",
"order_cutoff_time": "08:51",
"free_delivery_threshold": 39
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Staff
GET api/v1/staff/profile
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/staff/profile" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/staff/profile"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/v1/staff/profile
requires authentication
Example request:
curl --request PUT \
"https://dev.ravishapp.com/api/v1/staff/profile" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"b\",
\"phone\": \"n\",
\"bio\": \"g\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/staff/profile"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "b",
"phone": "n",
"bio": "g"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/staff/availability
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/staff/availability" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/staff/availability"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/v1/staff/availability
requires authentication
Example request:
curl --request PUT \
"https://dev.ravishapp.com/api/v1/staff/availability" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"slots\": [
{
\"day_of_week\": 1,
\"start_time\": \"08:51\",
\"end_time\": \"08:51\"
}
]
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/staff/availability"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"slots": [
{
"day_of_week": 1,
"start_time": "08:51",
"end_time": "08:51"
}
]
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/staff/calendar/blocked-days
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/staff/calendar/blocked-days" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"date\": \"2026-06-26T08:51:34\",
\"reason\": \"b\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/staff/calendar/blocked-days"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"date": "2026-06-26T08:51:34",
"reason": "b"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/staff/notification-preferences
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/staff/notification-preferences" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/staff/notification-preferences"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/v1/staff/notification-preferences
requires authentication
Example request:
curl --request PUT \
"https://dev.ravishapp.com/api/v1/staff/notification-preferences" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"email_bookings\": false,
\"email_reviews\": false,
\"email_payouts\": true,
\"email_shop_orders\": true,
\"email_staff_activity\": false
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/staff/notification-preferences"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"email_bookings": false,
"email_reviews": false,
"email_payouts": true,
"email_shop_orders": true,
"email_staff_activity": false
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/staff/bookings
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/staff/bookings" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/staff/bookings"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/staff/bookings/{id}
requires authentication
Example request:
curl --request GET \
--get "https://dev.ravishapp.com/api/v1/staff/bookings/16" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://dev.ravishapp.com/api/v1/staff/bookings/16"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/staff/codes/verify
requires authentication
Example request:
curl --request POST \
"https://dev.ravishapp.com/api/v1/staff/codes/verify" \
--header "Authorization: Bearer {YOUR_SANCTUM_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"code\": \"architecto\"
}"
const url = new URL(
"https://dev.ravishapp.com/api/v1/staff/codes/verify"
);
const headers = {
"Authorization": "Bearer {YOUR_SANCTUM_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"code": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.