Cart

Lista wszystkich publicznie dostępnych metod interakcji z API.

GET

Bonusy -/cart/bonuses/{prefix?}

Metoda zapytania

GEThttp://apilocal.stableproxy.com/v2/cart/bonuses/{prefix?}

Przykłady kodu

async function getCartBonuses{prefix?}() {
   const baseUrl = 'http://apilocal.stableproxy.com/v2';
   const req = await fetch(baseUrl + '/cart/bonuses/{prefix?}', {
         method: 'GET',
         headers: {
            'Content-Type': 'application/json'
         }
      }
   );
   
   const res = await req.json();
}

Przykłady odpowiedzi