Introduction
+ +This documentation aims to provide all the information you need to work with our API.
+
+<aside>As you scroll, you'll see code examples for working with the API in different programming languages in the dark area to the right (or as part of the content on mobile).
+You can switch the language used with the tabs at the top right (or from the nav menu at the top left on mobile).</aside>
+
+ Authenticating requests
+This API is not authenticated.
+ +Endpoints
+ + + +GET api/v1/module-check
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/module-check" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/module-check"
+);
+
+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
+x-ratelimit-limit: 100
+x-ratelimit-remaining: 99
+access-control-allow-origin: *
+
+
+{
+ "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 api/v1/sign-in
+ ++
+ + + + +Example request:+ + +
curl --request POST \
+ "http://localhost:8080/api/v1/sign-in" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"password\": \"consequatur\",
+ \"email\": \"carolyne.luettgen@example.org\"
+}"
+const url = new URL(
+ "http://localhost:8080/api/v1/sign-in"
+);
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "password": "consequatur",
+ "email": "carolyne.luettgen@example.org"
+};
+
+fetch(url, {
+ method: "POST",
+ headers,
+ body: JSON.stringify(body),
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ POST api/v1/submit-otp
+ ++
+ + + + +Example request:+ + +
curl --request POST \
+ "http://localhost:8080/api/v1/submit-otp" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"email\": \"qkunze@example.com\",
+ \"otp\": \"opfuudtdsufvy\"
+}"
+const url = new URL(
+ "http://localhost:8080/api/v1/submit-otp"
+);
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "email": "qkunze@example.com",
+ "otp": "opfuudtdsufvy"
+};
+
+fetch(url, {
+ method: "POST",
+ headers,
+ body: JSON.stringify(body),
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ POST api/v1/sign-up
+ ++
+ + + + +Example request:+ + +
curl --request POST \
+ "http://localhost:8080/api/v1/sign-up" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"name\": \"vmqeopfuudtdsufvyvddq\",
+ \"password\": \"OP>@;4\",
+ \"email\": \"kacey94@example.org\"
+}"
+const url = new URL(
+ "http://localhost:8080/api/v1/sign-up"
+);
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "name": "vmqeopfuudtdsufvyvddq",
+ "password": "OP>@;4",
+ "email": "kacey94@example.org"
+};
+
+fetch(url, {
+ method: "POST",
+ headers,
+ body: JSON.stringify(body),
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ POST api/v1/resend-otp
+ ++
+ + + + +Example request:+ + +
curl --request POST \
+ "http://localhost:8080/api/v1/resend-otp" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"email\": \"qkunze@example.com\"
+}"
+const url = new URL(
+ "http://localhost:8080/api/v1/resend-otp"
+);
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "email": "qkunze@example.com"
+};
+
+fetch(url, {
+ method: "POST",
+ headers,
+ body: JSON.stringify(body),
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ GET api/v1/otp-settings
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/otp-settings" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/otp-settings"
+);
+
+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
+x-ratelimit-limit: 100
+x-ratelimit-remaining: 98
+access-control-allow-origin: *
+
+
+{
+ "message": "Data fetched successfully.",
+ "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.
+
+
+
+ POST api/v1/send-reset-code
+ ++
+ + + + +Example request:+ + +
curl --request POST \
+ "http://localhost:8080/api/v1/send-reset-code" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"email\": \"qkunze@example.com\"
+}"
+const url = new URL(
+ "http://localhost:8080/api/v1/send-reset-code"
+);
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "email": "qkunze@example.com"
+};
+
+fetch(url, {
+ method: "POST",
+ headers,
+ body: JSON.stringify(body),
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ POST api/v1/verify-reset-code
+ ++
+ + + + +Example request:+ + +
curl --request POST \
+ "http://localhost:8080/api/v1/verify-reset-code" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"code\": 17,
+ \"email\": \"consequatur\"
+}"
+const url = new URL(
+ "http://localhost:8080/api/v1/verify-reset-code"
+);
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "code": 17,
+ "email": "consequatur"
+};
+
+fetch(url, {
+ method: "POST",
+ headers,
+ body: JSON.stringify(body),
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ POST api/v1/password-reset
+ ++
+ + + + +Example request:+ + +
curl --request POST \
+ "http://localhost:8080/api/v1/password-reset" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"email\": \"consequatur\",
+ \"password\": \"[2UZ5ij-e\\/dl4\"
+}"
+const url = new URL(
+ "http://localhost:8080/api/v1/password-reset"
+);
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "email": "consequatur",
+ "password": "[2UZ5ij-e\/dl4"
+};
+
+fetch(url, {
+ method: "POST",
+ headers,
+ body: JSON.stringify(body),
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ GET api/v1/default-lang
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/default-lang" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/default-lang"
+);
+
+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
+x-ratelimit-limit: 100
+x-ratelimit-remaining: 97
+access-control-allow-origin: *
+
+
+{
+ "message": "Data fetched successfully.",
+ "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 api/v1/update-expire-date
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/update-expire-date" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/update-expire-date"
+);
+
+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 api/v1/summary
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/summary" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/summary"
+);
+
+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 api/v1/dashboard
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/dashboard" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/dashboard"
+);
+
+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 api/v1/parties
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/parties" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/parties"
+);
+
+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.
+
+
+
+ Store a newly created resource in storage.
+ ++
+ + + + +Example request:+ + +
curl --request POST \
+ "http://localhost:8080/api/v1/parties" \
+ --header "Content-Type: multipart/form-data" \
+ --header "Accept: application/json" \
+ --form "name=vmqeopfuudtdsufvyvddq"\
+ --form "type=Retailer"\
+ --form "address=vmqeopfuudtdsufvyvddq"\
+ --form "credit_limit=1"\
+ --form "opening_balance=13"\
+ --form "opening_balance_type=due"\
+ --form "image=@/tmp/phpidPlHn" const url = new URL(
+ "http://localhost:8080/api/v1/parties"
+);
+
+const headers = {
+ "Content-Type": "multipart/form-data",
+ "Accept": "application/json",
+};
+
+const body = new FormData();
+body.append('name', 'vmqeopfuudtdsufvyvddq');
+body.append('type', 'Retailer');
+body.append('address', 'vmqeopfuudtdsufvyvddq');
+body.append('credit_limit', '1');
+body.append('opening_balance', '13');
+body.append('opening_balance_type', 'due');
+body.append('image', document.querySelector('input[name="image"]').files[0]);
+
+fetch(url, {
+ method: "POST",
+ headers,
+ body,
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ GET api/v1/parties/{id}
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/parties/17" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/parties/17"
+);
+
+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.
+
+
+
+ Update the specified resource in storage.
+ ++
+ + + + +Example request:+ + +
curl --request PUT \
+ "http://localhost:8080/api/v1/parties/17" \
+ --header "Content-Type: multipart/form-data" \
+ --header "Accept: application/json" \
+ --form "name=vmqeopfuudtdsufvyvddq"\
+ --form "type=Retailer"\
+ --form "address=vmqeopfuudtdsufvyvddq"\
+ --form "credit_limit=1"\
+ --form "opening_balance=13"\
+ --form "opening_balance_type=due"\
+ --form "image=@/tmp/phpNhnJln" const url = new URL(
+ "http://localhost:8080/api/v1/parties/17"
+);
+
+const headers = {
+ "Content-Type": "multipart/form-data",
+ "Accept": "application/json",
+};
+
+const body = new FormData();
+body.append('name', 'vmqeopfuudtdsufvyvddq');
+body.append('type', 'Retailer');
+body.append('address', 'vmqeopfuudtdsufvyvddq');
+body.append('credit_limit', '1');
+body.append('opening_balance', '13');
+body.append('opening_balance_type', 'due');
+body.append('image', document.querySelector('input[name="image"]').files[0]);
+
+fetch(url, {
+ method: "PUT",
+ headers,
+ body,
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ Remove the specified resource from storage.
+ ++
+ + + + +Example request:+ + +
curl --request DELETE \
+ "http://localhost:8080/api/v1/parties/17" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/parties/17"
+);
+
+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 "http://localhost:8080/api/v1/users" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/users"
+);
+
+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.
+
+
+
+ Store a newly created resource in storage.
+ ++
+ + + + +Example request:+ + +
curl --request POST \
+ "http://localhost:8080/api/v1/users" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"name\": \"vmqeopfuudtdsufvyvddq\",
+ \"password\": \"OP>@;4\",
+ \"email\": \"kacey94@example.org\"
+}"
+const url = new URL(
+ "http://localhost:8080/api/v1/users"
+);
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "name": "vmqeopfuudtdsufvyvddq",
+ "password": "OP>@;4",
+ "email": "kacey94@example.org"
+};
+
+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.
+
+
+
+ Update the specified resource in storage.
+ ++
+ + + + +Example request:+ + +
curl --request PUT \
+ "http://localhost:8080/api/v1/users/17" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"name\": \"vmqeopfuudtdsufvyvddq\",
+ \"password\": \"OP>@;4\"
+}"
+const url = new URL(
+ "http://localhost:8080/api/v1/users/17"
+);
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "name": "vmqeopfuudtdsufvyvddq",
+ "password": "OP>@;4"
+};
+
+fetch(url, {
+ method: "PUT",
+ headers,
+ body: JSON.stringify(body),
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ Remove the specified resource from storage.
+ ++
+ + + + +Example request:+ + +
curl --request DELETE \
+ "http://localhost:8080/api/v1/users/17" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/users/17"
+);
+
+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 "http://localhost:8080/api/v1/units" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/units"
+);
+
+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.
+
+
+
+ Store a newly created resource in storage.
+ ++
+ + + + +Example request:+ + +
curl --request POST \
+ "http://localhost:8080/api/v1/units" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+const url = new URL(
+ "http://localhost:8080/api/v1/units"
+);
+
+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 the specified resource in storage.
+ ++
+ + + + +Example request:+ + +
curl --request PUT \
+ "http://localhost:8080/api/v1/units/17" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"unitName\": \"consequatur\"
+}"
+const url = new URL(
+ "http://localhost:8080/api/v1/units/17"
+);
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "unitName": "consequatur"
+};
+
+fetch(url, {
+ method: "PUT",
+ headers,
+ body: JSON.stringify(body),
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ Remove the specified resource from storage.
+ ++
+ + + + +Example request:+ + +
curl --request DELETE \
+ "http://localhost:8080/api/v1/units/17" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/units/17"
+);
+
+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 "http://localhost:8080/api/v1/brands" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/brands"
+);
+
+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.
+
+
+
+ Store a newly created resource in storage.
+ ++
+ + + + +Example request:+ + +
curl --request POST \
+ "http://localhost:8080/api/v1/brands" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+const url = new URL(
+ "http://localhost:8080/api/v1/brands"
+);
+
+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 the specified resource in storage.
+ ++
+ + + + +Example request:+ + +
curl --request PUT \
+ "http://localhost:8080/api/v1/brands/17" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"brandName\": \"consequatur\"
+}"
+const url = new URL(
+ "http://localhost:8080/api/v1/brands/17"
+);
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "brandName": "consequatur"
+};
+
+fetch(url, {
+ method: "PUT",
+ headers,
+ body: JSON.stringify(body),
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ Remove the specified resource from storage.
+ ++
+ + + + +Example request:+ + +
curl --request DELETE \
+ "http://localhost:8080/api/v1/brands/17" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/brands/17"
+);
+
+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 "http://localhost:8080/api/v1/categories" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/categories"
+);
+
+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.
+
+
+
+ Store a newly created resource in storage.
+ ++
+ + + + +Example request:+ + +
curl --request POST \
+ "http://localhost:8080/api/v1/categories" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+const url = new URL(
+ "http://localhost:8080/api/v1/categories"
+);
+
+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 the specified resource in storage.
+ ++
+ + + + +Example request:+ + +
curl --request PUT \
+ "http://localhost:8080/api/v1/categories/17" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"categoryName\": \"consequatur\"
+}"
+const url = new URL(
+ "http://localhost:8080/api/v1/categories/17"
+);
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "categoryName": "consequatur"
+};
+
+fetch(url, {
+ method: "PUT",
+ headers,
+ body: JSON.stringify(body),
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ Remove the specified resource from storage.
+ ++
+ + + + +Example request:+ + +
curl --request DELETE \
+ "http://localhost:8080/api/v1/categories/17" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/categories/17"
+);
+
+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 "http://localhost:8080/api/v1/products" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/products"
+);
+
+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.
+
+
+
+ POST api/v1/products
+ ++
+ + + + +Example request:+ + +
curl --request POST \
+ "http://localhost:8080/api/v1/products" \
+ --header "Content-Type: multipart/form-data" \
+ --header "Accept: application/json" \
+ --form "vat_type=exclusive"\
+ --form "productName=mqeopfuudtdsufvyvddqa"\
+ --form "alert_qty=73"\
+ --form "size=mqeopfuudtdsufvyvddqa"\
+ --form "type=mniihfqcoynlazghdtqtq"\
+ --form "color=xbajwbpilpmufinllwloa"\
+ --form "weight=uydlsmsjuryvojcybzvrb"\
+ --form "capacity=yickznkygloigmkwxphlv"\
+ --form "productManufacturer=azjrcnfbaqywuxhgjjmzu"\
+ --form "product_type=variant"\
+ --form "stocks[][productStock]=10"\
+ --form "stocks[][exclusive_price]=20"\
+ --form "stocks[][inclusive_price]=2"\
+ --form "stocks[][profit_percent]=16"\
+ --form "stocks[][productSalePrice]=14"\
+ --form "stocks[][productWholeSalePrice]=20"\
+ --form "stocks[][productDealerPrice]=25"\
+ --form "stocks[][mfg_date]=2026-04-25T14:39:34"\
+ --form "stocks[][expire_date]=2107-05-25"\
+ --form "combo_products[][quantity]=45"\
+ --form "productPicture=@/tmp/phpIlpNJB" const url = new URL(
+ "http://localhost:8080/api/v1/products"
+);
+
+const headers = {
+ "Content-Type": "multipart/form-data",
+ "Accept": "application/json",
+};
+
+const body = new FormData();
+body.append('vat_type', 'exclusive');
+body.append('productName', 'mqeopfuudtdsufvyvddqa');
+body.append('alert_qty', '73');
+body.append('size', 'mqeopfuudtdsufvyvddqa');
+body.append('type', 'mniihfqcoynlazghdtqtq');
+body.append('color', 'xbajwbpilpmufinllwloa');
+body.append('weight', 'uydlsmsjuryvojcybzvrb');
+body.append('capacity', 'yickznkygloigmkwxphlv');
+body.append('productManufacturer', 'azjrcnfbaqywuxhgjjmzu');
+body.append('product_type', 'variant');
+body.append('stocks[][productStock]', '10');
+body.append('stocks[][exclusive_price]', '20');
+body.append('stocks[][inclusive_price]', '2');
+body.append('stocks[][profit_percent]', '16');
+body.append('stocks[][productSalePrice]', '14');
+body.append('stocks[][productWholeSalePrice]', '20');
+body.append('stocks[][productDealerPrice]', '25');
+body.append('stocks[][mfg_date]', '2026-04-25T14:39:34');
+body.append('stocks[][expire_date]', '2107-05-25');
+body.append('combo_products[][quantity]', '45');
+body.append('productPicture', document.querySelector('input[name="productPicture"]').files[0]);
+
+fetch(url, {
+ method: "POST",
+ headers,
+ body,
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ GET api/v1/products/{id}
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/products/consequatur" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/products/consequatur"
+);
+
+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.
+
+
+
+ Update the specified resource in storage.
+ ++
+ + + + +Example request:+ + +
curl --request PUT \
+ "http://localhost:8080/api/v1/products/17" \
+ --header "Content-Type: multipart/form-data" \
+ --header "Accept: application/json" \
+ --form "vat_type=exclusive"\
+ --form "productName=mqeopfuudtdsufvyvddqa"\
+ --form "alert_qty=73"\
+ --form "size=mqeopfuudtdsufvyvddqa"\
+ --form "type=mniihfqcoynlazghdtqtq"\
+ --form "color=xbajwbpilpmufinllwloa"\
+ --form "weight=uydlsmsjuryvojcybzvrb"\
+ --form "capacity=yickznkygloigmkwxphlv"\
+ --form "productManufacturer=azjrcnfbaqywuxhgjjmzu"\
+ --form "product_type=variant"\
+ --form "stocks[][productStock]=10"\
+ --form "stocks[][exclusive_price]=20"\
+ --form "stocks[][inclusive_price]=2"\
+ --form "stocks[][profit_percent]=16"\
+ --form "stocks[][productSalePrice]=14"\
+ --form "stocks[][productWholeSalePrice]=20"\
+ --form "stocks[][productDealerPrice]=25"\
+ --form "stocks[][mfg_date]=2026-04-25T14:39:34"\
+ --form "stocks[][expire_date]=2107-05-25"\
+ --form "combo_products[][quantity]=45"\
+ --form "productPicture=@/tmp/phphmopkB" const url = new URL(
+ "http://localhost:8080/api/v1/products/17"
+);
+
+const headers = {
+ "Content-Type": "multipart/form-data",
+ "Accept": "application/json",
+};
+
+const body = new FormData();
+body.append('vat_type', 'exclusive');
+body.append('productName', 'mqeopfuudtdsufvyvddqa');
+body.append('alert_qty', '73');
+body.append('size', 'mqeopfuudtdsufvyvddqa');
+body.append('type', 'mniihfqcoynlazghdtqtq');
+body.append('color', 'xbajwbpilpmufinllwloa');
+body.append('weight', 'uydlsmsjuryvojcybzvrb');
+body.append('capacity', 'yickznkygloigmkwxphlv');
+body.append('productManufacturer', 'azjrcnfbaqywuxhgjjmzu');
+body.append('product_type', 'variant');
+body.append('stocks[][productStock]', '10');
+body.append('stocks[][exclusive_price]', '20');
+body.append('stocks[][inclusive_price]', '2');
+body.append('stocks[][profit_percent]', '16');
+body.append('stocks[][productSalePrice]', '14');
+body.append('stocks[][productWholeSalePrice]', '20');
+body.append('stocks[][productDealerPrice]', '25');
+body.append('stocks[][mfg_date]', '2026-04-25T14:39:34');
+body.append('stocks[][expire_date]', '2107-05-25');
+body.append('combo_products[][quantity]', '45');
+body.append('productPicture', document.querySelector('input[name="productPicture"]').files[0]);
+
+fetch(url, {
+ method: "PUT",
+ headers,
+ body,
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ Remove the specified resource from storage.
+ ++
+ + + + +Example request:+ + +
curl --request DELETE \
+ "http://localhost:8080/api/v1/products/17" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/products/17"
+);
+
+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.
+
+
+
+ Store a newly created resource in storage.
+ ++
+ + + + +Example request:+ + +
curl --request POST \
+ "http://localhost:8080/api/v1/stocks" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"productStock\": 17,
+ \"stock_id\": \"consequatur\"
+}"
+const url = new URL(
+ "http://localhost:8080/api/v1/stocks"
+);
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "productStock": 17,
+ "stock_id": "consequatur"
+};
+
+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.
+
+
+
+ Update the specified resource in storage.
+ ++
+ + + + +Example request:+ + +
curl --request PUT \
+ "http://localhost:8080/api/v1/stocks/consequatur" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/stocks/consequatur"
+);
+
+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 \
+ "http://localhost:8080/api/v1/stocks/consequatur" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/stocks/consequatur"
+);
+
+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 api/v1/business
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/business" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/business"
+);
+
+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.
+
+
+
+ POST api/v1/business
+ ++
+ + + + +Example request:+ + +
curl --request POST \
+ "http://localhost:8080/api/v1/business" \
+ --header "Content-Type: multipart/form-data" \
+ --header "Accept: application/json" \
+ --form "address=vmqeopfuudtdsufvyvddq"\
+ --form "companyName=amniihfqcoynlazghdtqt"\
+ --form "shopOpeningBalance=11613.31890586"\
+ --form "business_category_id=consequatur"\
+ --form "pictureUrl=@/tmp/phpIMNggC" const url = new URL(
+ "http://localhost:8080/api/v1/business"
+);
+
+const headers = {
+ "Content-Type": "multipart/form-data",
+ "Accept": "application/json",
+};
+
+const body = new FormData();
+body.append('address', 'vmqeopfuudtdsufvyvddq');
+body.append('companyName', 'amniihfqcoynlazghdtqt');
+body.append('shopOpeningBalance', '11613.31890586');
+body.append('business_category_id', 'consequatur');
+body.append('pictureUrl', document.querySelector('input[name="pictureUrl"]').files[0]);
+
+fetch(url, {
+ method: "POST",
+ headers,
+ body,
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ PUT api/v1/business/{id}
+ ++
+ + + + +Example request:+ + +
curl --request PUT \
+ "http://localhost:8080/api/v1/business/17" \
+ --header "Content-Type: multipart/form-data" \
+ --header "Accept: application/json" \
+ --form "address=vmqeopfuudtdsufvyvddq"\
+ --form "companyName=amniihfqcoynlazghdtqt"\
+ --form "show_company_name=1"\
+ --form "show_phone_number="\
+ --form "show_address="\
+ --form "show_email=1"\
+ --form "show_vat="\
+ --form "sale_rounding_option=nearest_whole_number"\
+ --form "invoice_size=bpilpmufinllwloauydls"\
+ --form "invoice_language=msjuryvojcybzvrbyickz"\
+ --form "gratitude_message=nkygloigmkwxphlvazjrc"\
+ --form "warranty_void_label=consequatur"\
+ --form "warranty_void=consequatur"\
+ --form "show_note="\
+ --form "show_gratitude_msg=1"\
+ --form "show_invoice_scanner_logo="\
+ --form "show_a4_invoice_logo=1"\
+ --form "show_thermal_invoice_logo=1"\
+ --form "show_warranty=1"\
+ --form "pictureUrl=@/tmp/phpDfKmPD" \
+ --form "invoice_logo=@/tmp/phpniADaD" \
+ --form "a4_invoice_logo=@/tmp/phpaHhaaD" \
+ --form "thermal_invoice_logo=@/tmp/phpihnkaD" \
+ --form "invoice_scanner_logo=@/tmp/phphfCIbD" const url = new URL(
+ "http://localhost:8080/api/v1/business/17"
+);
+
+const headers = {
+ "Content-Type": "multipart/form-data",
+ "Accept": "application/json",
+};
+
+const body = new FormData();
+body.append('address', 'vmqeopfuudtdsufvyvddq');
+body.append('companyName', 'amniihfqcoynlazghdtqt');
+body.append('show_company_name', '1');
+body.append('show_phone_number', '');
+body.append('show_address', '');
+body.append('show_email', '1');
+body.append('show_vat', '');
+body.append('sale_rounding_option', 'nearest_whole_number');
+body.append('invoice_size', 'bpilpmufinllwloauydls');
+body.append('invoice_language', 'msjuryvojcybzvrbyickz');
+body.append('gratitude_message', 'nkygloigmkwxphlvazjrc');
+body.append('warranty_void_label', 'consequatur');
+body.append('warranty_void', 'consequatur');
+body.append('show_note', '');
+body.append('show_gratitude_msg', '1');
+body.append('show_invoice_scanner_logo', '');
+body.append('show_a4_invoice_logo', '1');
+body.append('show_thermal_invoice_logo', '1');
+body.append('show_warranty', '1');
+body.append('pictureUrl', document.querySelector('input[name="pictureUrl"]').files[0]);
+body.append('invoice_logo', document.querySelector('input[name="invoice_logo"]').files[0]);
+body.append('a4_invoice_logo', document.querySelector('input[name="a4_invoice_logo"]').files[0]);
+body.append('thermal_invoice_logo', document.querySelector('input[name="thermal_invoice_logo"]').files[0]);
+body.append('invoice_scanner_logo', document.querySelector('input[name="invoice_scanner_logo"]').files[0]);
+
+fetch(url, {
+ method: "PUT",
+ headers,
+ body,
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ GET api/v1/business-categories
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/business-categories" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/business-categories"
+);
+
+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 api/v1/purchase
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/purchase" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/purchase"
+);
+
+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.
+
+
+
+ Store a newly created resource in storage.
+ ++
+ + + + +Example request:+ + +
curl --request POST \
+ "http://localhost:8080/api/v1/purchase" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"products\": [
+ {
+ \"product_id\": \"consequatur\"
+ }
+ ],
+ \"party_id\": \"consequatur\"
+}"
+const url = new URL(
+ "http://localhost:8080/api/v1/purchase"
+);
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "products": [
+ {
+ "product_id": "consequatur"
+ }
+ ],
+ "party_id": "consequatur"
+};
+
+fetch(url, {
+ method: "POST",
+ headers,
+ body: JSON.stringify(body),
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ GET api/v1/purchase/{id}
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/purchase/consequatur" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/purchase/consequatur"
+);
+
+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.
+
+
+
+ Update the specified resource in storage.
+ ++
+ + + + +Example request:+ + +
curl --request PUT \
+ "http://localhost:8080/api/v1/purchase/17" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"products\": [
+ {
+ \"product_id\": \"consequatur\"
+ }
+ ],
+ \"party_id\": \"consequatur\"
+}"
+const url = new URL(
+ "http://localhost:8080/api/v1/purchase/17"
+);
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "products": [
+ {
+ "product_id": "consequatur"
+ }
+ ],
+ "party_id": "consequatur"
+};
+
+fetch(url, {
+ method: "PUT",
+ headers,
+ body: JSON.stringify(body),
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ Remove the specified resource from storage.
+ ++
+ + + + +Example request:+ + +
curl --request DELETE \
+ "http://localhost:8080/api/v1/purchase/17" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/purchase/17"
+);
+
+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 api/v1/sales
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/sales" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/sales"
+);
+
+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.
+
+
+
+ Store a newly created resource in storage.
+ ++
+ + + + +Example request:+ + +
curl --request POST \
+ "http://localhost:8080/api/v1/sales" \
+ --header "Content-Type: multipart/form-data" \
+ --header "Accept: application/json" \
+ --form "products=consequatur"\
+ --form "saleDate=2026-04-25T14:39:34"\
+ --form "rounding_option=nearest_0.05"\
+ --form "image=@/tmp/phpKCJEeF" const url = new URL(
+ "http://localhost:8080/api/v1/sales"
+);
+
+const headers = {
+ "Content-Type": "multipart/form-data",
+ "Accept": "application/json",
+};
+
+const body = new FormData();
+body.append('products', 'consequatur');
+body.append('saleDate', '2026-04-25T14:39:34');
+body.append('rounding_option', 'nearest_0.05');
+body.append('image', document.querySelector('input[name="image"]').files[0]);
+
+fetch(url, {
+ method: "POST",
+ headers,
+ body,
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ GET api/v1/sales/{id}
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/sales/consequatur" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/sales/consequatur"
+);
+
+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.
+
+
+
+ Update the specified resource in storage.
+ ++
+ + + + +Example request:+ + +
curl --request PUT \
+ "http://localhost:8080/api/v1/sales/consequatur" \
+ --header "Content-Type: multipart/form-data" \
+ --header "Accept: application/json" \
+ --form "products=consequatur"\
+ --form "saleDate=2026-04-25T14:39:34"\
+ --form "rounding_option=nearest_0.05"\
+ --form "image=@/tmp/phpcpOmkF" const url = new URL(
+ "http://localhost:8080/api/v1/sales/consequatur"
+);
+
+const headers = {
+ "Content-Type": "multipart/form-data",
+ "Accept": "application/json",
+};
+
+const body = new FormData();
+body.append('products', 'consequatur');
+body.append('saleDate', '2026-04-25T14:39:34');
+body.append('rounding_option', 'nearest_0.05');
+body.append('image', document.querySelector('input[name="image"]').files[0]);
+
+fetch(url, {
+ method: "PUT",
+ headers,
+ body,
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ Remove the specified resource from storage.
+ ++
+ + + + +Example request:+ + +
curl --request DELETE \
+ "http://localhost:8080/api/v1/sales/17" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/sales/17"
+);
+
+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 api/v1/reports/loss-profit
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/reports/loss-profit" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/reports/loss-profit"
+);
+
+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 api/v1/reports/cashflow
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/reports/cashflow" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/reports/cashflow"
+);
+
+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 api/v1/reports/balance-sheet
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/reports/balance-sheet" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/reports/balance-sheet"
+);
+
+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 api/v1/reports/subscription
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/reports/subscription" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/reports/subscription"
+);
+
+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 api/v1/reports/tax
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/reports/tax" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/reports/tax"
+);
+
+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 api/v1/reports/bill-wise-profit
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/reports/bill-wise-profit" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/reports/bill-wise-profit"
+);
+
+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 api/v1/reports/product-sale-history
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/reports/product-sale-history" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/reports/product-sale-history"
+);
+
+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 api/v1/reports/product-sale-history/{id}
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/reports/product-sale-history/consequatur" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/reports/product-sale-history/consequatur"
+);
+
+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 api/v1/reports/product-purchase-history
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/reports/product-purchase-history" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/reports/product-purchase-history"
+);
+
+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 api/v1/reports/product-purchase-history/{id}
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/reports/product-purchase-history/consequatur" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/reports/product-purchase-history/consequatur"
+);
+
+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.
+
+
+
+ Display a listing of the resource.
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/sales-return" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/sales-return"
+);
+
+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.
+
+
+
+ Store a newly created resource in storage.
+ ++
+ + + + +Example request:+ + +
curl --request POST \
+ "http://localhost:8080/api/v1/sales-return" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"sale_id\": \"consequatur\",
+ \"return_qty\": []
+}"
+const url = new URL(
+ "http://localhost:8080/api/v1/sales-return"
+);
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "sale_id": "consequatur",
+ "return_qty": []
+};
+
+fetch(url, {
+ method: "POST",
+ headers,
+ body: JSON.stringify(body),
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ GET api/v1/sales-return/{id}
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/sales-return/consequatur" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/sales-return/consequatur"
+);
+
+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.
+
+
+
+ Display a listing of the resource.
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/purchases-return" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/purchases-return"
+);
+
+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.
+
+
+
+ Store a newly created resource in storage.
+ ++
+ + + + +Example request:+ + +
curl --request POST \
+ "http://localhost:8080/api/v1/purchases-return" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"purchase_id\": \"consequatur\",
+ \"return_qty\": []
+}"
+const url = new URL(
+ "http://localhost:8080/api/v1/purchases-return"
+);
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "purchase_id": "consequatur",
+ "return_qty": []
+};
+
+fetch(url, {
+ method: "POST",
+ headers,
+ body: JSON.stringify(body),
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ GET api/v1/purchases-return/{id}
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/purchases-return/consequatur" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/purchases-return/consequatur"
+);
+
+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 api/v1/invoices
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/invoices" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"party_id\": \"consequatur\"
+}"
+const url = new URL(
+ "http://localhost:8080/api/v1/invoices"
+);
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "party_id": "consequatur"
+};
+
+fetch(url, {
+ method: "GET",
+ headers,
+ body: JSON.stringify(body),
+}).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 api/v1/dues
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/dues" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/dues"
+);
+
+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.
+
+
+
+ POST api/v1/dues
+ ++
+ + + + +Example request:+ + +
curl --request POST \
+ "http://localhost:8080/api/v1/dues" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"paymentDate\": \"consequatur\",
+ \"payDueAmount\": 11613.31890586,
+ \"party_id\": \"consequatur\"
+}"
+const url = new URL(
+ "http://localhost:8080/api/v1/dues"
+);
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "paymentDate": "consequatur",
+ "payDueAmount": 11613.31890586,
+ "party_id": "consequatur"
+};
+
+fetch(url, {
+ method: "POST",
+ headers,
+ body: JSON.stringify(body),
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ GET api/v1/invoice-wise-dues
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/invoice-wise-dues" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/invoice-wise-dues"
+);
+
+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.
+
+
+
+ POST api/v1/collect-invoice-due
+ ++
+ + + + +Example request:+ + +
curl --request POST \
+ "http://localhost:8080/api/v1/collect-invoice-due" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"paymentDate\": \"consequatur\",
+ \"payDueAmount\": 11613.31890586,
+ \"invoiceNumber\": \"consequatur\"
+}"
+const url = new URL(
+ "http://localhost:8080/api/v1/collect-invoice-due"
+);
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "paymentDate": "consequatur",
+ "payDueAmount": 11613.31890586,
+ "invoiceNumber": "consequatur"
+};
+
+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 a listing of the resource.
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/expense-categories" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/expense-categories"
+);
+
+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.
+
+
+
+ Store a newly created resource in storage.
+ ++
+ + + + +Example request:+ + +
curl --request POST \
+ "http://localhost:8080/api/v1/expense-categories" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+const url = new URL(
+ "http://localhost:8080/api/v1/expense-categories"
+);
+
+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 the specified resource in storage.
+ ++
+ + + + +Example request:+ + +
curl --request PUT \
+ "http://localhost:8080/api/v1/expense-categories/consequatur" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"categoryName\": \"consequatur\"
+}"
+const url = new URL(
+ "http://localhost:8080/api/v1/expense-categories/consequatur"
+);
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "categoryName": "consequatur"
+};
+
+fetch(url, {
+ method: "PUT",
+ headers,
+ body: JSON.stringify(body),
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ Remove the specified resource from storage.
+ ++
+ + + + +Example request:+ + +
curl --request DELETE \
+ "http://localhost:8080/api/v1/expense-categories/consequatur" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/expense-categories/consequatur"
+);
+
+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 api/v1/expenses
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/expenses" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/expenses"
+);
+
+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.
+
+
+
+ Store a newly created resource in storage.
+ ++
+ + + + +Example request:+ + +
curl --request POST \
+ "http://localhost:8080/api/v1/expenses" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"expense_category_id\": \"consequatur\",
+ \"expanseFor\": \"consequatur\",
+ \"referenceNo\": \"consequatur\",
+ \"note\": \"consequatur\",
+ \"payments\": [
+ {
+ \"type\": \"consequatur\",
+ \"amount\": 45
+ }
+ ]
+}"
+const url = new URL(
+ "http://localhost:8080/api/v1/expenses"
+);
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "expense_category_id": "consequatur",
+ "expanseFor": "consequatur",
+ "referenceNo": "consequatur",
+ "note": "consequatur",
+ "payments": [
+ {
+ "type": "consequatur",
+ "amount": 45
+ }
+ ]
+};
+
+fetch(url, {
+ method: "POST",
+ headers,
+ body: JSON.stringify(body),
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ GET api/v1/income-categories
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/income-categories" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/income-categories"
+);
+
+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.
+
+
+
+ Store a newly created resource in storage.
+ ++
+ + + + +Example request:+ + +
curl --request POST \
+ "http://localhost:8080/api/v1/income-categories" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+const url = new URL(
+ "http://localhost:8080/api/v1/income-categories"
+);
+
+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 the specified resource in storage.
+ ++
+ + + + +Example request:+ + +
curl --request PUT \
+ "http://localhost:8080/api/v1/income-categories/consequatur" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"categoryName\": \"consequatur\"
+}"
+const url = new URL(
+ "http://localhost:8080/api/v1/income-categories/consequatur"
+);
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "categoryName": "consequatur"
+};
+
+fetch(url, {
+ method: "PUT",
+ headers,
+ body: JSON.stringify(body),
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ Remove the specified resource from storage.
+ ++
+ + + + +Example request:+ + +
curl --request DELETE \
+ "http://localhost:8080/api/v1/income-categories/consequatur" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/income-categories/consequatur"
+);
+
+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 api/v1/incomes
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/incomes" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/incomes"
+);
+
+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.
+
+
+
+ Store a newly created resource in storage.
+ ++
+ + + + +Example request:+ + +
curl --request POST \
+ "http://localhost:8080/api/v1/incomes" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"income_category_id\": \"consequatur\",
+ \"incomeFor\": \"consequatur\",
+ \"referenceNo\": \"consequatur\",
+ \"note\": \"consequatur\",
+ \"payments\": [
+ {
+ \"type\": \"consequatur\",
+ \"amount\": 45,
+ \"cheque_number\": \"consequatur\"
+ }
+ ]
+}"
+const url = new URL(
+ "http://localhost:8080/api/v1/incomes"
+);
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "income_category_id": "consequatur",
+ "incomeFor": "consequatur",
+ "referenceNo": "consequatur",
+ "note": "consequatur",
+ "payments": [
+ {
+ "type": "consequatur",
+ "amount": 45,
+ "cheque_number": "consequatur"
+ }
+ ]
+};
+
+fetch(url, {
+ method: "POST",
+ headers,
+ body: JSON.stringify(body),
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ GET api/v1/banners
+ ++
+ + + + + + + + + + +GET api/v1/lang
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/lang" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/lang"
+);
+
+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.
+
+
+
+ POST api/v1/lang
+ ++
+ + + + +Example request:+ + +
curl --request POST \
+ "http://localhost:8080/api/v1/lang" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"lang\": \"vmqeopfuudtdsufvyvddqamniihfqcoynlazghdtqtqxbajwbpilpmufinllwloauydlsmsju\"
+}"
+const url = new URL(
+ "http://localhost:8080/api/v1/lang"
+);
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "lang": "vmqeopfuudtdsufvyvddqamniihfqcoynlazghdtqtqxbajwbpilpmufinllwloauydlsmsju"
+};
+
+fetch(url, {
+ method: "POST",
+ headers,
+ body: JSON.stringify(body),
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ GET api/v1/profile
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/profile" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/profile"
+);
+
+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.
+
+
+
+ POST api/v1/profile
+ ++
+ + + + +Example request:+ + +
curl --request POST \
+ "http://localhost:8080/api/v1/profile" \
+ --header "Content-Type: multipart/form-data" \
+ --header "Accept: application/json" \
+ --form "name=vmqeopfuudtdsufvyvddq"\
+ --form "email=kunde.eloisa@example.com"\
+ --form "image=@/tmp/phpNbjGeM" const url = new URL(
+ "http://localhost:8080/api/v1/profile"
+);
+
+const headers = {
+ "Content-Type": "multipart/form-data",
+ "Accept": "application/json",
+};
+
+const body = new FormData();
+body.append('name', 'vmqeopfuudtdsufvyvddq');
+body.append('email', 'kunde.eloisa@example.com');
+body.append('image', document.querySelector('input[name="image"]').files[0]);
+
+fetch(url, {
+ method: "POST",
+ headers,
+ body,
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ GET api/v1/plans
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/plans" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/plans"
+);
+
+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 api/v1/subscribes
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/subscribes" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/subscribes"
+);
+
+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 api/v1/currencies
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/currencies" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/currencies"
+);
+
+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 api/v1/currencies/{id}
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/currencies/consequatur" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/currencies/consequatur"
+);
+
+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 api/v1/vats
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/vats" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/vats"
+);
+
+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.
+
+
+
+ POST api/v1/vats
+ ++
+ + + + +Example request:+ + +
curl --request POST \
+ "http://localhost:8080/api/v1/vats" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"name\": \"vmqeopfuudtdsufvyvddq\",
+ \"rate\": 11613.31890586
+}"
+const url = new URL(
+ "http://localhost:8080/api/v1/vats"
+);
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "name": "vmqeopfuudtdsufvyvddq",
+ "rate": 11613.31890586
+};
+
+fetch(url, {
+ method: "POST",
+ headers,
+ body: JSON.stringify(body),
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ PUT api/v1/vats/{id}
+ ++
+ + + + +Example request:+ + +
curl --request PUT \
+ "http://localhost:8080/api/v1/vats/17" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"name\": \"vmqeopfuudtdsufvyvddq\",
+ \"rate\": 11613.31890586
+}"
+const url = new URL(
+ "http://localhost:8080/api/v1/vats/17"
+);
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "name": "vmqeopfuudtdsufvyvddq",
+ "rate": 11613.31890586
+};
+
+fetch(url, {
+ method: "PUT",
+ headers,
+ body: JSON.stringify(body),
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ DELETE api/v1/vats/{id}
+ ++
+ + + + +Example request:+ + +
curl --request DELETE \
+ "http://localhost:8080/api/v1/vats/17" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/vats/17"
+);
+
+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 api/v1/payment-types
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/payment-types" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/payment-types"
+);
+
+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.
+
+
+
+ POST api/v1/payment-types
+ ++
+ + + + +Example request:+ + +
curl --request POST \
+ "http://localhost:8080/api/v1/payment-types" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"name\": \"consequatur\"
+}"
+const url = new URL(
+ "http://localhost:8080/api/v1/payment-types"
+);
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "name": "consequatur"
+};
+
+fetch(url, {
+ method: "POST",
+ headers,
+ body: JSON.stringify(body),
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ PUT api/v1/payment-types/{id}
+ ++
+ + + + +Example request:+ + +
curl --request PUT \
+ "http://localhost:8080/api/v1/payment-types/consequatur" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+const url = new URL(
+ "http://localhost:8080/api/v1/payment-types/consequatur"
+);
+
+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.
+
+
+
+ DELETE api/v1/payment-types/{id}
+ ++
+ + + + +Example request:+ + +
curl --request DELETE \
+ "http://localhost:8080/api/v1/payment-types/consequatur" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/payment-types/consequatur"
+);
+
+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 api/v1/product-models
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/product-models" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/product-models"
+);
+
+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.
+
+
+
+ POST api/v1/product-models
+ ++
+ + + + +Example request:+ + +
curl --request POST \
+ "http://localhost:8080/api/v1/product-models" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+const url = new URL(
+ "http://localhost:8080/api/v1/product-models"
+);
+
+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.
+
+
+
+ PUT api/v1/product-models/{id}
+ ++
+ + + + +Example request:+ + +
curl --request PUT \
+ "http://localhost:8080/api/v1/product-models/consequatur" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"name\": \"consequatur\"
+}"
+const url = new URL(
+ "http://localhost:8080/api/v1/product-models/consequatur"
+);
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "name": "consequatur"
+};
+
+fetch(url, {
+ method: "PUT",
+ headers,
+ body: JSON.stringify(body),
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ DELETE api/v1/product-models/{id}
+ ++
+ + + + +Example request:+ + +
curl --request DELETE \
+ "http://localhost:8080/api/v1/product-models/consequatur" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/product-models/consequatur"
+);
+
+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 api/v1/variations
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/variations" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/variations"
+);
+
+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.
+
+
+
+ POST api/v1/variations
+ ++
+ + + + +Example request:+ + +
curl --request POST \
+ "http://localhost:8080/api/v1/variations" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"name\": \"vmqeopfuudtdsufvyvddq\",
+ \"values\": \"consequatur\",
+ \"status\": 1
+}"
+const url = new URL(
+ "http://localhost:8080/api/v1/variations"
+);
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "name": "vmqeopfuudtdsufvyvddq",
+ "values": "consequatur",
+ "status": 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.
+
+
+
+ PUT api/v1/variations/{id}
+ ++
+ + + + +Example request:+ + +
curl --request PUT \
+ "http://localhost:8080/api/v1/variations/consequatur" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"name\": \"vmqeopfuudtdsufvyvddq\",
+ \"values\": \"consequatur\",
+ \"status\": 1
+}"
+const url = new URL(
+ "http://localhost:8080/api/v1/variations/consequatur"
+);
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "name": "vmqeopfuudtdsufvyvddq",
+ "values": "consequatur",
+ "status": 1
+};
+
+fetch(url, {
+ method: "PUT",
+ headers,
+ body: JSON.stringify(body),
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ DELETE api/v1/variations/{id}
+ ++
+ + + + +Example request:+ + +
curl --request DELETE \
+ "http://localhost:8080/api/v1/variations/consequatur" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/variations/consequatur"
+);
+
+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 api/v1/racks
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/racks" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/racks"
+);
+
+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.
+
+
+
+ POST api/v1/racks
+ ++
+ + + + +Example request:+ + +
curl --request POST \
+ "http://localhost:8080/api/v1/racks" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"name\": \"vmqeopfuudtdsufvyvddq\",
+ \"status\": 0
+}"
+const url = new URL(
+ "http://localhost:8080/api/v1/racks"
+);
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "name": "vmqeopfuudtdsufvyvddq",
+ "status": 0
+};
+
+fetch(url, {
+ method: "POST",
+ headers,
+ body: JSON.stringify(body),
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ PUT api/v1/racks/{id}
+ ++
+ + + + +Example request:+ + +
curl --request PUT \
+ "http://localhost:8080/api/v1/racks/consequatur" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"name\": \"vmqeopfuudtdsufvyvddq\",
+ \"status\": 0
+}"
+const url = new URL(
+ "http://localhost:8080/api/v1/racks/consequatur"
+);
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "name": "vmqeopfuudtdsufvyvddq",
+ "status": 0
+};
+
+fetch(url, {
+ method: "PUT",
+ headers,
+ body: JSON.stringify(body),
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ DELETE api/v1/racks/{id}
+ ++
+ + + + +Example request:+ + +
curl --request DELETE \
+ "http://localhost:8080/api/v1/racks/consequatur" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/racks/consequatur"
+);
+
+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 api/v1/shelfs
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/shelfs" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/shelfs"
+);
+
+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.
+
+
+
+ POST api/v1/shelfs
+ ++
+ + + + +Example request:+ + +
curl --request POST \
+ "http://localhost:8080/api/v1/shelfs" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"name\": \"vmqeopfuudtdsufvyvddq\",
+ \"status\": 0
+}"
+const url = new URL(
+ "http://localhost:8080/api/v1/shelfs"
+);
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "name": "vmqeopfuudtdsufvyvddq",
+ "status": 0
+};
+
+fetch(url, {
+ method: "POST",
+ headers,
+ body: JSON.stringify(body),
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ PUT api/v1/shelfs/{id}
+ ++
+ + + + +Example request:+ + +
curl --request PUT \
+ "http://localhost:8080/api/v1/shelfs/consequatur" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"name\": \"vmqeopfuudtdsufvyvddq\",
+ \"status\": 0
+}"
+const url = new URL(
+ "http://localhost:8080/api/v1/shelfs/consequatur"
+);
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "name": "vmqeopfuudtdsufvyvddq",
+ "status": 0
+};
+
+fetch(url, {
+ method: "PUT",
+ headers,
+ body: JSON.stringify(body),
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ DELETE api/v1/shelfs/{id}
+ ++
+ + + + +Example request:+ + +
curl --request DELETE \
+ "http://localhost:8080/api/v1/shelfs/consequatur" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/shelfs/consequatur"
+);
+
+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 api/v1/banks
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/banks" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/banks"
+);
+
+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.
+
+
+
+ POST api/v1/banks
+ ++
+ + + + +Example request:+ + +
curl --request POST \
+ "http://localhost:8080/api/v1/banks" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"name\": \"vmqeopfuudtdsufvyvddq\",
+ \"opening_balance\": 1,
+ \"opening_date\": \"2026-04-25T14:39:34\",
+ \"show_in_invoice\": true,
+ \"meta\": {
+ \"account_number\": \"niihfqcoynlazghdtqtqx\",
+ \"routing_number\": \"bajwbpilpmufinllwloau\",
+ \"upi_id\": \"ydlsmsjuryvojcybzvrby\",
+ \"bank_name\": \"ickznkygloigmkwxphlva\",
+ \"account_holder\": \"zjrcnfbaqywuxhgjjmzux\",
+ \"branch\": \"jubqouzswiwxtrkimfcat\"
+ }
+}"
+const url = new URL(
+ "http://localhost:8080/api/v1/banks"
+);
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "name": "vmqeopfuudtdsufvyvddq",
+ "opening_balance": 1,
+ "opening_date": "2026-04-25T14:39:34",
+ "show_in_invoice": true,
+ "meta": {
+ "account_number": "niihfqcoynlazghdtqtqx",
+ "routing_number": "bajwbpilpmufinllwloau",
+ "upi_id": "ydlsmsjuryvojcybzvrby",
+ "bank_name": "ickznkygloigmkwxphlva",
+ "account_holder": "zjrcnfbaqywuxhgjjmzux",
+ "branch": "jubqouzswiwxtrkimfcat"
+ }
+};
+
+fetch(url, {
+ method: "POST",
+ headers,
+ body: JSON.stringify(body),
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ GET api/v1/banks/{id}
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/banks/consequatur" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/banks/consequatur"
+);
+
+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.
+
+
+
+ PUT api/v1/banks/{id}
+ ++
+ + + + +Example request:+ + +
curl --request PUT \
+ "http://localhost:8080/api/v1/banks/consequatur" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"name\": \"vmqeopfuudtdsufvyvddq\",
+ \"opening_balance\": 1,
+ \"opening_date\": \"2026-04-25T14:39:34\",
+ \"show_in_invoice\": true,
+ \"meta\": {
+ \"account_number\": \"niihfqcoynlazghdtqtqx\",
+ \"routing_number\": \"bajwbpilpmufinllwloau\",
+ \"upi_id\": \"ydlsmsjuryvojcybzvrby\",
+ \"bank_name\": \"ickznkygloigmkwxphlva\",
+ \"account_holder\": \"zjrcnfbaqywuxhgjjmzux\",
+ \"branch\": \"jubqouzswiwxtrkimfcat\"
+ }
+}"
+const url = new URL(
+ "http://localhost:8080/api/v1/banks/consequatur"
+);
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "name": "vmqeopfuudtdsufvyvddq",
+ "opening_balance": 1,
+ "opening_date": "2026-04-25T14:39:34",
+ "show_in_invoice": true,
+ "meta": {
+ "account_number": "niihfqcoynlazghdtqtqx",
+ "routing_number": "bajwbpilpmufinllwloau",
+ "upi_id": "ydlsmsjuryvojcybzvrby",
+ "bank_name": "ickznkygloigmkwxphlva",
+ "account_holder": "zjrcnfbaqywuxhgjjmzux",
+ "branch": "jubqouzswiwxtrkimfcat"
+ }
+};
+
+fetch(url, {
+ method: "PUT",
+ headers,
+ body: JSON.stringify(body),
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ DELETE api/v1/banks/{id}
+ ++
+ + + + +Example request:+ + +
curl --request DELETE \
+ "http://localhost:8080/api/v1/banks/consequatur" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/banks/consequatur"
+);
+
+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 api/v1/bank-transactions
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/bank-transactions" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/bank-transactions"
+);
+
+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.
+
+
+
+ POST api/v1/bank-transactions
+ ++
+ + + + +Example request:+ + +
curl --request POST \
+ "http://localhost:8080/api/v1/bank-transactions" \
+ --header "Content-Type: multipart/form-data" \
+ --header "Accept: application/json" \
+ --form "from=consequatur"\
+ --form "type=debit"\
+ --form "transaction_type=bank_to_bank"\
+ --form "amount=16"\
+ --form "date=2026-04-25T14:39:34"\
+ --form "note=consequatur"\
+ --form "image=@/tmp/phphaGPjb" const url = new URL(
+ "http://localhost:8080/api/v1/bank-transactions"
+);
+
+const headers = {
+ "Content-Type": "multipart/form-data",
+ "Accept": "application/json",
+};
+
+const body = new FormData();
+body.append('from', 'consequatur');
+body.append('type', 'debit');
+body.append('transaction_type', 'bank_to_bank');
+body.append('amount', '16');
+body.append('date', '2026-04-25T14:39:34');
+body.append('note', 'consequatur');
+body.append('image', document.querySelector('input[name="image"]').files[0]);
+
+fetch(url, {
+ method: "POST",
+ headers,
+ body,
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ GET api/v1/bank-transactions/{id}
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/bank-transactions/consequatur" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/bank-transactions/consequatur"
+);
+
+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.
+
+
+
+ PUT api/v1/bank-transactions/{id}
+ ++
+ + + + +Example request:+ + +
curl --request PUT \
+ "http://localhost:8080/api/v1/bank-transactions/consequatur" \
+ --header "Content-Type: multipart/form-data" \
+ --header "Accept: application/json" \
+ --form "from=consequatur"\
+ --form "type=debit"\
+ --form "transaction_type=bank_to_bank"\
+ --form "amount=16"\
+ --form "date=2026-04-25T14:39:34"\
+ --form "note=consequatur"\
+ --form "image=@/tmp/phpoAohAc" const url = new URL(
+ "http://localhost:8080/api/v1/bank-transactions/consequatur"
+);
+
+const headers = {
+ "Content-Type": "multipart/form-data",
+ "Accept": "application/json",
+};
+
+const body = new FormData();
+body.append('from', 'consequatur');
+body.append('type', 'debit');
+body.append('transaction_type', 'bank_to_bank');
+body.append('amount', '16');
+body.append('date', '2026-04-25T14:39:34');
+body.append('note', 'consequatur');
+body.append('image', document.querySelector('input[name="image"]').files[0]);
+
+fetch(url, {
+ method: "PUT",
+ headers,
+ body,
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ DELETE api/v1/bank-transactions/{id}
+ ++
+ + + + +Example request:+ + +
curl --request DELETE \
+ "http://localhost:8080/api/v1/bank-transactions/consequatur" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/bank-transactions/consequatur"
+);
+
+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 api/v1/cashes
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/cashes" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/cashes"
+);
+
+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.
+
+
+
+ POST api/v1/cashes
+ ++
+ + + + +Example request:+ + +
curl --request POST \
+ "http://localhost:8080/api/v1/cashes" \
+ --header "Content-Type: multipart/form-data" \
+ --header "Accept: application/json" \
+ --form "type=debit"\
+ --form "transaction_type=adjust_cash"\
+ --form "amount=56"\
+ --form "date=2026-04-25T14:39:35"\
+ --form "note=consequatur"\
+ --form "image=@/tmp/phpddcDDf" const url = new URL(
+ "http://localhost:8080/api/v1/cashes"
+);
+
+const headers = {
+ "Content-Type": "multipart/form-data",
+ "Accept": "application/json",
+};
+
+const body = new FormData();
+body.append('type', 'debit');
+body.append('transaction_type', 'adjust_cash');
+body.append('amount', '56');
+body.append('date', '2026-04-25T14:39:35');
+body.append('note', 'consequatur');
+body.append('image', document.querySelector('input[name="image"]').files[0]);
+
+fetch(url, {
+ method: "POST",
+ headers,
+ body,
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ GET api/v1/cashes/{id}
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/cashes/consequatur" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/cashes/consequatur"
+);
+
+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.
+
+
+
+ PUT api/v1/cashes/{id}
+ ++
+ + + + +Example request:+ + +
curl --request PUT \
+ "http://localhost:8080/api/v1/cashes/consequatur" \
+ --header "Content-Type: multipart/form-data" \
+ --header "Accept: application/json" \
+ --form "type=debit"\
+ --form "transaction_type=adjust_cash"\
+ --form "amount=56"\
+ --form "date=2026-04-25T14:39:35"\
+ --form "note=consequatur"\
+ --form "image=@/tmp/phpBmCmLf" const url = new URL(
+ "http://localhost:8080/api/v1/cashes/consequatur"
+);
+
+const headers = {
+ "Content-Type": "multipart/form-data",
+ "Accept": "application/json",
+};
+
+const body = new FormData();
+body.append('type', 'debit');
+body.append('transaction_type', 'adjust_cash');
+body.append('amount', '56');
+body.append('date', '2026-04-25T14:39:35');
+body.append('note', 'consequatur');
+body.append('image', document.querySelector('input[name="image"]').files[0]);
+
+fetch(url, {
+ method: "PUT",
+ headers,
+ body,
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ DELETE api/v1/cashes/{id}
+ ++
+ + + + +Example request:+ + +
curl --request DELETE \
+ "http://localhost:8080/api/v1/cashes/consequatur" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/cashes/consequatur"
+);
+
+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 api/v1/cheques
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/cheques" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/cheques"
+);
+
+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.
+
+
+
+ POST api/v1/cheques
+ ++
+ + + + +Example request:+ + +
curl --request POST \
+ "http://localhost:8080/api/v1/cheques" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"transaction_id\": \"consequatur\",
+ \"date\": \"2026-04-25T14:39:35\",
+ \"note\": \"consequatur\",
+ \"payment_type\": \"consequatur\"
+}"
+const url = new URL(
+ "http://localhost:8080/api/v1/cheques"
+);
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "transaction_id": "consequatur",
+ "date": "2026-04-25T14:39:35",
+ "note": "consequatur",
+ "payment_type": "consequatur"
+};
+
+fetch(url, {
+ method: "POST",
+ headers,
+ body: JSON.stringify(body),
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ GET api/v1/cheques/{id}
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/cheques/consequatur" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/cheques/consequatur"
+);
+
+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.
+
+
+
+ POST api/v1/cheque-reopen/{id}
+ ++
+ + + + +Example request:+ + +
curl --request POST \
+ "http://localhost:8080/api/v1/cheque-reopen/consequatur" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/cheque-reopen/consequatur"
+);
+
+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 GET \
+ --get "http://localhost:8080/api/v1/product-settings" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/product-settings"
+);
+
+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.
+
+
+
+ Store a newly created resource in storage.
+ ++
+ + + + +Example request:+ + +
curl --request POST \
+ "http://localhost:8080/api/v1/product-settings" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"show_product_name\": 17,
+ \"show_product_price\": 17,
+ \"show_product_code\": 17,
+ \"show_product_stock\": 17,
+ \"show_product_sale_price\": 17,
+ \"show_product_dealer_price\": 17,
+ \"show_product_wholesale_price\": 17,
+ \"show_product_unit\": 17,
+ \"show_product_brand\": 17,
+ \"show_product_category\": 17,
+ \"show_product_manufacturer\": 17,
+ \"show_product_image\": 17,
+ \"show_expire_date\": 17,
+ \"show_alert_qty\": 17,
+ \"show_vat_id\": 17,
+ \"show_vat_type\": 17,
+ \"show_exclusive_price\": 17,
+ \"show_inclusive_price\": 17,
+ \"show_profit_percent\": 17,
+ \"show_capacity\": 17,
+ \"show_weight\": 17,
+ \"show_color\": 17,
+ \"show_type\": 17,
+ \"show_size\": 17,
+ \"show_batch_no\": 17,
+ \"show_mfg_date\": 17,
+ \"show_model_no\": 17,
+ \"default_sale_price\": 17,
+ \"default_wholesale_price\": 17,
+ \"default_dealer_price\": 17,
+ \"show_product_type_single\": 17,
+ \"show_product_type_variant\": 17,
+ \"show_product_type_combo\": 17,
+ \"show_warehouse\": 17,
+ \"show_action\": 17,
+ \"show_rack\": 17,
+ \"show_shelf\": 17,
+ \"show_guarantee\": 17,
+ \"show_warranty\": 17,
+ \"show_serial\": 17,
+ \"default_batch_no\": 17,
+ \"default_expired_date\": 17,
+ \"default_mfg_date\": 17,
+ \"expire_date_type\": 17,
+ \"mfg_date_type\": 17,
+ \"show_product_batch_no\": 17,
+ \"show_product_expire_date\": 17
+}"
+const url = new URL(
+ "http://localhost:8080/api/v1/product-settings"
+);
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "show_product_name": 17,
+ "show_product_price": 17,
+ "show_product_code": 17,
+ "show_product_stock": 17,
+ "show_product_sale_price": 17,
+ "show_product_dealer_price": 17,
+ "show_product_wholesale_price": 17,
+ "show_product_unit": 17,
+ "show_product_brand": 17,
+ "show_product_category": 17,
+ "show_product_manufacturer": 17,
+ "show_product_image": 17,
+ "show_expire_date": 17,
+ "show_alert_qty": 17,
+ "show_vat_id": 17,
+ "show_vat_type": 17,
+ "show_exclusive_price": 17,
+ "show_inclusive_price": 17,
+ "show_profit_percent": 17,
+ "show_capacity": 17,
+ "show_weight": 17,
+ "show_color": 17,
+ "show_type": 17,
+ "show_size": 17,
+ "show_batch_no": 17,
+ "show_mfg_date": 17,
+ "show_model_no": 17,
+ "default_sale_price": 17,
+ "default_wholesale_price": 17,
+ "default_dealer_price": 17,
+ "show_product_type_single": 17,
+ "show_product_type_variant": 17,
+ "show_product_type_combo": 17,
+ "show_warehouse": 17,
+ "show_action": 17,
+ "show_rack": 17,
+ "show_shelf": 17,
+ "show_guarantee": 17,
+ "show_warranty": 17,
+ "show_serial": 17,
+ "default_batch_no": 17,
+ "default_expired_date": 17,
+ "default_mfg_date": 17,
+ "expire_date_type": 17,
+ "mfg_date_type": 17,
+ "show_product_batch_no": 17,
+ "show_product_expire_date": 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 api/v1/product/generate-code
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/product/generate-code" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/product/generate-code"
+);
+
+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.
+
+
+
+ POST api/v1/bulk-uploads
+ ++
+ + + + +Example request:+ + +
curl --request POST \
+ "http://localhost:8080/api/v1/bulk-uploads" \
+ --header "Content-Type: multipart/form-data" \
+ --header "Accept: application/json" \
+ --form "file=@/tmp/phpALAOJh" const url = new URL(
+ "http://localhost:8080/api/v1/bulk-uploads"
+);
+
+const headers = {
+ "Content-Type": "multipart/form-data",
+ "Accept": "application/json",
+};
+
+const body = new FormData();
+body.append('file', document.querySelector('input[name="file"]').files[0]);
+
+fetch(url, {
+ method: "POST",
+ headers,
+ body,
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ POST api/v1/change-password
+ ++
+ + + + +Example request:+ + +
curl --request POST \
+ "http://localhost:8080/api/v1/change-password" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"current_password\": \"consequatur\",
+ \"password\": \"[2UZ5ij-e\\/dl4\"
+}"
+const url = new URL(
+ "http://localhost:8080/api/v1/change-password"
+);
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "current_password": "consequatur",
+ "password": "[2UZ5ij-e\/dl4"
+};
+
+fetch(url, {
+ method: "POST",
+ headers,
+ body: JSON.stringify(body),
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ GET api/v1/new-invoice
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/new-invoice" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"platform\": \"due_collects\"
+}"
+const url = new URL(
+ "http://localhost:8080/api/v1/new-invoice"
+);
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "platform": "due_collects"
+};
+
+fetch(url, {
+ method: "GET",
+ headers,
+ body: JSON.stringify(body),
+}).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 api/v1/invoice-settings
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/invoice-settings" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/invoice-settings"
+);
+
+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.
+
+
+
+ POST api/v1/invoice-settings/update
+ ++
+ + + + +Example request:+ + +
curl --request POST \
+ "http://localhost:8080/api/v1/invoice-settings/update" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"invoice_size\": \"vmqeopfuudtdsufvyvddq\"
+}"
+const url = new URL(
+ "http://localhost:8080/api/v1/invoice-settings/update"
+);
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "invoice_size": "vmqeopfuudtdsufvyvddq"
+};
+
+fetch(url, {
+ method: "POST",
+ headers,
+ body: JSON.stringify(body),
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ POST api/v1/business-delete
+ ++
+ + + + +Example request:+ + +
curl --request POST \
+ "http://localhost:8080/api/v1/business-delete" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"password\": \"O[2UZ5ij-e\\/dl4m{o,\"
+}"
+const url = new URL(
+ "http://localhost:8080/api/v1/business-delete"
+);
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "password": "O[2UZ5ij-e\/dl4m{o,"
+};
+
+fetch(url, {
+ method: "POST",
+ headers,
+ body: JSON.stringify(body),
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ GET api/v1/party-ledger/{party_id}
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/party-ledger/consequatur" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/party-ledger/consequatur"
+);
+
+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 api/v1/money-receipt/{id}
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/money-receipt/consequatur" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/money-receipt/consequatur"
+);
+
+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 api/v1/currency-settings
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/currency-settings" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/currency-settings"
+);
+
+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.
+
+
+
+ POST api/v1/currency-settings
+ ++
+ + + + +Example request:+ + +
curl --request POST \
+ "http://localhost:8080/api/v1/currency-settings" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"currency\": \"vmqeopfuudtdsufvyvddq\"
+}"
+const url = new URL(
+ "http://localhost:8080/api/v1/currency-settings"
+);
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "currency": "vmqeopfuudtdsufvyvddq"
+};
+
+fetch(url, {
+ method: "POST",
+ headers,
+ body: JSON.stringify(body),
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ GET api/v1/transactions
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/transactions" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/transactions"
+);
+
+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 api/v1/sign-out
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/sign-out" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/sign-out"
+);
+
+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 api/v1/refresh-token
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/refresh-token" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/refresh-token"
+);
+
+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.
+
+
+
+ Display a listing of the resource.
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/branches" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/branches"
+);
+
+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.
+
+
+
+ Store a newly created resource in storage.
+ ++
+ + + + +Example request:+ + +
curl --request POST \
+ "http://localhost:8080/api/v1/branches" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"name\": \"vmqeopfuudtdsufvyvddq\",
+ \"phone\": \"amniihfqcoynlazgh\",
+ \"email\": \"roob.mona@example.org\",
+ \"address\": \"xbajwbpilpmufinllwloa\",
+ \"branchOpeningBalance\": 72,
+ \"description\": \"Qui ducimus nihil laudantium nihil autem omnis cum molestiae.\"
+}"
+const url = new URL(
+ "http://localhost:8080/api/v1/branches"
+);
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "name": "vmqeopfuudtdsufvyvddq",
+ "phone": "amniihfqcoynlazgh",
+ "email": "roob.mona@example.org",
+ "address": "xbajwbpilpmufinllwloa",
+ "branchOpeningBalance": 72,
+ "description": "Qui ducimus nihil laudantium nihil autem omnis cum molestiae."
+};
+
+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.
+
+
+
+ Update the specified resource in storage.
+ ++
+ + + + +Example request:+ + +
curl --request PUT \
+ "http://localhost:8080/api/v1/branches/consequatur" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"name\": \"vmqeopfuudtdsufvyvddq\",
+ \"phone\": \"amniihfqcoynlazgh\",
+ \"email\": \"roob.mona@example.org\",
+ \"address\": \"xbajwbpilpmufinllwloa\",
+ \"branchOpeningBalance\": 72,
+ \"description\": \"Qui ducimus nihil laudantium nihil autem omnis cum molestiae.\"
+}"
+const url = new URL(
+ "http://localhost:8080/api/v1/branches/consequatur"
+);
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "name": "vmqeopfuudtdsufvyvddq",
+ "phone": "amniihfqcoynlazgh",
+ "email": "roob.mona@example.org",
+ "address": "xbajwbpilpmufinllwloa",
+ "branchOpeningBalance": 72,
+ "description": "Qui ducimus nihil laudantium nihil autem omnis cum molestiae."
+};
+
+fetch(url, {
+ method: "PUT",
+ headers,
+ body: JSON.stringify(body),
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ Remove the specified resource from storage.
+ ++
+ + + + +Example request:+ + +
curl --request DELETE \
+ "http://localhost:8080/api/v1/branches/consequatur" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/branches/consequatur"
+);
+
+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 api/v1/switch-branch/{id}
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/switch-branch/consequatur" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/switch-branch/consequatur"
+);
+
+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 api/v1/exit-branch/{id}
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/exit-branch/consequatur" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/exit-branch/consequatur"
+);
+
+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 api/v1/warehouses
+ ++
+ + + + +Example request:+ + +
curl --request GET \
+ --get "http://localhost:8080/api/v1/warehouses" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/warehouses"
+);
+
+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.
+
+
+
+ POST api/v1/warehouses
+ ++
+ + + + +Example request:+ + +
curl --request POST \
+ "http://localhost:8080/api/v1/warehouses" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"name\": \"vmqeopfuudtdsufvyvddq\",
+ \"phone\": \"amniihfqcoynlazgh\",
+ \"address\": \"dtqtqxbajwbpilpmufinl\",
+ \"email\": \"imogene.mante@example.com\"
+}"
+const url = new URL(
+ "http://localhost:8080/api/v1/warehouses"
+);
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "name": "vmqeopfuudtdsufvyvddq",
+ "phone": "amniihfqcoynlazgh",
+ "address": "dtqtqxbajwbpilpmufinl",
+ "email": "imogene.mante@example.com"
+};
+
+fetch(url, {
+ method: "POST",
+ headers,
+ body: JSON.stringify(body),
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ PUT api/v1/warehouses/{id}
+ ++
+ + + + +Example request:+ + +
curl --request PUT \
+ "http://localhost:8080/api/v1/warehouses/consequatur" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json" \
+ --data "{
+ \"name\": \"vmqeopfuudtdsufvyvddq\",
+ \"phone\": \"amniihfqcoynlazgh\",
+ \"address\": \"dtqtqxbajwbpilpmufinl\",
+ \"email\": \"imogene.mante@example.com\"
+}"
+const url = new URL(
+ "http://localhost:8080/api/v1/warehouses/consequatur"
+);
+
+const headers = {
+ "Content-Type": "application/json",
+ "Accept": "application/json",
+};
+
+let body = {
+ "name": "vmqeopfuudtdsufvyvddq",
+ "phone": "amniihfqcoynlazgh",
+ "address": "dtqtqxbajwbpilpmufinl",
+ "email": "imogene.mante@example.com"
+};
+
+fetch(url, {
+ method: "PUT",
+ headers,
+ body: JSON.stringify(body),
+}).then(response => response.json());Received response: ++
+
+
+ Request failed with error:+
+
+Tip: Check that you're properly connected to the network.
+If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
+You can check the Dev Tools console for debugging information.
+
+
+
+ DELETE api/v1/warehouses/{id}
+ ++
+ + + + +Example request:+ + +
curl --request DELETE \
+ "http://localhost:8080/api/v1/warehouses/consequatur" \
+ --header "Content-Type: application/json" \
+ --header "Accept: application/json"const url = new URL(
+ "http://localhost:8080/api/v1/warehouses/consequatur"
+);
+
+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.
+
+
+
+
+
+
+