{
  "opencollection": "1.0.0",
  "info": {
    "name": "SAP Sales and Distribution (SD) SAP Pricing Condition Record API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Pricing Condition Record",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve a list of pricing condition records",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_SLSPRCGCONDITIONRECORD_SRV/A_SlsPrcgConditionRecord",
            "params": [
              {
                "name": "$top",
                "value": "",
                "type": "query",
                "description": "Maximum number of records to return"
              },
              {
                "name": "$skip",
                "value": "",
                "type": "query",
                "description": "Number of records to skip"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "OData filter expression"
              },
              {
                "name": "$orderby",
                "value": "",
                "type": "query",
                "description": "Sort order"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Comma-separated properties to include"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Navigation properties to expand"
              },
              {
                "name": "$inlinecount",
                "value": "",
                "type": "query",
                "description": "Include total count"
              }
            ]
          },
          "docs": "Returns a collection of sales pricing condition records. Use OData query options to filter by condition type, material, customer, sales organization, validity dates, and other attributes."
        },
        {
          "info": {
            "name": "Create a pricing condition record",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_SLSPRCGCONDITIONRECORD_SRV/A_SlsPrcgConditionRecord",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new sales pricing condition record. The request can include the condition record along with its validity periods, pricing scales, and supplements using deep insert."
        },
        {
          "info": {
            "name": "Retrieve a single pricing condition record",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_SLSPRCGCONDITIONRECORD_SRV/A_SlsPrcgConditionRecord(':ConditionRecord')",
            "params": [
              {
                "name": "ConditionRecord",
                "value": "",
                "type": "path",
                "description": "Condition record number"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Comma-separated properties to include"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Navigation properties to expand"
              }
            ]
          },
          "docs": "Returns a single pricing condition record by its key. Use $expand to include validity periods, scales, and supplements."
        },
        {
          "info": {
            "name": "Update a pricing condition record",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_SLSPRCGCONDITIONRECORD_SRV/A_SlsPrcgConditionRecord(':ConditionRecord')",
            "headers": [
              {
                "name": "If-Match",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "ConditionRecord",
                "value": "",
                "type": "path",
                "description": "Condition record number"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates an existing pricing condition record. Only the fields included in the request body are modified."
        },
        {
          "info": {
            "name": "Delete a pricing condition record",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_SLSPRCGCONDITIONRECORD_SRV/A_SlsPrcgConditionRecord(':ConditionRecord')",
            "headers": [
              {
                "name": "If-Match",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "ConditionRecord",
                "value": "",
                "type": "path",
                "description": "Condition record number"
              }
            ]
          },
          "docs": "Deletes an existing pricing condition record."
        }
      ]
    },
    {
      "info": {
        "name": "Condition Record Validity",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve condition record validity periods",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_SLSPRCGCONDITIONRECORD_SRV/A_SlsPrcgCndnRecdValidity",
            "params": [
              {
                "name": "$top",
                "value": "",
                "type": "query",
                "description": "Maximum number of records to return"
              },
              {
                "name": "$skip",
                "value": "",
                "type": "query",
                "description": "Number of records to skip"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "OData filter expression"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Comma-separated properties to include"
              }
            ]
          },
          "docs": "Returns a collection of validity records that define the time ranges and key field combinations for condition records."
        }
      ]
    }
  ],
  "bundled": true
}