{
  "opencollection": "1.0.0",
  "info": {
    "name": "SAP Sales and Distribution (SD) SAP Credit Management API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Credit Account",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve a list of credit management accounts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_CREDIT_MANAGEMENT/A_CrdtMgmtBusinessPartner",
            "params": [
              {
                "name": "$top",
                "value": "",
                "type": "query"
              },
              {
                "name": "$skip",
                "value": "",
                "type": "query"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query"
              },
              {
                "name": "$inlinecount",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns a collection of credit management business partner accounts with credit profile information."
        },
        {
          "info": {
            "name": "Retrieve a single credit management account",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_CREDIT_MANAGEMENT/A_CrdtMgmtBusinessPartner(':BusinessPartner')",
            "params": [
              {
                "name": "BusinessPartner",
                "value": "",
                "type": "path",
                "description": "Business partner number"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns credit management data for a single business partner, including credit rating, risk class, and credit block status."
        },
        {
          "info": {
            "name": "Update a credit management account",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_CREDIT_MANAGEMENT/A_CrdtMgmtBusinessPartner(':BusinessPartner')",
            "headers": [
              {
                "name": "If-Match",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "BusinessPartner",
                "value": "",
                "type": "path",
                "description": "Business partner number"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates credit management data for a business partner."
        }
      ]
    },
    {
      "info": {
        "name": "Credit Limit",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve credit limits",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_CREDIT_MANAGEMENT/A_CrdtMgmtCreditLimit",
            "params": [
              {
                "name": "$top",
                "value": "",
                "type": "query"
              },
              {
                "name": "$skip",
                "value": "",
                "type": "query"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query"
              },
              {
                "name": "$inlinecount",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns a collection of credit limits for business partners across credit control areas and credit segments."
        },
        {
          "info": {
            "name": "Retrieve a specific credit limit",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_CREDIT_MANAGEMENT/A_CrdtMgmtCreditLimit(BusinessPartner=':BusinessPartner',CreditSegment=':CreditSegment')",
            "params": [
              {
                "name": "BusinessPartner",
                "value": "",
                "type": "path",
                "description": "Business partner number"
              },
              {
                "name": "CreditSegment",
                "value": "",
                "type": "path",
                "description": "Credit segment"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns credit limit data for a specific business partner and credit segment combination."
        },
        {
          "info": {
            "name": "Update a credit limit",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_CREDIT_MANAGEMENT/A_CrdtMgmtCreditLimit(BusinessPartner=':BusinessPartner',CreditSegment=':CreditSegment')",
            "headers": [
              {
                "name": "If-Match",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "BusinessPartner",
                "value": "",
                "type": "path",
                "description": "Business partner number"
              },
              {
                "name": "CreditSegment",
                "value": "",
                "type": "path",
                "description": "Credit segment"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the credit limit for a specific business partner and credit segment."
        }
      ]
    },
    {
      "info": {
        "name": "Credit Exposure",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve credit exposure for a business partner",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_CREDIT_MANAGEMENT/A_CrdtMgmtCreditExposure(BusinessPartner=':BusinessPartner',CreditSegment=':CreditSegment')",
            "params": [
              {
                "name": "BusinessPartner",
                "value": "",
                "type": "path",
                "description": "Business partner number"
              },
              {
                "name": "CreditSegment",
                "value": "",
                "type": "path",
                "description": "Credit segment"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns credit exposure data showing the current credit utilization for a specific business partner and credit segment."
        }
      ]
    }
  ],
  "bundled": true
}