{
  "opencollection": "1.0.0",
  "info": {
    "name": "CleanCloud Business and Reporting Orders API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "Orders",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create an order",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://cleancloudapp.com/api/addOrder",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new order for a customer with a list of products and a final total."
        },
        {
          "info": {
            "name": "Update an order",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://cleancloudapp.com/api/updateOrder",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates an order's details, status, or payment state."
        },
        {
          "info": {
            "name": "Delete an order",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://cleancloudapp.com/api/deleteOrder",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Deletes an order, optionally validating against its pickup time."
        },
        {
          "info": {
            "name": "List orders",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://cleancloudapp.com/api/getOrders",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Retrieves orders filtered by customer, route, date, or status."
        },
        {
          "info": {
            "name": "Get a garment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://cleancloudapp.com/api/getGarment",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Fetches a single garment by its barcode."
        },
        {
          "info": {
            "name": "List garments in an order",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://cleancloudapp.com/api/getGarments",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Retrieves all garments belonging to an order."
        },
        {
          "info": {
            "name": "Update a garment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://cleancloudapp.com/api/updateGarment",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates a garment's color, notes, location, or status."
        }
      ]
    }
  ],
  "bundled": true
}