Sale percentage
A list of all publicly available methods for interacting with the API.
GET
Get cart sale percentage -/cart/sale-percentage
Query method
GEThttps://api.stableproxy.com/v2/cart/sale-percentage
Code examples
JavaScript
async function getCartSalePercentage() {
const baseUrl = 'https://api.stableproxy.com/v2';
const req = await fetch(baseUrl + '/cart/sale-percentage', {
method: 'GET',
headers: {
'Content-Type': 'application/json'
}
}
);
const res = await req.json();
}