Cart

A list of all publicly available methods for interacting with the API.

PUT

Cart purchase Purchase -/cart/purchase

Query method

PUThttp://apilocal.stableproxy.com/v2/cart/purchase

Query parameters

IdentifierRegulationsExample
order_idrequiredstring"bbb940d1-3263-4dd3-ae93-9e2d31e2e0ce"
overallrequirednumeric3.34

Code examples

async function putCartPurchase() {
   const baseUrl = 'http://apilocal.stableproxy.com/v2';
   const req = await fetch(baseUrl + '/cart/purchase', {
         method: 'PUT',
         headers: {
            'Authorization': 'API-Token [YOUR TOKEN]',
            'Content-Type': 'application/json'
         },
         body: JSON.stringify({
            "order_id": "bbb940d1-3263-4dd3-ae93-9e2d31e2e0ce",
            "overall": 3.34
         }),
      }
   );
   
   const res = await req.json();
}

Examples of answers