Introduction
This documentation aims to provide all the information you need to work with our API.
Authenticating requests
This API is not authenticated.
Admin Controller End_points
APIs for the Orders
logs out an administrator account
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/logoutadmin" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/logoutadmin"
);
const headers = {
"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.
Checks if an administrator account has a valid session
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/checkauthadmin" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/checkauthadmin"
);
const headers = {
"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.
Authenticates the administrator
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/adminAuth" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"email\": \"amy23@example.com\",
\"password\": \"xh?5o|cz9\"
}"
const url = new URL(
"https://dev.yaita.co.zw/public/adminAuth"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"email": "amy23@example.com",
"password": "xh?5o|cz9"
};
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.
Creates an administrator account
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/admin" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"email\": \"samantha79@example.org\",
\"password\": \"wYvn1Sx;GNT6&sqp8lg}\",
\"name\": \"et\"
}"
const url = new URL(
"https://dev.yaita.co.zw/public/admin"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"email": "samantha79@example.org",
"password": "wYvn1Sx;GNT6&sqp8lg}",
"name": "et"
};
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.
Consolidation Controller End_points
APIs for the Order Consolidation
Create a new Consolidation requires admin authentication
requires authentication
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/consolidation" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"labore\"
}"
const url = new URL(
"https://dev.yaita.co.zw/public/consolidation"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "labore"
};
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.
Create a new Consolidation Requires administrator authentication
requires authentication
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/consolidation/order" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"consolidation\": 6,
\"order\": 14
}"
const url = new URL(
"https://dev.yaita.co.zw/public/consolidation/order"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"consolidation": 6,
"order": 14
};
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 all Consolidation and the orders consolidation Requires administrator authentication
requires authentication
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/consolidations" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/consolidations"
);
const headers = {
"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 Consolidation and the orders consolidation Requires administrator authentication
requires authentication
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/consolidation/orders" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"consolidation\": 14
}"
const url = new URL(
"https://dev.yaita.co.zw/public/consolidation/orders"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"consolidation": 14
};
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.
Endpoints
Return an empty response simply to trigger the storage of the CSRF cookie in the browser.
GET api/user
Example request:
curl --request GET \
--get "https://dev.yaita.co.zw/public/api/user" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/api/user"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
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 /
Example request:
curl --request GET \
--get "https://dev.yaita.co.zw/public/" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (500):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
set-cookie: XSRF-TOKEN=eyJpdiI6IlNOdGIrSEdHZjZTaVUrLzZXR1FtbWc9PSIsInZhbHVlIjoiU2tScFZwaFBlbExNbUlOd21YYjluYlBBMkVZOHBUdVNwQzc3TTlhNnF4Rlk2bk1TVFlRUnRuWWxGZUV3eVhZZ0lLS2hMMC9zbTg3bk9sRkpiYzVCdGxvZGszUktHcWZlVGZZSDMrTlNzMUVLOTdlWEtxRVlGRWd4cEhaUmt4d2kiLCJtYWMiOiJhNGI2NzM2ZTc3OTM0ZDdiZjFlYTA5ZmUzYzkyNzdlN2E5MzU5NDZmN2ExNmZlY2IwOGMwZWVhOTk1ZTZiMGMwIiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; samesite=lax; laravel_session=eyJpdiI6IlZjRjdvd1pxdFlrOXVKWTB1M3BYb0E9PSIsInZhbHVlIjoiQndkb3poQVlSMSt2aC8reDZJQ1FJTDdZdGRPdWFSUDREdzl1R2Q4QzB4YVNndGFXeDdsWEJhU0E3dlpBNUY5V1NJRmJaWWlwMmdIL1drWHRNbEQ2Z204enk2M2xqM2QwYUhGTER3NGpCRkk1YUovQkZaMlloaTNjd0hVQitXVm4iLCJtYWMiOiI3MzliMDUwZTZhZjQyODUxMGRlNTYwZDBkNmNhMzQ2MzBiN2VhNzBlYTA5ZTlhZWVjN2I3YzVhODRkZmVkMjQyIiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; httponly; samesite=lax
{
"message": "Server Error"
}
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.
Display a listing of the resource.
Example request:
curl --request GET \
--get "https://dev.yaita.co.zw/public/orderitem" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/orderitem"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (500):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
set-cookie: XSRF-TOKEN=eyJpdiI6IjhWZldQZUFnQVh0RURtN2VvZUhJUXc9PSIsInZhbHVlIjoiVmNESG9LQzI3Ym54RnRONFVaUno2RmFkMW1HcW9aMlc5VWluQSsvY0dpZDFXeDFjckhlc3VwMDdyVkdiTm5PMlZiQmxPdTN2S3RkV2FRU2ZHaGcrUW5wK1FCOXZzbUwrMmVOM0EyOGhuWDRLRTN4YWQ1bTREVmd3VTE2MXd4VHoiLCJtYWMiOiIzNmQwZmUyYzliMGExMzVhZTgyYmJjMzNkMGYzNGI0Njk4NDA4MGY0YzM5MzBiZTlkMjAxMTNkMjBmOTcwYWQyIiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; samesite=lax; laravel_session=eyJpdiI6ImxreHdzR0hMTmJTcFNlWEJWZzkyV3c9PSIsInZhbHVlIjoiaW9LblYwZEJaU2ZWTms0OUZOa1JsNmhTaENReUhOVXB5UnIrdEJGOVA4ZFg0TWpyakFIY2k0T2ZqaGlVY0gybnhwNXJCNXoyMVROTTBWdXlqbEZLS09tQVJrNE5WdTFibG1qS2cwVDBXY2diS2Y5aFhVaVg3V2J4VXkrQVZOTksiLCJtYWMiOiI3N2IyMzM2OGY1MWM5YmY1ODlhMzNmYTUwNDVmZDhjZGEwY2Y3NDkyZDA2ZGY1MDZkYWIyOWYxZTZmNGEwYmEwIiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; httponly; samesite=lax
{
"message": "Server Error"
}
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.
Show the form for creating a new resource.
Example request:
curl --request GET \
--get "https://dev.yaita.co.zw/public/orderitem/create" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/orderitem/create"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (200):
Show headers
content-type: text/html; charset=UTF-8
cache-control: no-cache, private
access-control-allow-origin: *
set-cookie: XSRF-TOKEN=eyJpdiI6ImpNYjBmYktWenBKWTRWeGdxR0lhSHc9PSIsInZhbHVlIjoidStEWC95OHprWlFsOXdDdTl5OXBFMkRsVlRocm9XY2liZWFMdm9Cc0FRaWRyYytoRzE1R2dHSlBCNHFHWmswTFZCTmhKbTBndWhBc0pCcDdDSlZKcTR4dkhZL1FHckpQU3IwOHI5djdmcTFLd0MyWVNNQXI5UU9RamFobDY3WksiLCJtYWMiOiI3OTQyOTY0Y2JkMmI0ZThmZGIxZGI0MDkxY2E5ZTc3NGYwZGM0NzQ0YmJkNTY2ODY2ZDdhMDg1M2UwZmY1MjFjIiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; samesite=lax; laravel_session=eyJpdiI6Imo4M29GOTkyYzFtaWtIUGVINHU0WVE9PSIsInZhbHVlIjoidVFRQ1dQalk1T3Y5Vi9QZnJIdjI3OUdOaDl6ampZcFRoWmZVSkMvVGM1Vm1STHh4bjFCZGR3aEVndFF4eld3RVlGMHM0YTFWdGlTenllWHBZT2NtWHFJOGRaeUZMcFd3L2VmczRReGVOcEhiUTllRTZBWjVCaEJDVFJhZ1lORnUiLCJtYWMiOiI2MzZjM2M0M2YwNjZjYjY2MWY2NGYwY2Q5ZDgxZGE0ODM4ODkzNTBkODFiYWNkMmI3NjI3ZWM2YzU5NTU4NTJjIiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; httponly; samesite=lax
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.
Store a newly created resource in storage.
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/orderitem" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/orderitem"
);
const headers = {
"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.
Display the specified resource.
Example request:
curl --request GET \
--get "https://dev.yaita.co.zw/public/orderitem/non" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/orderitem/non"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (500):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
set-cookie: XSRF-TOKEN=eyJpdiI6InM4UFpnM3gxakpDSFBoNHVnOWkyaXc9PSIsInZhbHVlIjoiSEplNkl2Nm1FVktFek1TS3Y2OTJacTNnSS9Hc2lxNzRTWDNQdkFnY1IzVGEzaU9lSXJnT2tMY1A4ZDZxN1d2QlhSYXVhK3J5NXplc0ZoRDVubmdNcmVJa2JCVHpqZ3FxQTBDOHM1aDRHYnd4cW5KY081VVNDWmpTQUxRNnlCTFIiLCJtYWMiOiIzNjMxY2UyN2Y1NjEzNjIxNjZiMTU0MjJmZmNjNjUwNTJhNjdiNzZjNzdmODQ0MjlkM2FmMDQ2ZjlhMWQxZTFjIiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; samesite=lax; laravel_session=eyJpdiI6IkFlc1lSRm1JS1FWTWNZRHFSOURlelE9PSIsInZhbHVlIjoiQmVWUVVScjZKMXVUZms3dGkwWkcyb2xmUW0yL0FLWHRlU3pSK3NLMlVTdzVtK2swSUE5WDRCL2RoeVBwZU4zaEZvaGs5U1BiSDc0NUlLZ0RZc2xFMmZNZ3lJVzR5VDhiS3hvYmhtV0MrcUQyNkVacDV5a3EvU1VHWUcvMFh6M1UiLCJtYWMiOiI3YzJlNDE1OWYyNzFlMDdlYjAxYzY1Y2ExNTM2ZjBmZDVkYTJiZTVkZTk2ZDFhZDViNjI5NGY1ODc5MGJjYjQ4IiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; httponly; samesite=lax
{
"message": "Server Error"
}
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.
Show the form for editing the specified resource.
Example request:
curl --request GET \
--get "https://dev.yaita.co.zw/public/orderitem/inventore/edit" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/orderitem/inventore/edit"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (500):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
set-cookie: XSRF-TOKEN=eyJpdiI6IjQvZ1IvYzh2VVE4SHlaekxjTzdleWc9PSIsInZhbHVlIjoiL1RjQllsQ2tETzVqQTlqT21JM0NvQWNOZ2E0VWJYWFZiTXNUZ3V5Ri8zdDFaV0ZrWHdxR1lMOS9EOVd3R3N2THphbjVTMk9aelZnUXVjeDd4YXhFeEdFekIwSzl3UmIzcDhSL2lhTm11ZThWSzh1WnRHWWRYK3UvcWVaYURBNTYiLCJtYWMiOiIxOWI4MGMxOWFiZTYyZGY0NzkwZTcwMGQ4MDUzMTE1ODA5NzI3YWVhNGYxNWM1NWU5NTViYjIwZWIyY2I3ODIxIiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; samesite=lax; laravel_session=eyJpdiI6IkttTnozRFF1TkZMSHhYTlp2R2FBT3c9PSIsInZhbHVlIjoiQVQ5bm9DOE5IeTF5cXpscDJ2QWpjdFpPeGdFcEczL0dOeEpweS9jYmh4VUR1bkd6R3A3eG1MMFVhM3dFZjJCbnlYT292WXpicnBCdzAwdUQ1eFNiK201N0lFTk9rWGJMby9WUk81NDhnK25PQzZuQ1UyZlc2MWREazhyMVpqeE8iLCJtYWMiOiJlMDZhN2FjMDljOWViZDc2NGIwMTRiM2NlNTA2ZDk3ODEwZDVmNmY4ZjU5ZjM4ZmZlZTMyZDg0ZjA1OTk1OTc4IiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; httponly; samesite=lax
{
"message": "Server Error"
}
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.
Update the specified resource in storage.
Example request:
curl --request PUT \
"https://dev.yaita.co.zw/public/orderitem/cum" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/orderitem/cum"
);
const headers = {
"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.
Remove the specified resource from storage.
Example request:
curl --request DELETE \
"https://dev.yaita.co.zw/public/orderitem/sint" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/orderitem/sint"
);
const headers = {
"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.
Display a listing of the resource.
Example request:
curl --request GET \
--get "https://dev.yaita.co.zw/public/invoice" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/invoice"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (200):
Show headers
content-type: text/html; charset=UTF-8
cache-control: no-cache, private
access-control-allow-origin: *
set-cookie: XSRF-TOKEN=eyJpdiI6InNxRVluVFRCODFFZ0ZyOFNZcVBlUUE9PSIsInZhbHVlIjoiZGc4c1F2SUNXWFpHMUFqcW5wT1RleWZoVGhSZk12eUFacTNaOSt1UWJuRG1MRTF1ZVJJTnhFU1BVSmNBU0xtVEZwZFBIcEJxZUNCaThyM1ZMdXgvcGVpRThvQU5ndUFRcE14eVdTeHF5bTlPZGRGWW9iS3AvMWZheHVuOTU0U3IiLCJtYWMiOiJlZDA3YjA1NzJlMTE3NWY5NzQyNWEzYTIyZTA2OGE2OTAwNTE3MTVmNjVhMTQ0MmQ2NzY4ZDg2N2YyZjAwYmZjIiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; samesite=lax; laravel_session=eyJpdiI6IkEyc1pKMXdmd2xnVU1lZnBMVmpTRWc9PSIsInZhbHVlIjoib3A2ei9OVER5a2hGWE1OdmFSWTJmR3dWYzJtMnZ6MEdqZTJKbDI2M0ZROU5tMWxqSy9DUmNFbU93TElhRmMvWG02U2llc040S1pwOVVUWFd6VWIrenZtelFhYnZBMVM1YTNTRTBvUy9OYm9aS0FYL1JaMXdlYjN6Z2R6UFNLbjkiLCJtYWMiOiIwZThjZDUxZDY1M2IwZTI4MDM2MTVjNzllYTFmOTA5NjJkOWUzNjhlODVmMzYzYTcwMjUwMTUwMDU2YWMyNmI0IiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; httponly; samesite=lax
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.
Show the form for creating a new resource.
Example request:
curl --request GET \
--get "https://dev.yaita.co.zw/public/invoice/create" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/invoice/create"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (200):
Show headers
content-type: text/html; charset=UTF-8
cache-control: no-cache, private
access-control-allow-origin: *
set-cookie: XSRF-TOKEN=eyJpdiI6InFoVnVvQ29LRjhCTFVPZVd0QzcxeGc9PSIsInZhbHVlIjoiMGU0Sk1YVmxhcWQ5bFIvenVMWVFmbjQ1L3dBd2JXc2JkZWRmZ05xcnZHV29VUTRQMURHUWowUkVTbUg2VjlxbXlGMXhoUEl4d0Z6VmhQOGRteGwwb1FaOUpMQmlEZVlUME5hbk5QNUk1TGI5TE9mRVhVSDZVaWR4UEdOSVZOdWIiLCJtYWMiOiIyNDE1ODAwYTliOTMzZTVhYmNjNjU5MTM2NGQ1NjdmNDIwZGExODUzYmM0NTM2YzQ4MDE1NjllNWM3YTEzOWNlIiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; samesite=lax; laravel_session=eyJpdiI6Iksxdk9zOTRQYXBTcnM0T1Q5Y2F5TEE9PSIsInZhbHVlIjoiTlhOaFJ5aExINkp6dGdKcWJOUUIxVFd6UnRQeEJYMFRsZlMxcVduUXhiWUQvYm9HNkJ0RlR6SVJuWUhEbys0VnJsZk41WGJ4U0tVakQrc0hZNHFyZlVCVnkzTkU3QmdvODhhQkhGbWprYTJFSU9SQkFjNGluOElKWmZQUGFVUlUiLCJtYWMiOiIzMGIzZGNiYTU2YzhjYjZkMzgyZmM0NWRkMzI4MWYyZWM3NzFiZTZjNjgzMGM5OTZkMWEzNzc0YjA3YzhkYzJjIiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; httponly; samesite=lax
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.
Store a newly created resource in storage.
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/invoice" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/invoice"
);
const headers = {
"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.
Display the specified resource.
Example request:
curl --request GET \
--get "https://dev.yaita.co.zw/public/invoice/quo" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/invoice/quo"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (500):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
set-cookie: XSRF-TOKEN=eyJpdiI6InNxVlFtTElqMmdoUk14QXpOd2hWd1E9PSIsInZhbHVlIjoiMTlrWlZpSG1CS2VQK0JFSkFKVHpCWWF5bXo0YkZ1U2NWYVZCWCtlcks5NllqQ1E4NzFLZWRYTDJpc1U2QllEazdjUDdCMTltSkdNQ3NSKzh2aElpSmE1WGxNbmI0eUdwUnBQY3JPNlgxNklJSDlBQ0F5RlZFN1NiS3hmMVRhdWIiLCJtYWMiOiIwNmJlNDVlMzkxYWExNDU1MWRiNTM0OWYzMjUzZDAxY2Y2MTlmODhjZWU3OGNkYWJiNDlhNjIzZjFhYTI5YzFjIiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; samesite=lax; laravel_session=eyJpdiI6IldFa04zMU9GTnNKcjJjem1yZkh2K0E9PSIsInZhbHVlIjoiSWwzTHNONFlqS1dNMk1uRXkvdEFES3JnTkdYNC80VlpFVzNqU1VRcitYMGxJMGZ2dGNSZ0ZGcG5SV1ZNRkwwR09hWFZJcmxYM25xMWk4NW9ock4zdHIzSXdzNFFlT1lRYS9adUpUUjJ1b1I0bHYvcjdqdCtpUkUvV1ZtamtibjkiLCJtYWMiOiJhYjk0YTE3YzA3NTYxOTFjOWYzNmI1NDliMDQyZDM1ODU1MTU3ZTIyZDM2MzdkYzYzYTYyOTMyNDAxOTQxZmY0IiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; httponly; samesite=lax
{
"message": "Server Error"
}
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.
Show the form for editing the specified resource.
Example request:
curl --request GET \
--get "https://dev.yaita.co.zw/public/invoice/qui/edit" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/invoice/qui/edit"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (500):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
set-cookie: XSRF-TOKEN=eyJpdiI6IlJMZFdYazlqSUxJVitmbGdMU2ptQWc9PSIsInZhbHVlIjoidXltRnRkSE5EUXF4Qkt2NDZMcWlLZWh4VVNKVWRyL2JYT1c5MERMZVc0QnJEVU9iamlsVzNzdTRocnQ0alppN0xna01Pc1FoWFk4cWxQTlB0WlRBNmxlRmU3T1J6T1hHRVBvUmRaQXZ4b0lEcHdTTjhSdHdLcGR1UkRMY3dCM3MiLCJtYWMiOiI4OTYwNDNlMWFlNTZhNzM3OTE3NWRjYzFkYWM2YzI0NTVjZmQzMzkyOGQ1NzQxNGMwNTM4NmRiODkyMTg0NTJjIiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; samesite=lax; laravel_session=eyJpdiI6IlFCUkFLb0VmNzZPa0ZIVmlhek5CbVE9PSIsInZhbHVlIjoiZEhoREVtWHFYV3B2S29LSFY5NmFQemh4Y0R5OC94eWRqVmtTb25VbDV5Wmw4MWlsZGNJMkRoeGJ3T3YzN1RwRWpxU2VBV0hHQXNwOGRPaWpQMmsrMVN1OUZnRGRDVWVSeFp5V0x4R2Z1TDRwb2JnREVJQml5YTF6ZmV4YW42S1UiLCJtYWMiOiJjZjU3YTk5NDQzMTUxZGQ3ODlhYjczODQ3OThlOTAyNDIzZmRhODU4MzU0YmM5ODdmNWIyYzhmNGJjZTE1MmIyIiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; httponly; samesite=lax
{
"message": "Server Error"
}
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.
Update the specified resource in storage.
Example request:
curl --request PUT \
"https://dev.yaita.co.zw/public/invoice/accusantium" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/invoice/accusantium"
);
const headers = {
"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.
Remove the specified resource from storage.
Example request:
curl --request DELETE \
"https://dev.yaita.co.zw/public/invoice/cupiditate" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/invoice/cupiditate"
);
const headers = {
"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.
Display a listing of the resource.
Example request:
curl --request GET \
--get "https://dev.yaita.co.zw/public/customer" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/customer"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (500):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
set-cookie: XSRF-TOKEN=eyJpdiI6ImtNbUhraWxYVFB5emMrWE12WXJkbkE9PSIsInZhbHVlIjoiVVlzam9zbFNHZVVmc3JRclFXOG9nZzJ6K1U5OXpDaml6d1ZkOVpGVm1HcGtLaWNadUR2SnZvcWo4UmNHL1V0Y3kwMmNPaG1CRmdUMDR2K1dvZWRpWUhNZTh6bU1oaDRGRGJJNU9BVVdFSmFQRE9RNmg3K2R3N3JQbkJhT0JENTYiLCJtYWMiOiJiNjc3OWQ5NWVmNTg1N2VkYWIwMDVmMjA2MzRhMTNhNDhmMzVhYWQ2ZDc3MzgxOGNkZGQ2M2NhMjRhZGY5ZWM4IiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; samesite=lax; laravel_session=eyJpdiI6IkdJTm85b1Zhd1dNV3RoNGtyMWJFY3c9PSIsInZhbHVlIjoiVFFTZXlXTU9YZHVvaURobmlEQXlVL2pVNGhKck5lZ0tiNjVPcFVWa3Q5akZPN1ZWbjM5NmQrMmxITFdveGpMbWs1c3hta1c5cmV1VDNxbUJ1b04zV0QzZEdaVEE3Mlk1NWpnSGhCNUtsdTJNY1VCdlpJR3JYQUxBeGlOYmNJUk4iLCJtYWMiOiI4OGIyODI5Nzg3OTBkMDYyZjk5MjlkOTQzNTIzYWMxMTExZGE0NzRmZjgwZWY0YmFjZTdjOTVkODMzMzFkNDE4IiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; httponly; samesite=lax
{
"message": "Server Error"
}
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.
Show the form for creating a new resource.
Example request:
curl --request GET \
--get "https://dev.yaita.co.zw/public/customer/create" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/customer/create"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (200):
Show headers
content-type: text/html; charset=UTF-8
cache-control: no-cache, private
access-control-allow-origin: *
set-cookie: XSRF-TOKEN=eyJpdiI6ImhBandTdU5nMWsxUGJXNzBBTlEwYVE9PSIsInZhbHVlIjoiMUhwbE1ZeXpqMzBGYUdDMkt3VzBKYmlrZWhUOUozQmt1dnNrMFk5cFk4M2dZNFd3RjlLWVJyalJVVGRXWDc4VnZvZUx0ekpHM2doV2NMTUZHT09kSUNRNzJkQ1RLWlhlRUt5Q2VGb3Vya2NueDZhMkgyTGs3RE9qOUZDYXBwUmEiLCJtYWMiOiJiYWJiMGFmY2EyZTE0Zjg2YmVmYmZmYzQzZWE4YWRhMDFlMWYxMGQxNWE4OTI3YWU0MTM3MTVjMTI4Y2M2MWI4IiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; samesite=lax; laravel_session=eyJpdiI6IjNzeU4ycnVQVS93MldDMThOd3cxQ0E9PSIsInZhbHVlIjoiUFhsc1FKRWxYZ2R1eFJMTm5xUkNBOC9TZGJpWEcydnNjaXpmOGJlZm5mUlc4ZEtaVm91Q3I1Mnl0dkE3NStRSVJQSFdpZW1qNVdXbHprckxlMlVKQk50Zk9Sa1FpUkUrdnRnb2tYQTZLS1RWMkl2NzQvNVZmQ09MNzVqbnN3QWYiLCJtYWMiOiI3YzI3NzJlYTEzMmRhMTZkYTEwNjM4ZDk0ZDgwYzNjYjkxNjA3OTQzM2UyNzEzZTg3YzZmZGUyMzRkMzE2YTJiIiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; httponly; samesite=lax
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.
Store a newly created resource in storage.
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/customer" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/customer"
);
const headers = {
"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.
Display the specified resource.
Example request:
curl --request GET \
--get "https://dev.yaita.co.zw/public/customer/nisi" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/customer/nisi"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (500):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
set-cookie: XSRF-TOKEN=eyJpdiI6Ii9aalVUUk5uWXdnOXQwejVpSC9ZSUE9PSIsInZhbHVlIjoicG1KbVFJREdiVVFjZ3pxUktwdk80ZTNHbVlDczg4OXZLbUtZdEpxckg3azl4QVViQ1lhRUFZN3lEdFJWYzNJSXJKWnRhY1FDSXdXYkVuSjJscDd5dkx3YzJpeE9rN0x3YW94M3B5ZFlZcXl2ZlNYa2xHTEN0QXJVNnJTYTIzR08iLCJtYWMiOiI3YjViZTM2ODI2NmU3NDhmOWQ5OTlhNmE3ZWRiYjI2OTc5NTI5NDY1M2U3NmJhNWNlYjNjZDcxOTBmMTViOTM2IiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; samesite=lax; laravel_session=eyJpdiI6IjdHRWpGL3JmdkptcXlFeS9zdUtua2c9PSIsInZhbHVlIjoiQnZxaEZnd0prUnpQQlZGc0ZPb2NQNVlBRUFWWDdQNzF2YWZ3TmxmdENmd2NLeEFlbjYxRThjMzg2V3U0NjNlS0Z2U1ZyTThUTngveHhEbjBxd1ZmWW9JWFNnb0NNUDVSVFFQVzNqWkwxVmJOTlZtQ0xTanVWR2ljWnpNNGNjd2EiLCJtYWMiOiIxZDVjOGFkOTI3ZmRiYWE2YmNmZGZjMTNmMWE5ZWU1YThmODhlMGJmMzExYTZlYjUxNTQzYzAwYWQ1YjFiMDFkIiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; httponly; samesite=lax
{
"message": "Server Error"
}
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.
Show the form for editing the specified resource.
Example request:
curl --request GET \
--get "https://dev.yaita.co.zw/public/customer/rerum/edit" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/customer/rerum/edit"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (500):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
set-cookie: XSRF-TOKEN=eyJpdiI6IjBkb3hrSC85bmd6a0hiNENJZVYzeUE9PSIsInZhbHVlIjoiZm5QeW83UHF3WlA1ck9kMWdUb3IrNjQrMk5LaTgvektOV29ubmx2ZGZuT0kwclgvRGV6OUNmMmlEWWs0KzdOZktLTmw2Zi9BcmFzSndXWDA1TnVIVlhqbER0c0Q0dWR2dHVUNld3MWVzK3pzOXlpVlRMN24xcEFzRHgrZlkvQXgiLCJtYWMiOiI5YTI5MTVkZDRiNDY3ZTFmZWU4MDhjMDJiZDRkY2ZiYmViOTI4YjU1OWRhY2UxOGRmYWNjNDgwY2RhMTNkZTRlIiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; samesite=lax; laravel_session=eyJpdiI6IjhSL2IxSFp2eEcvOFhpbW8yR3RZQ3c9PSIsInZhbHVlIjoiK3g1Wk14OFNNMG11bXVMMVUwQndUc1djeDBFaDVqdHBhYmh1bkJXcDdkZ2VkalNyOXJyUW0wdmplOTFDYTd3bExxeW5tZ2I1czdseUxrWXEyZEdIcFRSYWpVMXZMZDFZUlZHdWY0YlVqSllnTys4ditTdEJTZkFsNkFsb0JjcUYiLCJtYWMiOiI4ZWFmNDk3NzU5MzU2NTEwMmMzMjIyZDA5MDA2MzQwMGZlZDU5NWM2OTU0MTJiYzU1MDVmYWM0ZGJiOWRiZWYyIiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; httponly; samesite=lax
{
"message": "Server Error"
}
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.
Update the specified resource in storage.
Example request:
curl --request PUT \
"https://dev.yaita.co.zw/public/customer/facilis" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/customer/facilis"
);
const headers = {
"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.
Remove the specified resource from storage.
Example request:
curl --request DELETE \
"https://dev.yaita.co.zw/public/customer/dignissimos" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/customer/dignissimos"
);
const headers = {
"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.
Display a listing of the resource.
Example request:
curl --request GET \
--get "https://dev.yaita.co.zw/public/driver" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/driver"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (200):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
set-cookie: XSRF-TOKEN=eyJpdiI6IkV3eEhlbURndUgyV1pVY2wzbFFibGc9PSIsInZhbHVlIjoidVhxenlaYktlWkhoSnIyVGwrWlp5dVluazhlWE83MHpXeld6RVZHMEtMcE1PN2MyMmRPRVQvcGhGNmxTQnVBY28rKzNxV0ovSmtzMTlaMUc4T3RIQ093eGJoWjdlbTdxUFlBQzhHUloyalVzRzV5ZS9vTExURDZBV2JIQXU2aE0iLCJtYWMiOiJhYTllNjM5YTczNWI1NWVhOTY4YjgwMmI3OWI1OGI0MzBmMjYyZjc4NjJiNmZmMTgwZmQ1MGUzNmNlNmFlZWY1IiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; samesite=lax; laravel_session=eyJpdiI6ImNRN2FuNjFPS2hWSDRTUkEwRG9tZUE9PSIsInZhbHVlIjoiUUcvNDZySk1NTndwSTczWFVLcTNiMXptMm8rcG9kaVYwenkyY0pjcXRSVEZsTG03UXFPcStBT0g4VzdYc3RjWXBhMnd0NHJLVnZTb1RoRjJnRUZPY2sxTzZ4UGV0eEJEazhzNnkyRzZOajVPMGVXa0RSUUprYStLSkNGdXhFcVciLCJtYWMiOiI2MDQyYWRlOWRmOGFhM2M4ZThiNWYxMThlYjI3YTM4NGYzMDc4NjE0NzE1NzhmNGE4MjY0Y2VhOGYwMGFhNzNkIiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; httponly; samesite=lax
{
"data": "Unauthorised"
}
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.
Show the form for creating a new resource.
Example request:
curl --request GET \
--get "https://dev.yaita.co.zw/public/driver/create" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/driver/create"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (200):
Show headers
content-type: text/html; charset=UTF-8
cache-control: no-cache, private
access-control-allow-origin: *
set-cookie: XSRF-TOKEN=eyJpdiI6Iml1L2NZUVBmSzlzYVR3TGM3WDFYYlE9PSIsInZhbHVlIjoiZm9XYnBxRW5OSk1aVXNYMWhCTWdCcndrbFNJb3gvZzdLM0ZYQm81dmtYKzRiYUFML3hBN0dadENYVHp6NlZ2Z3F3TFJzTXpwZjdvend0a29tS3IvcWlvcVUvR1l6RTBScG1WcWcxVGI0NDdwLzlCZStvM3VhWEl5emN0a2tXQ3oiLCJtYWMiOiJiZmNkZTA5YTFhMGNiNzcxODFhZmEzODJmYjc4ZTdkYmIwNTBmNDk4MDQxYWQ2ZmU5Y2Y5Njc0ZDU5NDdkZWVkIiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; samesite=lax; laravel_session=eyJpdiI6IlZhQ3QyYytGSUtTTGlvMGRmMG42ekE9PSIsInZhbHVlIjoiRGQxeEt0djlMQVYvQTBsVXRLSDU3MXdpZHFra2djVnFzWW50SmdkeGJtU09zWHhvbkdxZ0JRVXVQR0ZtRnkzY216di9QbXZtRHAwekFRR2l3dEZ3d2NVVUQrOTd6Mm5zYzlYVUY2QmZiVjh1UzZvVmVQdVBxTk9EMFgyaUhXbHkiLCJtYWMiOiI2ZDYyM2IyNzM3ZDZkMTIzODQ2ZjA5MWIwMzk3NTc2OWYwMGNiYjNmOTJkYWZmMWFkOTBkNWUxMjA0MzA3ZTdhIiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; httponly; samesite=lax
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.
Store a newly created resource in storage.
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/driver" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/driver"
);
const headers = {
"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.
Display the specified resource.
Example request:
curl --request GET \
--get "https://dev.yaita.co.zw/public/driver/neque" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/driver/neque"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (500):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
set-cookie: XSRF-TOKEN=eyJpdiI6IlZQcEtkNzBuVzVBbTh4N0tFMERzN1E9PSIsInZhbHVlIjoiU3dIM05UVlByYVRaTFVOOUNwNERtVVFkTSszZ3BXdjd5aUhkb25qa1lEMGdWNEZZWTBZVGM2QVdyc0ZTelhPeENodlVReHNrY0ZjUzcrdW43eFlTTGRDeVlwZzNQaVpmcmtmbHdCUllSVkp4M3ZqMEtEeXR2TjJxTjRuLy9KSHgiLCJtYWMiOiIzNjM1ZTNiYmZjMDM2ZTU4N2M4MjgyZjkzMDlkZjYxOGM2NWExOWExYjRjOTMxZGVmNTRjNDlkN2Y1N2MzYTVkIiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; samesite=lax; laravel_session=eyJpdiI6InlUd1RFY3NBdEFLK1BWSGVOWG9XSEE9PSIsInZhbHVlIjoiU0J3WHRSS1pMVzdjS0QvU1pIQnhBOVh2cXN1Ylk1S2JOWWtOMUc2Y3NzNEMzbkhhakdOSlZVNGdZMHUwdWd0aytXWXBmQ012RnVrS1RqWXI3Z0VDMkpjQnFQOGdqZmtHV1lFSCszWUY5ci9vc0FDaHR5NzJYaFZmbXJiRENadWEiLCJtYWMiOiIxNjllNTg2NzEzZDU2MDAzOGQ1ZDdjNDAxMDM0NzFhMDZhNTRmZGIxMmExNTdmZmY5YWVjZjRhNmZjYTNiZTYyIiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; httponly; samesite=lax
{
"message": "Server Error"
}
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.
Show the form for editing the specified resource.
Example request:
curl --request GET \
--get "https://dev.yaita.co.zw/public/driver/quis/edit" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/driver/quis/edit"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (500):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
set-cookie: XSRF-TOKEN=eyJpdiI6ImdBTGxVbVJRMktaRitUeXV0VDc5c3c9PSIsInZhbHVlIjoiMElLTXJJWnpvRFlseml5WWM3eVNobUxxU0RTU3RqRnRqQngyYmx5RmFsRlNFcVRSdThaQ2dJYUJqZ0c5UXJ3T2xEcEFBdEhVYWJwMTJKUVQ2NjBZZ0tJemN6aktWK1hZckc5Yy9VdElma3RoZWZxNUlZcThMNlpLc1FKZ0Zxb1QiLCJtYWMiOiJlMDRjYTQyYWE2OTlmZWM0ZjZlN2U2NWRjODM0YjhjYzViNGJkZWY4YzI3ZmQ4NmM2ZmU0MWNmMzQ4MDY3MDdiIiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; samesite=lax; laravel_session=eyJpdiI6Im5TaG92R0JWWTk5SzZnNm90b2dtRHc9PSIsInZhbHVlIjoiTFI4OG5yNk1ZR21MSXN6QldNc2pXSGR0dzV1N3JpMU10eTdURDc2aTBZMUVzcEw1UXFLK3B4MEVKSTFKbk5OR0doeWpNb1lmbGszMTIvWDREOWZJa0xOakpMOGlkWGpPSEN5QXB6bnZJMkpVekozbTUxcUJtVHZxcHBlT2svK28iLCJtYWMiOiJlODZmYjljOGJkYzU3ZGE2MmIyNGM2YjI0MDllYWQ3M2JmNmU2MzBhZDljNzMxOTEzNmI3Y2NmOTVhZTE0NzJmIiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; httponly; samesite=lax
{
"message": "Server Error"
}
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.
Update the specified resource in storage.
Example request:
curl --request PUT \
"https://dev.yaita.co.zw/public/driver/aut" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/driver/aut"
);
const headers = {
"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.
Remove the specified resource from storage.
Example request:
curl --request DELETE \
"https://dev.yaita.co.zw/public/driver/soluta" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/driver/soluta"
);
const headers = {
"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 orderitemzoom
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/orderitemzoom" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/orderitemzoom"
);
const headers = {
"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 createorderspecial
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/createorderspecial" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/createorderspecial"
);
const headers = {
"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 createorderspecialzoom
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/createorderspecialzoom" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/createorderspecialzoom"
);
const headers = {
"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 createscheduledorder
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/createscheduledorder" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/createscheduledorder"
);
const headers = {
"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 getblogbybqrcd
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/getblogbybqrcd" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/getblogbybqrcd"
);
const headers = {
"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 createorderspecialschduled
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/createorderspecialschduled" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/createorderspecialschduled"
);
const headers = {
"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 createorderspecialmultipledropoffs
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/createorderspecialmultipledropoffs" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/createorderspecialmultipledropoffs"
);
const headers = {
"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 getdriverorders
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/getdriverorders" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/getdriverorders"
);
const headers = {
"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 getdriverdelivered
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/getdriverdelivered" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/getdriverdelivered"
);
const headers = {
"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.
Display the specified resource.
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/getorderitemproducts" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/getorderitemproducts"
);
const headers = {
"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 updateorder
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/updateorder" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/updateorder"
);
const headers = {
"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 getpaymenttypes
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/getpaymenttypes" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/getpaymenttypes"
);
const headers = {
"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 updatedriverlocation
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/updatedriverlocation" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/updatedriverlocation"
);
const headers = {
"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 resetpassworddriver
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/resetpassworddriver" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/resetpassworddriver"
);
const headers = {
"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 getrequests
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/getrequests" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/getrequests"
);
const headers = {
"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 rejectall
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/rejectall" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/rejectall"
);
const headers = {
"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 driverearnings
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/driverearnings" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/driverearnings"
);
const headers = {
"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 changedriverpassword
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/changedriverpassword" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/changedriverpassword"
);
const headers = {
"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 updatedriverphone
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/updatedriverphone" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/updatedriverphone"
);
const headers = {
"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 updatedrivername
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/updatedrivername" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/updatedrivername"
);
const headers = {
"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 driverearningsweek
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/driverearningsweek" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/driverearningsweek"
);
const headers = {
"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 driverearningstoday
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/driverearningstoday" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/driverearningstoday"
);
const headers = {
"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 driverearningsmonth
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/driverearningsmonth" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/driverearningsmonth"
);
const headers = {
"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 driverorderstoday
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/driverorderstoday" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/driverorderstoday"
);
const headers = {
"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 driverordersweek
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/driverordersweek" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/driverordersweek"
);
const headers = {
"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 driverordersmonth
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/driverordersmonth" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/driverordersmonth"
);
const headers = {
"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.
Store a newly created resource in storage.
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/createblog" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/createblog"
);
const headers = {
"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 updateblog
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/updateblog" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/updateblog"
);
const headers = {
"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 deleteblog
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/deleteblog" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/deleteblog"
);
const headers = {
"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 getblog
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/getblog" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/getblog"
);
const headers = {
"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.
Display a listing of the resource.
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/getblogs" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/getblogs"
);
const headers = {
"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 getlatestblogs
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/getlatestblogs" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/getlatestblogs"
);
const headers = {
"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 getallblogs
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/getallblogs" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/getallblogs"
);
const headers = {
"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 getblogbytitle
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/getblogbytitle" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/getblogbytitle"
);
const headers = {
"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.
Store a newly created resource in storage.
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/createdriver" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/createdriver"
);
const headers = {
"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 getdrivers
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/getdrivers" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/getdrivers"
);
const headers = {
"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 getdriverandcarimg
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/getdriverandcarimg" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/getdriverandcarimg"
);
const headers = {
"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 activatedriver
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/activatedriver" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/activatedriver"
);
const headers = {
"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 activatedriverthroughmail
Example request:
curl --request GET \
--get "https://dev.yaita.co.zw/public/activatedriverthroughmail" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/activatedriverthroughmail"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (500):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
set-cookie: XSRF-TOKEN=eyJpdiI6InFQOVhVUnRoQjJLbHV0MVg3eVcyUUE9PSIsInZhbHVlIjoicTZ4RUp2eTlZN2RabWxzcEEzNEVZa3B6Nmw1MXRZYloxblBsakpGOTVEY0ZRMXB2Qm1USHRUVTNWaEh1Rm1TY1Zkd1pOYjVsZE00WWFKV2ovR0IvZUE1WmdKK2JpSWZwWmd1cEh6T2xoK0VWajJCcTNacHN6d3BMSGJmTXdoaUoiLCJtYWMiOiI3YTJlNWZkYTI3MDI4ODBmM2JmN2I4NzQxZDAxMDVlYjE1M2FiOGI3MWNhMWFkYTM4Njk1YzJjYzdiZDQ3MTcxIiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:48 GMT; Max-Age=60000000000; path=/; samesite=lax; laravel_session=eyJpdiI6ImZuMGFOUDJUaGNBR0Jpeis2Lzg3N1E9PSIsInZhbHVlIjoiUmE3ZHYxdWRCRmE1a0dzR2Q5MlB1ZzJ3aHAwSEF6NEtwQXkwTUh2aTFVTmVkaFh4SENkZTBOTnh1RnltYVlGV3RXcDdtclF0SXZGNzlGdXczamIzTmFuWmE3ZTBBM1BlZ0Z3Y3c2M0laS1B0UjdwZXZQOHpQcSt2aGxWR0lYZU4iLCJtYWMiOiJiMTE3NWQ5MzVhZjkzMzEyOTYzNzA5NjdmNDJmM2IzZjIzOTYzODUwNDUwMjU2ZDdhNzk4ZTUxMmE0MDJiZDg0IiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:48 GMT; Max-Age=60000000000; path=/; httponly; samesite=lax
{
"message": "Server Error"
}
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 deactivatedriver
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/deactivatedriver" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/deactivatedriver"
);
const headers = {
"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 getrate
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/getrate" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/getrate"
);
const headers = {
"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 setrate
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/setrate" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/setrate"
);
const headers = {
"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 driverlogout
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/driverlogout" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/driverlogout"
);
const headers = {
"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 newdrivers
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/newdrivers" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/newdrivers"
);
const headers = {
"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.
Store a newly created resource in storage.
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/savecostings" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/savecostings"
);
const headers = {
"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 getprices
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/getprices" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/getprices"
);
const headers = {
"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 getbulkprices
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/getbulkprices" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/getbulkprices"
);
const headers = {
"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 getpricesadmin
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/getpricesadmin" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/getpricesadmin"
);
const headers = {
"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.
Store a newly created resource in storage.
POST testdzoro
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/testdzoro" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/testdzoro"
);
const headers = {
"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 getsubscription
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/getsubscription" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/getsubscription"
);
const headers = {
"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.
Store a newly created resource in storage.
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/createsubscription" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/createsubscription"
);
const headers = {
"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 driverAuth
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/driverAuth" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/driverAuth"
);
const headers = {
"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 customerAuth
Example request:
curl --request GET \
--get "https://dev.yaita.co.zw/public/customerAuth" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/customerAuth"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (500):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
set-cookie: XSRF-TOKEN=eyJpdiI6Im5HeEJaU2c0RFBiczZGajVZcTlwYXc9PSIsInZhbHVlIjoid294R05CM01CRUtFT2NFVGY4YlNOYXJlYjVTOWtJV0Zhb0QxTTlVUzN5YkVtZk1FaElWa2VsVmdHMk5CMVJUQWpZZVdzZjRsSllwMXF3ZDBMQ0xCVlgyNk9kRktmMXY4OUc2Y2xmTHlqS1dXVWwzUk1sdm1NemdQYUlubjdjUmUiLCJtYWMiOiI5MWVmMDQxMzIzZjQwYzg2NTkwYmFkMDA3MDU1NTI3NmQwYTk4Y2JjMWY3NTM3NDA4ZGUxNjUxYzE3YzhkMjY1IiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:48 GMT; Max-Age=60000000000; path=/; samesite=lax; laravel_session=eyJpdiI6ImdXY3pQUEtranNYZnJoRkdVKy9aNHc9PSIsInZhbHVlIjoiTFZoU0E4RVEzZTJ2UHZMWVIvUlg5ZVNEc3BQNnJ3RzkzOXZVVDQyVlVxYzJ0ZGZFM3lGRlZKdTdrcW1ldDYySmlMb0x4Qk5CSVpKekdrcEQxYWVJcFNyZ2RrWEdNYVJxejJrOTBHZ2tUL2Npd1ZMU2RHUzhWTWFPNjlXSG8rRXQiLCJtYWMiOiIzZWU5OTNkMDZiNzM1YWQzOWQyZTUxZmRkMjFhOTg5NjQ5MzYwMDdhMDMxMjY2NTQ3YTVjZGUxZGQ5NWZiZmY1IiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:48 GMT; Max-Age=60000000000; path=/; httponly; samesite=lax
{
"message": "Server Error"
}
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.
Order Controller End_points
APIs for the Orders
Returns filtered vendor Orders. Requires that the vendor be authenticated
requires authentication
Example request:
curl --request GET \
--get "https://dev.yaita.co.zw/public/order" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"type\": \"quaerat\"
}"
const url = new URL(
"https://dev.yaita.co.zw/public/order"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"type": "quaerat"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Example response (200):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
set-cookie: XSRF-TOKEN=eyJpdiI6IlFPNE1mOUdKRkZpWVdPaDQxRGJqT0E9PSIsInZhbHVlIjoidWRnTk53ekQyaEE4cng0b0F6OC9IcU8xRVk2QnNxWjhGc3BqRXpWOXRGa1NUTWhpdVNqM204dGFSUU83aW5iUG1jWXNEZHNabGhyUDhqaHNuanFaY0kvVkF2RTAxdklsTUVVcFpZN0o0TjhpY2FaMDd6a0RiRUxCbWVrckNsN1IiLCJtYWMiOiJjZTgwNjNkMzhjMDUzNWVkY2I2NDVkYzAyYWU5MmVlOTZiMTJlODU2MjgzY2ZiNGJlMTEzM2NhZmY2OTg3Njc2IiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; samesite=lax; laravel_session=eyJpdiI6ImF2N21uWUdhaUVRWGVQRzhLSzdvSlE9PSIsInZhbHVlIjoiUDZOTW04ZUNNNDVTaDgzRC91N1FrQ3VmUFNOeDg0YUFzUEQ3RmJhTFo4Q3RHQ1NrdFJ0aHhUN3hRT2Y0emxoL2RCQVpOUUFDemdXRFhnM1ppendlN2NrTTFJUXA5N01lbEVGcWU3c1ZPRUZLSEEvd0EzVWRGU2hTVm9mbHJFcDMiLCJtYWMiOiIwZTMyZTE1YWM0ODUwZDgwNTkwZjlhMWY3MjZlZDgzZTE1MDYyNjQzMjNlYzUxNmE0NjI5MmUxODVhM2VkYzdjIiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; httponly; samesite=lax
{
"data": null
}
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.
Show the form for creating a new resource.
Example request:
curl --request GET \
--get "https://dev.yaita.co.zw/public/order/create" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/order/create"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (200):
Show headers
content-type: text/html; charset=UTF-8
cache-control: no-cache, private
access-control-allow-origin: *
set-cookie: XSRF-TOKEN=eyJpdiI6IkJKMVF1Z1R5eC82enFFQ1BoalVRV1E9PSIsInZhbHVlIjoiWWduRGhPcG5vSkhHbEtUdGxQQ3g4UVlXL1ZkYjlLRm9tS1JMdTlYZ0g5SkVNWlNTMTNJeEJFVWpGd0NPQkJtWlhKd2ZIa0lQWnY1R1VCRFdEdStKcWRFMjJ4enpSNWhPQ2hOZkpKZy95U3A5M3NENUd1dm0yYm5NVjhwQ043a2MiLCJtYWMiOiIwMjM2YzQ1Yzc3OTE4M2ZjNTc3N2Y3NTYxZWRiNmQ0MjliMDdjODA3MTc1N2VmYmJkZWZkY2IwY2FkZWU2ZDZlIiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; samesite=lax; laravel_session=eyJpdiI6IlRoYlhDcmJqcXJoTkxxSVc0U09PMWc9PSIsInZhbHVlIjoidDU5T3BHT2YwVW1ZNUl5aGNJUXJBcEgxaU5MNU9YdXdaWEtBY3E3bllOMVB4ajlTa3oxeFV4L3pONU9tWW45dnBEa00yT3hER1RVazBHdDdOa2R5akptVmlrNDRwTk1NWGNxR09nM01ZUTUwNnR2QW81MEt6Z0llVzdIM0VWTFciLCJtYWMiOiJhODZmNjRkMDQ2YzdhZjczMmNhZGE1YmMyZDEzODI3ZGMwYzllOTZhMmY0NWJkZWE0OWMwZDBhNDA5YjIwYzE3IiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; httponly; samesite=lax
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.
Creates an Order which has 2 parameters i.e. customer, vendor. Typically not used
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/order" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"customer_id\": 3,
\"vendor_id\": 10
}"
const url = new URL(
"https://dev.yaita.co.zw/public/order"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"customer_id": 3,
"vendor_id": 10
};
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.
Display the specified resource.
Example request:
curl --request GET \
--get "https://dev.yaita.co.zw/public/order/et" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/order/et"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (200):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
set-cookie: XSRF-TOKEN=eyJpdiI6ImhoQkszeFllSUQvSmQyU1hSaFFVWEE9PSIsInZhbHVlIjoiOUIrRGJvVk9YYXR1amJmREt0bktFeFJ0Z1JVTElYR1pkOFZyMGRrbUxCblF4bUdGTVVaVzZHOWkyeXhJQ3VSYnJlaFhIdFpYNnN0ZmVtTFNrQTRqWXRHWnBUcCswT0dwSWNMbDEzVVB6ODRRNUdpdzRIK3J2WFM4L2hBVUtSdkEiLCJtYWMiOiI0MDIyZjQwM2NjODIyZTU2MGUwNTI2ZGMzYjYwMjA0ZmI5YmM2ZmU4ZWVkMThlOTYxN2YxNjg0MDMzNTc1YWY1IiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; samesite=lax; laravel_session=eyJpdiI6Ik5STldZSzdCbE0rTDduZDV4dGJNemc9PSIsInZhbHVlIjoiYkNRZU5zSnFhZ1NKbzVnczV5TGtlelV1UExRZHNrRlZtbGRFKzVLVjEwSmRpTlU2ZHpwNnRHSXRaWGZ4TjdYUFNtRW9RcWZQWDA4OVdIQ05DUU1wQmRMWWo4SDRpV0xVTUZFeE9KaUZLMHltemkxcmppV3BwVVYzWGQyZE1PN2IiLCJtYWMiOiJiZjI3ZGI0YTVjOTVjZWNhMTc4ZjgxZmQ4YmRlYmVhZThiZjkxMzMwZTExNTUyMGMxYzgxOTYwYjliMzU4NTE0IiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; httponly; samesite=lax
[
"data",
null
]
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.
Show the form for editing the specified resource.
Example request:
curl --request GET \
--get "https://dev.yaita.co.zw/public/order/1/edit" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/order/1/edit"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (200):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
set-cookie: XSRF-TOKEN=eyJpdiI6IjhoUEtqMFpaZkFGQ0JhRGZpRmpqZlE9PSIsInZhbHVlIjoiZkIwTGxFMHRDWE1IWlZwMmtNWXYwcVpMejRiSXpraHNwd2tEMXFTRWhJYXJSVWEvQitBaStBem9xbGhGSGU5QVdRNVdQM1JPQW1YZjZ3WXdIYWtVZktUWExqK29PV1VqVDlnZGFMSFptcldiSGNOeWZRWllMK2xyb3RzYWJwOHMiLCJtYWMiOiI3MTk1NjM0YzIwNjNiYWJmY2M4NzYzNjI4MzBlNzFkOWFjMjg4ZDhmZDdmNTkwNDE1YzExNGYxY2Y4YTY2ZmI4IiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; samesite=lax; laravel_session=eyJpdiI6IllHVCtsSG5wejNXOXV2S29NWnhPeEE9PSIsInZhbHVlIjoiOEtYeEtsTitpdUdPWVB3SmVrRVdSSi9oWDYzdWtSamt1UmhkMGJyM0w1eVNXb0ljQlI5SlJWSk5kaXZSZkNvbGZOQ3dBb3VXMFFCWE5keTlsTGQ2TldlRjZ1Ynh4R1ZWdWEyVW5iWlZXbmY2T2hjNjJvY0pNbG92cWFwSWZDUmsiLCJtYWMiOiIzOWQ4OTEzMmYwZTNmOGQxOGU1NTMxNzYzMGZhMzI3ODk0OTY5OGNmZjcwNzhiOGEyYjU0ZGE0ZTJhZTA3Yzc4IiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; httponly; samesite=lax
[
"data",
{
"id": 1,
"customer_id": 1,
"vendor_id": 2,
"driver_id": 0,
"name": "-",
"cost": "0.00",
"delivery_request": 0,
"status": "2",
"mode_of_transport": "null",
"size_of_carrier": "null",
"paid": 0,
"charge": 8,
"paid_cash": 0,
"infull": 1,
"delivery_charge": 0,
"cash_on_delivery": 0,
"pickup_location": "Harare Fulfilment Center",
"pickup_lat": 0,
"pickup_long": 0,
"dropoff_location": "Bindura University of Science Education",
"dropoff_lat": 0,
"dropoff_long": 0,
"eta": 0,
"distance": 92.614,
"paynow_pollurl": "0",
"delivery_date": "2021-12-09",
"multiple_dropoff": 0,
"client_pays": 0,
"canceled": 0,
"created_at": null,
"updated_at": "2022-01-21T08:40:21.000000Z",
"d_note": "test",
"delivery_type": ""
}
]
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.
Update the specified resource in storage.
Example request:
curl --request PUT \
"https://dev.yaita.co.zw/public/order/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/order/1"
);
const headers = {
"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.
Remove the specified resource from storage.
Example request:
curl --request DELETE \
"https://dev.yaita.co.zw/public/order/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/order/1"
);
const headers = {
"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 getallordersthismonth
Example request:
curl --request GET \
--get "https://dev.yaita.co.zw/public/getallordersthismonth" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/getallordersthismonth"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (500):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
set-cookie: XSRF-TOKEN=eyJpdiI6IjZ1VjV0WUROcU5rcGVheWVOWnloTnc9PSIsInZhbHVlIjoiNWVVcDlHeE4vQ3p3QTd4bXFFcWNSVnFCUHprdHBrZ2MyNkNPVkpod2VFSmRSZ2RTSlYzM3hQQ05qREhJOTJNdXRxUVRmTDN3NG5oTXZDNVNuT2swTzBkczk3Sk1mdElJTEw4Z0tkbjJUTHUrVFVKSkRSMit4Qzd6UEhETERIQXYiLCJtYWMiOiIwYjdiNDk1OTEzNTA5Yjg5ZThiZDBiNjU1Y2FhMDQxMjU4MjU5MmY5N2ZmOTkxN2U2YzI0ODhhZWY0OWRlNDUxIiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; samesite=lax; laravel_session=eyJpdiI6ImtNUEp1U3NnY2EweCtxT01qYm1QRUE9PSIsInZhbHVlIjoieUJsR05rRGhxWFp1TTE0djR1TXl4SkZ4NWtudXdvNDBRTERLWDlIVThPSmtLNXFQckJZNXgzSGdjV0RUeThLUjJVS1FhT2hZVXhibndxQjd3Rjh4NnFiam9QYlJsWEdTbHliMFlZcXZZZ3RjZXlkMlRPR08za0xlMDE1OUJaVDYiLCJtYWMiOiIwY2E2YTVjM2YxMGMzNDU3OTY3YzFjMjAyYzU5ZTgxZGIzYTU3NzQ2OWNhOGIzZjY1YmFmYjRmYjZhMTY0MDlhIiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; httponly; samesite=lax
{
"message": "Server Error"
}
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 sendrequestcash
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/sendrequestcash" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/sendrequestcash"
);
const headers = {
"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 checkrequests
Example request:
curl --request GET \
--get "https://dev.yaita.co.zw/public/checkrequests" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/checkrequests"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (500):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
set-cookie: XSRF-TOKEN=eyJpdiI6IjNadGh0VFpkVmdMNGo3blFrN1JrbWc9PSIsInZhbHVlIjoiMG5tTXAzdWJwNHlkSWZIZHFJdFgybXNVN2ZpY1hxQXg0U0lKMHppK204V2p5RHdmalpFZElnYk03TUlMeUZHUjlQbnJwQnRRck9kYmpWQml5aWVJY0JqTGNiejJlZGN1Q1ZQTGw3ZVd0OHhiMjJtZ3dqc3hWRjd4b1JjbHhhQzciLCJtYWMiOiIzN2MyNjg3OTdjODU0MmZlNzBiOTAwMWE0MGIwNTAyNzM0NDE5OTVmNGQ5NTA5ZThjNzQ2MDYxNzBlMjMzMmY5IiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; samesite=lax; laravel_session=eyJpdiI6IlVqcG9maytNZHRUZkF2NGxxWmZuc1E9PSIsInZhbHVlIjoiekFzR2VIUTdMcW8rQ2JFTGxDU2tCVVdONVlBNndyN1NaQ2Noa2VyTjZjN21oRFlwdGRWdUV1d0N0ZUJSczFNUloyYXNrcit3ODV3MFE3QWgyaWxaeGRxdkc1MGFtSkkzQ2ZsU0lYcndJWFBlWE8vU2ZCazZJVW9ZbmNUTjlOeGoiLCJtYWMiOiIyZTM0ZmU4Y2MxZGNmYjdiMWE3ZmU5MDIyM2JhYTNmNTE2YjU4YTQ4MWI4MmI2MmY0ZDE4YjA2MWZhYWU3YjA5IiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; httponly; samesite=lax
{
"message": "Server Error"
}
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 fetchcluster
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/fetchcluster" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/fetchcluster"
);
const headers = {
"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 completeorderadmin
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/completeorderadmin" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/completeorderadmin"
);
const headers = {
"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 createorderadmin
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/createorderadmin" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/createorderadmin"
);
const headers = {
"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 getordersbyvendor
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/getordersbyvendor" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/getordersbyvendor"
);
const headers = {
"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 cancelorder
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/cancelorder" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/cancelorder"
);
const headers = {
"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 completecancelorder
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/completecancelorder" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/completecancelorder"
);
const headers = {
"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 getordersbydriver
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/getordersbydriver" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/getordersbydriver"
);
const headers = {
"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 assigndrivermanually
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/assigndrivermanually" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/assigndrivermanually"
);
const headers = {
"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 bitlyshortener
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/bitlyshortener" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/bitlyshortener"
);
const headers = {
"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 sendrequestscheduled
Example request:
curl --request GET \
--get "https://dev.yaita.co.zw/public/sendrequestscheduled" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/sendrequestscheduled"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (200):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
set-cookie: XSRF-TOKEN=eyJpdiI6InZwVnBaM1RHUExFT2pZNjhTRTAwVGc9PSIsInZhbHVlIjoiZU5sSXhJcDBqUDRMMzNpM1pGdWF2TGdtb2FnRnpKZjFNM1hCN2htellDVHVtbGE4em16SmJadUZVQzBVOUMxQnJ1QjkxRERXQzN1UDA5MTdwS0I3YUlYMVovZGJQSTdScWFIVkh6RWhOTjZ2TE1CNkxDTm42bDh0WC9PbEE3Rk4iLCJtYWMiOiJiNzFmNjQzZDEwZjhkNGY3ZDJkZjk2ZDA1N2E3ZGM4Y2NmM2NjMDgxNDY2NjkzMGNmMDBmNDhmZWY3MjM5M2QxIiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:48 GMT; Max-Age=60000000000; path=/; samesite=lax; laravel_session=eyJpdiI6Ik9oUGVCa29MYXJrYlJUc0dZNTJValE9PSIsInZhbHVlIjoiYjVXUjUwZUFkc0dHOWkyMkRTbWM4N1JQd1U4OCtoUFhERHU2bHVQRDRzZmQwWWNFcXl2TzEvVyt1NFBrc0NubUF5cFVqVU1ROVJDeDgzcGx6MVRCUTkvbGkzbElrVVRpUDVqT0h0TzV5V3JST3ZjWm1wd1dlRGpnOUp0ZFhVNDciLCJtYWMiOiI2NmNjNTkxZjIzZDMwNjZmYjI2MTQ0N2I1OTAxNTE1OGM0YzRmN2FmYjUzY2ExOWVmZTRhNmIxYzA4OWM1NDhiIiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:48 GMT; Max-Age=60000000000; path=/; httponly; samesite=lax
{
"data": "ORDERS UPDATED"
}
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 sendrequest
Example request:
curl --request GET \
--get "https://dev.yaita.co.zw/public/sendrequest" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/sendrequest"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (500):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
set-cookie: XSRF-TOKEN=eyJpdiI6IlJ2Uy9GbmNWaVpNMllmMG5iQld6dlE9PSIsInZhbHVlIjoiUkFQSjZvMkVSOGpJQnZDdHExTndtdW9RdFdZblZINlVjeDB6aUJoT1VnMTRlVE9EMENFdnlEcmNFTmt4Wkpxam9vTmE0UHQvcFozZTJtNGlMRW84Z1BSWW5VUkd5cEhMZFVXRng1N3hNclB1RGR5MlVrZ1BCVWc0NUt6R2hCRUYiLCJtYWMiOiI1ZWIyMDYxNmVjMzYyMmEzZmNjMzg3MDhkZDFiNWNiY2UwOGM3Yzk3ZGE3YjgwMzdmNDgxNzViYTQ2MWY4OGE3IiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:48 GMT; Max-Age=60000000000; path=/; samesite=lax; laravel_session=eyJpdiI6IlRSQ0E1blpybmNtRC9sU0tKUUk1WkE9PSIsInZhbHVlIjoiUDVIRzA0aU5MUkxXbHlOQzJtaVJpcWd0ejlKc2x6d21PMHlMelN0ekRJWmcwZ2ZYYXpaeE1YL3Y4Y0ZiYzVMR1FWRkJhbzV4TDlQa0Qyd2F4RHVZMXZDQVZpUFp6RVA2V1gyOTM2dUlLbisvTDhnM2NVNXpmbldXdWdDYnFyelEiLCJtYWMiOiJiMjQwNjZmMTdjZDYwNGU3ZGExZDEyNzc3YWVjMTZlZmNhYjIyN2Y0Yjg3MmQ1N2FmMTNiZjliNjdhMjc5ZjdjIiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:48 GMT; Max-Age=60000000000; path=/; httponly; samesite=lax
{
"message": "Server Error"
}
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 setpollurl
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/setpollurl" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/setpollurl"
);
const headers = {
"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 earnings
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/earnings" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/earnings"
);
const headers = {
"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 setenroute
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/setenroute" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/setenroute"
);
const headers = {
"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 updateorderwithobject
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/updateorderwithobject" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/updateorderwithobject"
);
const headers = {
"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 getclients
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/getclients" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/getclients"
);
const headers = {
"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 setdriver
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/setdriver" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/setdriver"
);
const headers = {
"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 intransit
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/intransit" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/intransit"
);
const headers = {
"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 enrouteorder
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/enrouteorder" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/enrouteorder"
);
const headers = {
"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 sendmail
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/sendmail" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/sendmail"
);
const headers = {
"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 updatepickuplocation
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/updatepickuplocation" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/updatepickuplocation"
);
const headers = {
"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 updatedropofflocation
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/updatedropofflocation" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/updatedropofflocation"
);
const headers = {
"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 recieveorder
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/recieveorder" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/recieveorder"
);
const headers = {
"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 sendmailaspdf
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/sendmailaspdf" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/sendmailaspdf"
);
const headers = {
"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 driverEarningsWeek
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/driverEarningsWeek" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/driverEarningsWeek"
);
const headers = {
"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 fulfilments
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/fulfilments" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/fulfilments"
);
const headers = {
"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 latest
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/latest" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/latest"
);
const headers = {
"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 latestforlive
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/latestforlive" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/latestforlive"
);
const headers = {
"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 updatecoordinates
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/updatecoordinates" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/updatecoordinates"
);
const headers = {
"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 getorders
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/getorders" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/getorders"
);
const headers = {
"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 fulfiledontotal
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/fulfiledontotal" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/fulfiledontotal"
);
const headers = {
"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 filteredfulfiledontotal
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/filteredfulfiledontotal" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/filteredfulfiledontotal"
);
const headers = {
"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 statistics
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/statistics" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/statistics"
);
const headers = {
"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.
Creates an Order
requires authentication
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/api/createorder" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"pickup\": \"et\",
\"dropoff\": \"et\",
\"c_name\": \"libero\",
\"c_phone\": \"dicta\",
\"delivery_note\": \"illum\",
\"cost\": 132.49950962,
\"cash_on_delivery\": 11,
\"orderItems\": \"qui\"
}"
const url = new URL(
"https://dev.yaita.co.zw/public/api/createorder"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"pickup": "et",
"dropoff": "et",
"c_name": "libero",
"c_phone": "dicta",
"delivery_note": "illum",
"cost": 132.49950962,
"cash_on_delivery": 11,
"orderItems": "qui"
};
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/createorderscheduled
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/api/createorderscheduled" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/api/createorderscheduled"
);
const headers = {
"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/requestdelivery
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/api/requestdelivery" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/api/requestdelivery"
);
const headers = {
"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/getorders
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/api/getorders" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/api/getorders"
);
const headers = {
"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 setdistancetime
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/setdistancetime" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/setdistancetime"
);
const headers = {
"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 acceptorder
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/acceptorder" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/acceptorder"
);
const headers = {
"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 rejectorder
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/rejectorder" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/rejectorder"
);
const headers = {
"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 updatevehicle
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/updatevehicle" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/updatevehicle"
);
const headers = {
"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 deliverorder
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/deliverorder" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/deliverorder"
);
const headers = {
"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 getorderwithorderitems
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/getorderwithorderitems" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/getorderwithorderitems"
);
const headers = {
"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 new Orders as Administrator. Requires the user to be authenticated as administrator
requires authentication
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/getneworders" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/getneworders"
);
const headers = {
"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 updatepicklocation
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/updatepicklocation" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/updatepicklocation"
);
const headers = {
"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 editorder
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/editorder" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/editorder"
);
const headers = {
"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 getallordersthismonth
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/getallordersthismonth" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/getallordersthismonth"
);
const headers = {
"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 getallorderswithfilter
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/getallorderswithfilter" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/getallorderswithfilter"
);
const headers = {
"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 getinfull
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/getinfull" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/getinfull"
);
const headers = {
"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 getsharedorder
POST shareorderlink
POST fetchorder
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/fetchorder" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/fetchorder"
);
const headers = {
"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 y_vendor/order
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/y_vendor/order" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/y_vendor/order"
);
const headers = {
"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.
Product Controller End_points
APIs for the vendor
Display a listing of the resource.
Example request:
curl --request GET \
--get "https://dev.yaita.co.zw/public/product" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/product"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (200):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
set-cookie: XSRF-TOKEN=eyJpdiI6InZ3WE85S0NlTnltdnJEdjhrb1FTenc9PSIsInZhbHVlIjoibGNwZVJPSGF6WXFxU0s3aTFYcGROaURVTHJMaUJYQzJkeDZLU2NiYTQ1bC9lQjlQQ2NRbk5SSk1pRFp0bzZ6M21QYzF5a1JTbTZoNlNMa0pGTEkzd3UxbzlWaWt2ekpDeWMxV2NIQVAxZUFpcnh3ZXlXT1pBTitUUnVSZjRBNHUiLCJtYWMiOiI4YzlkNDA4NWRiZWEyYTAzZTBjZTIyY2MxMmFlMjBhY2ZiMzYyYzU3OTE2OTA3ZDE0OTJhOTJlNWVmNzA3ZDFmIiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; samesite=lax; laravel_session=eyJpdiI6InB4MDVJWmlYd1VEaG9jRlNCYy9tclE9PSIsInZhbHVlIjoiRE9qdnRUU1dSc1dSM0FMbldhc1VydEVZRFl5dS9wTnFlUjFhQXVBNXFwVTBlQ2k4ZCtrVDIyb0lIUEJJU2NaL1RBV1pqSXhiUGhSbHBOWWZIeHFGZmRVK0pLWVhiaTdETG1LVkwzb2FKWmsrcU13V3FJcHNFa2RhbjN3d3NWOFMiLCJtYWMiOiIzOGQ5YjM4MTZiNThhNzdjMzc5MDBjM2JjOGM5MDY0NjVkOTY1ZjcwMjU3MzMyMWViYWFkMzYzNjhhZDZiZWZkIiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; httponly; samesite=lax
[
"data",
[]
]
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.
Show the form for creating a new resource.
Example request:
curl --request GET \
--get "https://dev.yaita.co.zw/public/product/create" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/product/create"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (200):
Show headers
content-type: text/html; charset=UTF-8
cache-control: no-cache, private
access-control-allow-origin: *
set-cookie: XSRF-TOKEN=eyJpdiI6IlhiMHNoRGhWMGdzYk4reW5vZEQwd1E9PSIsInZhbHVlIjoiRU1PaTMyOVlTNERUNUlXdE83TGlPZ3N5bTZ6WDJsRVFvbTNweGdXcG9rK2hGSmR1eUpjTGRiTWJZRHpxbVpOM3Z0ZVlIRHplSXNzUWRWVVphZ01vT1FNYWhrVGdOYVg2ZC9qZ2t3bHdGY0F0UzczM0pJeU9UT1UzQ0l3OVkyR2siLCJtYWMiOiJhY2U4NWVkZWUwZjRhOGM4ODgwNjBiNTNhOGE0ODY3YzUwNTU5ZWJkNjJlYmFjODUyZmI0MzRjY2NmNmQ0ZTk1IiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; samesite=lax; laravel_session=eyJpdiI6IlJZaE5UdkxKOTlBQnd1RGJ2UXlWRnc9PSIsInZhbHVlIjoiNEsxakZhVmYzMTgxellLU29hTmNuUVl5ajFWbFBQVEx3bnBqRUI3OHZtNzJ6TlJkdnltS1kyRWVuL3BQNThmRUxaTkl0djJUL3ZpcXlibGdCbVZ1elZQNFNXNTc5VTBESVRqTU5sVzBqc3lRUk5RMTlYRGdWYy96TVhFenl5MW8iLCJtYWMiOiJlYTUwZDE5MTVhNTM3ZWYyNDdmNjg0MWRjNzMxZWNlMTE2MjZiNGQ5YzVkM2RiN2RhYWY2ZDUyYjlmNDY4N2M3IiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; httponly; samesite=lax
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.
Store a newly created resource in storage.
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/product" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/product"
);
const headers = {
"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.
Display the specified resource.
Example request:
curl --request GET \
--get "https://dev.yaita.co.zw/public/product/7" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/product/7"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
set-cookie: XSRF-TOKEN=eyJpdiI6InVhSHd5aXErNlh1a2gxdWNjdTRiQ1E9PSIsInZhbHVlIjoiQ3VwWHY2YnA4WnZld3pSNTJxK1pmYUpPek1lS3c2OUJVb3ZqdW5DbGkreG9pTHhaVitzZkFDMlNBNS9HS2NWZHhESnZzemN2NVVVR2w3Z3hBVXZMeXA2THBrbklLQXYzc2hOSlZ5aWpWMTJTd0JGZWVYSGQyRlJLdGJXV3FaUXEiLCJtYWMiOiI4YmQ3MWI3MmZiYmVkM2E5MjExNjI0OGJkNzIxMGQwY2JkMzJhZTk5MzdiOWY1MmYwOTFjMjY3YTYyMDAxMWNhIiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; samesite=lax; laravel_session=eyJpdiI6Inovd3pyVkhUZlRuNlVtZTZvelU2SXc9PSIsInZhbHVlIjoiZWNlcCsrNnhXUmxlUXRnZGdZeDRrcDJMN0FacFhFK2MrLzJIZVlUM2xwR0sraytqUkIrUmdLdDcvV0cxeHBoM3V2Z1g4WjBKNFh0UTk1amordDFsWTllYUxFZ1RQZ1czMEJVcUJsSFF5NGdRUkNOSFgvTVUwcThBWmF2aW00ZDMiLCJtYWMiOiJlNWQ4Zjg5NmU1MDU4N2UxMmQ5ZWVmMjQ5ZDU3NmNlYTNjMmUwMzlkZjkyOTdjZjc1MWYwOTA2NTgwMzNjZGRiIiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; httponly; samesite=lax
{
"message": "No query results for model [App\\Models\\Product] 7"
}
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.
Show the form for editing the specified resource.
Example request:
curl --request GET \
--get "https://dev.yaita.co.zw/public/product/9/edit" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/product/9/edit"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
set-cookie: XSRF-TOKEN=eyJpdiI6Ik5NVTV5UEVNcnN5UzZ6UmhQamZETkE9PSIsInZhbHVlIjoiRkRLZWdrTDY2UVo3Sk03UHZ1UGtPUmpidGxzNmNrWDNYbGl2WFFSeElZajJYblEraXk1ektZQXF5ZU8rSWR0cEJvbmpmR0kvUWdhQ2lMRDREZm9jbDYxSG5iL2NaSDJrWDZGTnpsWU9DMlVIcURtTFE0eWlhNkVyaDJPYlBackYiLCJtYWMiOiJlYTJhNDQzNTU4NmQzZTc1YWI3MTEzYjljZGYxMDk0Y2JjNTgyNjlkNjk0ZTQ0NGYzOTExZDVjMTkyOTAwYjFiIiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; samesite=lax; laravel_session=eyJpdiI6ImpRUE5IbXNDbGsxQ3lxeTRyR0wyUnc9PSIsInZhbHVlIjoiV2M1YklwSmVVYk1STVZFQmFsQ09yM0xsSytBRVB3V21pZUpnVEM3QmwrN1lWUjVxSER3OHFibVVvRWJ5WEh5cW5lVVNHZXpRbU1PMGRRZ2tjaitWZmswUEFNaitLUVJDc1dYMnVzVzB4dno0bjFtNitkdS9Za25PVUxCUUVvbVIiLCJtYWMiOiI5NzdmNWY3ZDU5ZTgwNDI3ZDRkZDM0NzQ4NGYxYmM4NmNiYjQ2MmI2MWY5NWE0NzNmZDUwOWQ4ZmJkZDdmODI1IiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; httponly; samesite=lax
{
"message": "No query results for model [App\\Models\\Product] 9"
}
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.
Update the specified resource in storage.
Example request:
curl --request PUT \
"https://dev.yaita.co.zw/public/product/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/product/16"
);
const headers = {
"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.
Remove the specified resource from storage.
Example request:
curl --request DELETE \
"https://dev.yaita.co.zw/public/product/4" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/product/4"
);
const headers = {
"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.
Create Vendor Product.
requires authentication
Vendor needs to be authenticated
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/createproduct" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"odio\",
\"price\": \"odio\",
\"unit_of_measure\": \"nihil\",
\"quantity\": 17,
\"f_center\": 19,
\"color\": \"quam\",
\"size\": \"nulla\"
}"
const url = new URL(
"https://dev.yaita.co.zw/public/createproduct"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "odio",
"price": "odio",
"unit_of_measure": "nihil",
"quantity": 17,
"f_center": 19,
"color": "quam",
"size": "nulla"
};
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 getproduct
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/getproduct" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/getproduct"
);
const headers = {
"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 updateproduct
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/updateproduct" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/updateproduct"
);
const headers = {
"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 delete
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/delete" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/delete"
);
const headers = {
"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.
Create Vendor Product.
requires authentication
Vendor needs to be authenticated
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/y_vendor/product" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"voluptate\",
\"price\": \"porro\",
\"unit_of_measure\": \"dolores\",
\"quantity\": 13,
\"f_center\": 10,
\"color\": \"velit\",
\"size\": \"quos\"
}"
const url = new URL(
"https://dev.yaita.co.zw/public/y_vendor/product"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "voluptate",
"price": "porro",
"unit_of_measure": "dolores",
"quantity": 13,
"f_center": 10,
"color": "velit",
"size": "quos"
};
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 Vendor Product.
requires authentication
Vendor needs to be authenticated
Example request:
curl --request GET \
--get "https://dev.yaita.co.zw/public/y_vendor/products" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/y_vendor/products"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (403):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
set-cookie: XSRF-TOKEN=eyJpdiI6InpyQkJZMEM1NGo4cHlEU29nOGhEOVE9PSIsInZhbHVlIjoiZ1RHNUx0UkZPZXlwcTREa01UVEtsT1hucENMQjBXTWMvM1RHT0w3ejljSzlrQVdUK0ZNeFBBSnVaWUtSR05LU2FQZWZkU2prckhBZzBiTkFFcHpGSG5lRnhSNzNmbkZDMTNaL29DbExTYnFlRDJDaS9RUjExYWoxNmpLVHNPL0oiLCJtYWMiOiI5ODAyNjU5ODM2ODRjOGQzY2Q2ZDQxNDkxMzNhMTNmODQyNDM3Y2QzNjMxNGFkNzRkZjhiY2I1YTI0ODBkYmM2IiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:48 GMT; Max-Age=60000000000; path=/; samesite=lax; laravel_session=eyJpdiI6Ik1uS09RQWRQRmRwTFA1WW9EbnFubFE9PSIsInZhbHVlIjoielU1ajE4cmtFYUdGNEtscThmT3RISzNaQzRrVHVkZXQ5WnEwUVBtaDhGYmcwcWhtdnIrOTJkSm9HZXhoL3k5UkFMT1FQNzVYOTgxVDJIVEVEWEE0L3M1ZzlZamIrUEtwTUJwMUxCVjQwM1R6ejFvY1Y1U1FObzRudkh0SVpDd3YiLCJtYWMiOiIwZmVkZTJhM2JiNGM2YjU5ZDAyN2ZjYjUxYzFkYTI5NTBlYWFiMTVlZWI0Y2ZiMjg4NDFiZTk2MGFhMzcxODgyIiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:48 GMT; Max-Age=60000000000; path=/; httponly; samesite=lax
{
"data": "error"
}
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 Controller End_points
APIs for the vendor
Get vendor products.
requires authentication
Vendor needs to be authenticated
Example request:
curl --request GET \
--get "https://dev.yaita.co.zw/public/vendor" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/vendor"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (200):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
set-cookie: XSRF-TOKEN=eyJpdiI6Ilh2NEdEV3NxL1VHSVFQdkNNSnN4K1E9PSIsInZhbHVlIjoiWHZsaDRUVnVWRTdHOUtGWDRHaHYxKytZb1Z1T2N1TXhiRG1uZ2lBZ3NrUllZRzBOcWNpMGFYTUtyLzBVVEE1cGYxWHF2bTFzc25iVHBFQlRWdUZxdmdyT29xakgweDBCUEVCTVM2cmZ6UWY1alhSNHFZWDhFaFdFZ0lhYjdrSC8iLCJtYWMiOiI2Nzk3NjE4YmU1NWNiMDA3ZGI1YzNlNDc5NjIwYjgyNWJkMGM4YmE0ZTYyMTk1M2QwMjUwODRlYzQxMDcwMDVkIiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; samesite=lax; laravel_session=eyJpdiI6IkwrU1F5YzdQUk04MEJTR1g2bHFvZ0E9PSIsInZhbHVlIjoiK2hGWlRPRWdnY0dMY0tvZjA1UU5wVzJQRlNlTWlTMlUyMnNPRk1UQkh5OFdYSW9RVDR5bnQ3NmM0TGhHQ2FnUHlBZXhpSTBOWXJVQXk2M1Qxb0RsK21uMUYrQ2ZBQlFaSTJTWU55Qm9aVWpldWI4NXIxZldYTlZlb2dHZ2s4aGkiLCJtYWMiOiIwMWI4MGM1ZDFkYTk1OTllY2FjOTM5ZDJkNzczMjRkOTk2NzFlNmJiN2U1NjRlZjk5NWYzMDU5NGE5MjJiMjc1IiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; httponly; samesite=lax
{
"data": []
}
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 vendor/create
Example request:
curl --request GET \
--get "https://dev.yaita.co.zw/public/vendor/create" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/vendor/create"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (200):
Show headers
content-type: text/html; charset=UTF-8
cache-control: no-cache, private
access-control-allow-origin: *
set-cookie: XSRF-TOKEN=eyJpdiI6IjhXNjRvamdnNEU4UE8xZ2wyTGtPK0E9PSIsInZhbHVlIjoiaTdldVcraytBYWZsek5CVFplTkFnb1pKL2lUVXhJVk1Fb0ZpVVVSMzBXWE4wR0JqeWlNYmFDcE5jRzZlRC8xR3pQNWh4NnMvVUM1VGlFMFljSVR3NWJ5WjhDZXRBRGZNbzBROXl1WUZJRU9iSVNQSVRZZHRRdUtNMDFZUzdkVmQiLCJtYWMiOiI3MDQ4YWFkMzcyYzNkM2MyYzliM2JhMDZmZWZmZGRmOWUwYjI1ZDI3Yzg2MGY5NzZkZmFiOTI0OTc2ZGRhZTEzIiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; samesite=lax; laravel_session=eyJpdiI6IkRiWEVNT3JmeXdQSmd0MlFzbHRuK1E9PSIsInZhbHVlIjoiZ25CZlBvYTErNjBTb3ppTDBVaXVWWkFHUXp6YUhSOHNHTzE5TktxUWZrZGp6Rk1waGZENUhmT0J5Z0ZMcnUvS1NJeG1BMDVwYnJReXdTbzVHV3Vkb2kzYkdVMm8rV3RtQnpjQUNsTW5abmFJbkpLeXNMby9QcGRkN3lMMXdsL2giLCJtYWMiOiJjMjgyODNmZjU1ZTE4ODMwNTUyZjQ3NmRkMDJlZjY1MWRhNTk3MmNjZTZiYTRhNWZkMjM4ZWU0MjVmNDllZmVjIiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; httponly; samesite=lax
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.
Create vendor account.
the type can be 2=>pro customer 3=> pro_plus customer 4=> groth plus customer 0 or 1 free account customer
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/vendor" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"type\": 2,
\"name\": \"voluptas\",
\"email\": \"leila25@example.net\",
\"address\": \"veniam\",
\"phone\": \"suscipit\",
\"logo\": \"laborum\",
\"password\": \",Vo&\\\"\\\\`J1U-{E&k\",
\"busnessname\": \"quo\"
}"
const url = new URL(
"https://dev.yaita.co.zw/public/vendor"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"type": 2,
"name": "voluptas",
"email": "leila25@example.net",
"address": "veniam",
"phone": "suscipit",
"logo": "laborum",
"password": ",Vo&\"\\`J1U-{E&k",
"busnessname": "quo"
};
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.
Not In use
Example request:
curl --request GET \
--get "https://dev.yaita.co.zw/public/vendor/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/vendor/1"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (500):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
set-cookie: XSRF-TOKEN=eyJpdiI6ImREYkZseCtreSs5bVF5Zm5BYWhha0E9PSIsInZhbHVlIjoiTnp5Ym9JeWlTQTVzNXI5SG03NEtFMXF5SFJlY0RoTXRpSlFMNmhMWmpuT2xBam9XYjRsbE42SGwwZEdUZGt2bDA2Q3ZFNmEzeDQxbmJSYU4zUXZEbUgvQkwrbjlTeXQxZVpEVzBRTkUvZ0xqN001N2Rmb2gyMnFUWTJyWmhGanAiLCJtYWMiOiJkOGE4MWE0Y2Y5NTQ2ZGQ2NWM1Mjg4YWQ5YWYxZjk3MmVhMGQxZTAwZjRkOGE5M2YyYzc3NzU1OWRmZDMzMTM5IiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; samesite=lax; laravel_session=eyJpdiI6IkxadnV3QTB3QVF3YndGOUZyQVU3WGc9PSIsInZhbHVlIjoieTd2eUQrdE5Xdkg0UTJEWWROblk2ZWp6VzZMc1EyYXVDb21tRTZuNTR6ZzBJY08rK1lMamRRc001T3B1NGNEQkdBSGFqMXI5MEUvcWdoMFN6TGdWelNnQ3VkUW80NCtGNldOakxxcy9WY3Zsc01tbytaeW5ueHZDYm1pZTh3bmoiLCJtYWMiOiI4OWQ4MGEzOTgyMDUzMjEyMGM5MzRiOGYyNjZhNTczMDM0NjhkOTM5Zjk4MjUxMzk0ZTdiMmIzMGExNzcyMGY0IiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; httponly; samesite=lax
{
"message": "Server Error"
}
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.
Not in use
Example request:
curl --request GET \
--get "https://dev.yaita.co.zw/public/vendor/1/edit" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/vendor/1/edit"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (200):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
set-cookie: XSRF-TOKEN=eyJpdiI6ImgxdFk5TjBlbU5iZmpQWUNnVjZ0N0E9PSIsInZhbHVlIjoibURPSlVpWUlvenVXQVAxb1VxQ01oMHZ0WTdadHZYaXlqKzFCM2NrOWg0MUJEN2dJRTNZU1AzWFQzV2NKcStBUitmbEZqMEhjeE84a3ZzT1hBZ2VrSnQyL0F6OW5YWEtvZUhIb25NT3FyUldMTktCcDkyTWo0R2RwUTVLcGI4VnkiLCJtYWMiOiJmY2Y3NjYxN2E2NmVjOWFhZjdmZGQ3MWJhZDVhYTVkYTMzYTNhZWM3MzhkMjU2NzRlMDRkNmQxMjUzN2UxYTZjIiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; samesite=lax; laravel_session=eyJpdiI6IjZ0Q3RSV2ZqbHA2VXpXK1l0N2d6aGc9PSIsInZhbHVlIjoiL0lLN2QrZDl2L1JNV2R1WjIzQ3l6elgyQy9lcEY1YnJXbE94d3JCamJ6NVRKU01mVGsxMS9wcnNmNzdmZUdXVEJtY3lwR3VPd25WYU1rV042c3dkYjUrQ2VyS3pST1JoZFVPQ2NmbGljNFIwV3M0OU05MkM0NUk3SmpSaGU4eTEiLCJtYWMiOiJlMjM2NmViYmNjMzc3YmQ4YWNmYjczODNmNzk2ZTViYTVkODAxOGI2Zjc1ZTkxMzE4NjM4OWJmYzZhZTI0YWNiIiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; httponly; samesite=lax
[
"data",
{
"id": 1,
"name": "Ali",
"busnessname": "test",
"email": "test@gmail.com",
"phone": "NULL",
"address": "NULL",
"status": 1,
"bank": "NULL",
"account_number": "NULL",
"isfree": 0,
"iscenter": 0,
"ispro": 1,
"growth": 0,
"growthplus": 0,
"branch": "NULL",
"billing_phone": "NULL",
"billing_name": "NULL",
"mobile_billing_type": "NULL",
"last_active": "2024-08-04 15:36:21",
"free": 0,
"created_at": null,
"updated_at": "2024-08-04T15:36:21.000000Z"
}
]
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.
Not in use
Example request:
curl --request PUT \
"https://dev.yaita.co.zw/public/vendor/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/vendor/1"
);
const headers = {
"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.
Not in use
Example request:
curl --request DELETE \
"https://dev.yaita.co.zw/public/vendor/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/vendor/1"
);
const headers = {
"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.
Create vendor account.
the type can be 2=>pro customer 3=> pro_plus customer 4=> groth plus customer 0 or 1 free account customer
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/signup" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"type\": 3,
\"name\": \"reprehenderit\",
\"email\": \"casandra87@example.net\",
\"address\": \"aut\",
\"phone\": \"sit\",
\"logo\": \"odit\",
\"password\": \"$o@~jxv\",
\"busnessname\": \"blanditiis\"
}"
const url = new URL(
"https://dev.yaita.co.zw/public/signup"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"type": 3,
"name": "reprehenderit",
"email": "casandra87@example.net",
"address": "aut",
"phone": "sit",
"logo": "odit",
"password": "$o@~jxv",
"busnessname": "blanditiis"
};
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.
Not in Use Create vendor account from admin dashboard.
requires authentication
Admin needs to be authenticated
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/signupfromadmin" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"type\": 10,
\"name\": \"delectus\",
\"email\": \"asa76@example.net\",
\"address\": \"et\",
\"phone\": \"tempore\",
\"logo\": \"enim\",
\"password\": \"L\\\"=0TDr#^]ByQ\",
\"busnessname\": \"est\"
}"
const url = new URL(
"https://dev.yaita.co.zw/public/signupfromadmin"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"type": 10,
"name": "delectus",
"email": "asa76@example.net",
"address": "et",
"phone": "tempore",
"logo": "enim",
"password": "L\"=0TDr#^]ByQ",
"busnessname": "est"
};
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 getactive_today
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/getactive_today" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/getactive_today"
);
const headers = {
"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 vendor products filtered by fullfilement center.
requires authentication
Vendor needs to be authenticated
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/filteredvendorproducts" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"f_center\": 17
}"
const url = new URL(
"https://dev.yaita.co.zw/public/filteredvendorproducts"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"f_center": 17
};
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 filtered vendor Orders.
requires authentication
Vendor needs to be authenticated
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/filteredvendororders" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"filter\": 17
}"
const url = new URL(
"https://dev.yaita.co.zw/public/filteredvendororders"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"filter": 17
};
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.
Yaita get all vendors.
requires authentication
Administrator should be authenticated
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/getallmecharntadmin" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/getallmecharntadmin"
);
const headers = {
"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.
Activate vendor account through link sent in email on create account.
Example request:
curl --request GET \
--get "https://dev.yaita.co.zw/public/activateaccount" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/activateaccount"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (500):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
set-cookie: XSRF-TOKEN=eyJpdiI6IkhqUW11Tnllb0FSOW9MQkNucFQrR1E9PSIsInZhbHVlIjoiZVhhVWNIbmhOWFdkdG90ZnV3V1dqVFYvbzgvS3hLTVR6Z29uZDZGeTVlTFBrSG84MUpWNnp3MlJ1TVNjYmlDZmwyaE5qK2E3dk1ERkZnc2ZaOEY1Z1ZWb3h0NFczRW1HdVQwT3lLOVhNT1M3MGthWG41NDM0TUR6SmsxeU9TS2ciLCJtYWMiOiI1ODlmOTAzYTA1MjM4ZWM2MDAyNWI4NGMwNWMzOThiY2VhM2M5NzlkMzQ1ODVlYTVmN2YzMjZhZWZjODFmNDQxIiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; samesite=lax; laravel_session=eyJpdiI6IkVXNmJ2Qzd3bUJqeU9LUzZuNURNTkE9PSIsInZhbHVlIjoiQWorSUx5L1ZzK21nMzJ4SXVqbmlNRGVzSnlVQ0h4ekZsK2JET0pEYXdJbFdkdVlqaXl2NC82aGkzSDJqY0NKczJwenNiTStia3duaVJPeGwrSjNKSmN3SkVJMkx0MU9zSmFpQ0RKVUJvWnozd1dBbTVSemdHRDR3ekdSRVVLU0ciLCJtYWMiOiI5YThiMjVmN2ZhYmE1ZDlmMWM1MDc2YmU2OTcyMTM3ZmJkNGY0YmExOTU0Njc4MDhhNzg5OGUxN2Q4OTQxNTAxIiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; httponly; samesite=lax
{
"message": "Server Error"
}
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 createapi
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/createapi" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/createapi"
);
const headers = {
"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 vendor dashboard statistics.
requires authentication
Vendor needs to be authenticated
Example request:
curl --request GET \
--get "https://dev.yaita.co.zw/public/getvendordashstats" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/getvendordashstats"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (200):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
set-cookie: XSRF-TOKEN=eyJpdiI6IkVJa3BPNmRma1dUTEJaWTcraG4zU1E9PSIsInZhbHVlIjoiR0hsazM5V2hnNWNPOExaUnpFMytKTTJwenl3cS9PUWRYOUphald5b2NBdW03YmdmWUd0TzV3Nm5UMVB2Tm96eVpQdlZCT2NLMFBON3ZmelU5Q25qMHFtaVNoNW4rNXpkcUhhVVlKL3ZGSnVUUTFwUFlDMENIdU8ydFJNVVZnZ0kiLCJtYWMiOiI4NjA5YTdjODkxNWM4OWQwYmUxOGQ2YmRjYmQ4M2I4MGNjY2YyNTVlZjFmMGRiMDAxZWY4MzY3Y2FjZDlmOWJjIiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; samesite=lax; laravel_session=eyJpdiI6IlFwSFZ5Vm1Ocm5mb1ZwZUViRDBETEE9PSIsInZhbHVlIjoiQ0lCZXFRWVRzVUFNKzlJOHN1SHVCbUFHRjdodkQ2a3lGMHdEYlUxV2JNOVlVNitXeFNIbXUvcXphYjNaTnNMRTBZbWszeHpYRlRaQWhxcW9UVVVjZC92eXg1c2RRNlZSOWJ0UkNId2NTaVZZemhYZGs3TE8wN1dhOGNoelBmWHEiLCJtYWMiOiI3YzdjNzY3YWFjZTQzOGEyZmNkOGZiNTIwNjRkNjFkNTlhNWM4Y2VkMTBjMTljMzlhNjVmMDIwM2U3YjNkNWQ1IiwidGFnIjoiIn0%3D; expires=Mon, 04-Jan-3926 21:42:47 GMT; Max-Age=60000000000; path=/; httponly; samesite=lax
{
"data": "fales"
}
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.
Change vendor account to pro.
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/setpro" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/setpro"
);
const headers = {
"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.
Change vendor account to growth.
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/setgrowth" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/setgrowth"
);
const headers = {
"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.
Change vendor account to growth plus.
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/setgrowthplus" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/setgrowthplus"
);
const headers = {
"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.
Change vendor account to free.
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/setondemand" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/setondemand"
);
const headers = {
"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.
Update vendor logo.
requires authentication
Vendor needs to be authenticated
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/updatevendorlogo" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"logo\": \"magni\"
}"
const url = new URL(
"https://dev.yaita.co.zw/public/updatevendorlogo"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"logo": "magni"
};
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 Vendor account.
requires authentication
Vendor needs to be authenticated
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/deleteuser" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/deleteuser"
);
const headers = {
"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.
Yaita get order details.
Order details come with the customer details and the prouducts details
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/getyaitareceipt" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"pqqz\": 1
}"
const url = new URL(
"https://dev.yaita.co.zw/public/getyaitareceipt"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"pqqz": 1
};
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 vendor orders for mobile app dashboard.
requires authentication
Vendor needs to be authenticated
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/getordersforappdash" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"filter\": \"velit\"
}"
const url = new URL(
"https://dev.yaita.co.zw/public/getordersforappdash"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"filter": "velit"
};
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 vendor orders for dashboard.
requires authentication
Vendor needs to be authenticated
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/getordersfordashtable" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"filter\": \"magni\"
}"
const url = new URL(
"https://dev.yaita.co.zw/public/getordersfordashtable"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"filter": "magni"
};
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 updatevendor
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/updatevendor" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/updatevendor"
);
const headers = {
"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.
Yaita logout vendor account.
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/logout" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/logout"
);
const headers = {
"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.
Yaita get vendor counts.
requires authentication
Administrator should be authenticated
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/vendorcount" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/vendorcount"
);
const headers = {
"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.
Yaita get new vendors.
requires authentication
Administrator should be authenticated
Example request:
curl --request POST \
"https://dev.yaita.co.zw/public/newvendors" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://dev.yaita.co.zw/public/newvendors"
);
const headers = {
"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.