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