{
  "openapi": "3.1.0",
  "info": {
    "title": "WIDEWAY BAGS B2B Sourcing & Quotation API",
    "description": "Programmatic interface for AI agents, corporate procurement engines, and wholesale buyers to query bag specifications, request custom OEM/ODM sample kits, and submit RFQ quotation inquiries.",
    "version": "1.0.0",
    "contact": {
      "name": "Adam Zhang (Senior Sourcing Lead & Direct Export Desk)",
      "email": "kelly@widewaygroup.com",
      "url": "https://www.widewaybags.com/contact"
    }
  },
  "servers": [
    {
      "url": "https://www.widewaybags.com",
      "description": "Production HTTPS Server"
    }
  ],
  "paths": {
    "/api/inquiry": {
      "post": {
        "summary": "Submit Bag RFQ & Request Prototype Sample Kit",
        "description": "Enables corporate buyers and AI agents to submit tech pack details, target quantities, fabric preferences, and contact information for formal factory pricing within 24 hours.",
        "operationId": "orderBagSampleKit",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "name",
                  "email",
                  "category"
                ],
                "properties": {
                  "name": {
                    "type": "string",
                    "description": "Purchasing agent or contact person name"
                  },
                  "email": {
                    "type": "string",
                    "format": "email",
                    "description": "Corporate email for quotation delivery"
                  },
                  "category": {
                    "type": "string",
                    "enum": [
                      "Maternity Diaper Bags",
                      "Duffle Bags Gym & Travel",
                      "Cooler & Insulated Bags",
                      "Outdoor & Hiking Backpacks",
                      "Waist Packs & EDC Slings",
                      "First Aid & Medical Kits",
                      "Backpacks Wholesale",
                      "Messenger & Crossbody Bags",
                      "Back to School Kids Packs"
                    ],
                    "description": "Target bag product category"
                  },
                  "quantity": {
                    "type": "integer",
                    "minimum": 1,
                    "description": "Estimated production quantity (MOQ: 500 pcs) or 1 for prototype sample"
                  },
                  "message": {
                    "type": "string",
                    "description": "Fabric density (Cordura, Oxford, rPET), custom features, dimensions, or target FOB price"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Inquiry received successfully. Quotation desk will reply within 24 hours.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "example": "success"
                    },
                    "message": {
                      "type": "string",
                      "example": "Inquiry dispatched to Adam Zhang (Senior Sourcing Lead & Direct Export Desk). Direct WhatsApp: +86 185 0595 9266."
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/catalog": {
      "get": {
        "summary": "Retrieve Bag SKU Specifications & Technical Parameters",
        "description": "Returns full technical parameters of WideWay's 129 core backpack, duffle, cooler, and sling bag models.",
        "operationId": "getCatalogProducts",
        "responses": {
          "200": {
            "description": "Bag catalog specifications array",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "category": {
                        "type": "string"
                      },
                      "material": {
                        "type": "string"
                      },
                      "dimensions": {
                        "type": "string"
                      },
                      "moq": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}