{
  "opencollection": "1.0.0",
  "info": {
    "name": "Whiplash (Rydership) Bundle Items Orders API",
    "version": "2.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Orders",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List orders",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.getwhiplash.com/v2/orders",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number for pagination"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of results per page"
              }
            ]
          },
          "docs": "Returns a paginated list of orders."
        },
        {
          "info": {
            "name": "Create an order",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.getwhiplash.com/v2/orders",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new order."
        },
        {
          "info": {
            "name": "Bulk create orders",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.getwhiplash.com/v2/orders/bulk",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates multiple orders in a single request."
        },
        {
          "info": {
            "name": "Count orders",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.getwhiplash.com/v2/orders/count"
          },
          "docs": "Returns the total count of orders."
        },
        {
          "info": {
            "name": "List available order actions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.getwhiplash.com/v2/orders/actions"
          },
          "docs": "Returns available actions that can be performed on orders."
        },
        {
          "info": {
            "name": "Retrieve an order",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.getwhiplash.com/v2/orders/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the resource"
              }
            ]
          },
          "docs": "Returns details for a specific order by ID."
        },
        {
          "info": {
            "name": "Update an order",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.getwhiplash.com/v2/orders/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the resource"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates an existing order."
        },
        {
          "info": {
            "name": "Perform an action on an order",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.getwhiplash.com/v2/orders/:id/call/:action",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the resource"
              },
              {
                "name": "action",
                "value": "",
                "type": "path",
                "description": "The action to perform on the order"
              }
            ]
          },
          "docs": "Performs a named action on a specific order (e.g., cancel, ship)."
        },
        {
          "info": {
            "name": "Get order customs information",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.getwhiplash.com/v2/orders/:id/customs_info",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the resource"
              }
            ]
          },
          "docs": "Returns customs information for a specific order."
        },
        {
          "info": {
            "name": "List order events",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.getwhiplash.com/v2/orders/:id/events",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the resource"
              }
            ]
          },
          "docs": "Returns the history/events for a specific order."
        },
        {
          "info": {
            "name": "Count order events",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.getwhiplash.com/v2/orders/:id/events/count",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the resource"
              }
            ]
          },
          "docs": "Count order events"
        },
        {
          "info": {
            "name": "List items in an order",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.getwhiplash.com/v2/orders/:id/order_items",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the resource"
              }
            ]
          },
          "docs": "List items in an order"
        },
        {
          "info": {
            "name": "Count items in an order",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.getwhiplash.com/v2/orders/:id/order_items/count",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the resource"
              }
            ]
          },
          "docs": "Count items in an order"
        },
        {
          "info": {
            "name": "List serial numbers for an order",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.getwhiplash.com/v2/orders/:id/serial_numbers",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the resource"
              }
            ]
          },
          "docs": "List serial numbers for an order"
        },
        {
          "info": {
            "name": "List documents for an order",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.getwhiplash.com/v2/orders/:id/order_documents",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the resource"
              }
            ]
          },
          "docs": "List documents for an order"
        },
        {
          "info": {
            "name": "Count documents for an order",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.getwhiplash.com/v2/orders/:id/order_documents/count",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the resource"
              }
            ]
          },
          "docs": "Count documents for an order"
        },
        {
          "info": {
            "name": "List shipping documents for an order",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.getwhiplash.com/v2/orders/:id/shipping_documents",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the resource"
              }
            ]
          },
          "docs": "List shipping documents for an order"
        },
        {
          "info": {
            "name": "List meta fields for an order",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.getwhiplash.com/v2/orders/:id/meta_fields",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the resource"
              }
            ]
          },
          "docs": "List meta fields for an order"
        }
      ]
    }
  ],
  "bundled": true
}