Sale percentage
A list of all publicly available methods for interacting with the API.
GET
Get cart sale percentage -/cart/sale-percentage
Query method
GEThttp://apilocal.stableproxy.com/v2/cart/sale-percentage
Code examples
JavaScript
1async function getCartSalePercentage() {
2 const baseUrl = 'http://apilocal.stableproxy.com/v2';
3 const req = await fetch(baseUrl + '/cart/sale-percentage', {
4 method: 'GET',
5 headers: {
6 'Content-Type': 'application/json'
7 }
8 }
9 );
10
11 const res = await req.json();
12}