{
  "opencollection": "1.0.0",
  "info": {
    "name": "Goody Brands Order Batches API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Order Batches",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List order batches",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.ongoody.com/v1/order_batches",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page for pagination, starting at 1"
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "Items per page for pagination"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List order batches"
        },
        {
          "info": {
            "name": "Create an order batch",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.ongoody.com/v1/order_batches",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create an order batch"
        },
        {
          "info": {
            "name": "Retrieve orders for an order batch",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.ongoody.com/v1/order_batches/:id/orders",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Order batch ID"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page for pagination, starting at 1"
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "Items per page for pagination"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieve orders for an order batch"
        },
        {
          "info": {
            "name": "Calculate the price for an order batch",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.ongoody.com/v1/order_batches/price",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Calculate the price for an order batch"
        },
        {
          "info": {
            "name": "Retrieve recipients for an order batch",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.ongoody.com/v1/order_batches/:id/recipients",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Order batch ID"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page for pagination, starting at 1"
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "Items per page for pagination"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieve recipients for an order batch"
        },
        {
          "info": {
            "name": "Retrieve an order batch",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.ongoody.com/v1/order_batches/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Order batch ID"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieve an order batch"
        }
      ]
    }
  ],
  "bundled": true
}