Get time-bucketed order line quantity sums for a shop
POST
/shops/{id}/orders/quantity
const url = 'https://example.com/shops/example/orders/quantity';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"precision":"NaN","from":"example","to":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/shops/example/orders/quantity \ --header 'Content-Type: application/json' \ --data '{ "precision": "NaN", "from": "example", "to": "example" }'Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
Request Body required
Section titled “Request Body required ”Responses
Section titled “ Responses ” Media type application/json