{
  "opencollection": "1.0.0",
  "info": {
    "name": "SAP Sales and Distribution (SD) SAP Sales Inquiry API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Sales Inquiry",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve a list of sales inquiries",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_SALES_INQUIRY_SRV/A_SalesInquiry",
            "params": [
              {
                "name": "$top",
                "value": "",
                "type": "query"
              },
              {
                "name": "$skip",
                "value": "",
                "type": "query"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query"
              },
              {
                "name": "$orderby",
                "value": "",
                "type": "query"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query"
              },
              {
                "name": "$inlinecount",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns a collection of sales inquiry headers. Supports filtering by inquiry type, date, customer, and status."
        },
        {
          "info": {
            "name": "Create a new sales inquiry",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_SALES_INQUIRY_SRV/A_SalesInquiry",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new sales inquiry with deep insert support for items and partners."
        },
        {
          "info": {
            "name": "Retrieve a single sales inquiry",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_SALES_INQUIRY_SRV/A_SalesInquiry(':SalesInquiry')",
            "params": [
              {
                "name": "SalesInquiry",
                "value": "",
                "type": "path",
                "description": "Sales inquiry number (10 characters)"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns a single sales inquiry by its document number."
        },
        {
          "info": {
            "name": "Update a sales inquiry",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_SALES_INQUIRY_SRV/A_SalesInquiry(':SalesInquiry')",
            "headers": [
              {
                "name": "If-Match",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "SalesInquiry",
                "value": "",
                "type": "path",
                "description": "Sales inquiry number"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates an existing sales inquiry header."
        },
        {
          "info": {
            "name": "Delete a sales inquiry",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_SALES_INQUIRY_SRV/A_SalesInquiry(':SalesInquiry')",
            "headers": [
              {
                "name": "If-Match",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "SalesInquiry",
                "value": "",
                "type": "path",
                "description": "Sales inquiry number"
              }
            ]
          },
          "docs": "Deletes an existing sales inquiry."
        }
      ]
    },
    {
      "info": {
        "name": "Sales Inquiry Item",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve items for a sales inquiry",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_SALES_INQUIRY_SRV/A_SalesInquiry(':SalesInquiry')/to_Item",
            "params": [
              {
                "name": "SalesInquiry",
                "value": "",
                "type": "path",
                "description": "Sales inquiry number"
              },
              {
                "name": "$top",
                "value": "",
                "type": "query"
              },
              {
                "name": "$skip",
                "value": "",
                "type": "query"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns a collection of line items for the specified sales inquiry."
        }
      ]
    }
  ],
  "bundled": true
}