WasteSaver Audit: Orders endpoint
OLD ENDPOINT: GET /api/store/locations/:org_location_id/orders
NEW ENDPOINT (remains the same): GET /api/store/locations/:org_location_id/orders
Payload proposal:
{
"items": [
{
class Double { | |
public double getDouble(value) { | |
return 2*value; | |
} | |
public static voind main(args[] string) { | |
System.out.println(getDouble(8)); // returns 16 | |
} | |
} |
WasteSaver Audit: Orders endpoint
OLD ENDPOINT: GET /api/store/locations/:org_location_id/orders
NEW ENDPOINT (remains the same): GET /api/store/locations/:org_location_id/orders
Payload proposal:
{
"items": [
{
WasteSaver Audit: Create - StreamConfiguration order
OLD ENDPOINT: POST /api/store/locations/:org_location_id/streams/org_stream_id/orders
NEW ENDPOINT: POST /api/store/locations/:org_location_id/waste-stream-configurations/:stream_configuration_id/orders
Request payload proposal:
{
"quantity": 2,