{
  "opencollection": "1.0.0",
  "info": {
    "name": "BUYER PUBLIC Business Units Supplier API",
    "version": "3"
  },
  "items": [
    {
      "info": {
        "name": "Supplier",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Supplier Details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://staging.fairmarkit.com/services/self-service/api/v3/supplier/:uuid/",
            "headers": [
              {
                "name": "X-FM-API-KEY",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "uuid",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Returns details for a specific supplier."
        },
        {
          "info": {
            "name": "Update Supplier",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://staging.fairmarkit.com/services/self-service/api/v3/supplier/:uuid/",
            "headers": [
              {
                "name": "X-FM-API-KEY",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "uuid",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates an existing supplier."
        },
        {
          "info": {
            "name": "Delete Supplier",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://staging.fairmarkit.com/services/self-service/api/v3/supplier/:uuid/",
            "headers": [
              {
                "name": "X-FM-API-KEY",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "uuid",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Deletes an existing supplier."
        },
        {
          "info": {
            "name": "Deactivate Supplier",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://staging.fairmarkit.com/services/self-service/api/v3/supplier/:uuid/deactivate/",
            "headers": [
              {
                "name": "X-FM-API-KEY",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "uuid",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Deactivates an existing supplier."
        },
        {
          "info": {
            "name": "List Suppliers",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://staging.fairmarkit.com/services/self-service/api/v3/supplier/",
            "headers": [
              {
                "name": "X-FM-API-KEY",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of records to return. Defaults to 20."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Zero-based offset of the first record to return. Defaults to 0."
              },
              {
                "name": "erp_system_uuid",
                "value": "",
                "type": "query",
                "description": "Filter suppliers by ERP system UUID."
              },
              {
                "name": "external_supplier_id",
                "value": "",
                "type": "query",
                "description": "Filter suppliers by external supplier ID."
              },
              {
                "name": "is_active",
                "value": "",
                "type": "query",
                "description": "Filter by active status."
              },
              {
                "name": "created_at_min",
                "value": "",
                "type": "query",
                "description": "Start of the created-at time range. Use ISO 8601 format."
              },
              {
                "name": "created_at_max",
                "value": "",
                "type": "query",
                "description": "End of the created-at time range. Use ISO 8601 format."
              },
              {
                "name": "updated_at_min",
                "value": "",
                "type": "query",
                "description": "Start of the updated-at time range. Use ISO 8601 format."
              },
              {
                "name": "updated_at_max",
                "value": "",
                "type": "query",
                "description": "End of the updated-at time range. Use ISO 8601 format."
              },
              {
                "name": "title",
                "value": "",
                "type": "query"
              },
              {
                "name": "email",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns a list of suppliers."
        },
        {
          "info": {
            "name": "Create Supplier",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://staging.fairmarkit.com/services/self-service/api/v3/supplier/",
            "headers": [
              {
                "name": "X-FM-API-KEY",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new supplier."
        },
        {
          "info": {
            "name": "Update Business Classifications",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://staging.fairmarkit.com/services/self-service/api/v3/supplier/:uuid/business-classifications/",
            "headers": [
              {
                "name": "X-FM-API-KEY",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "uuid",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates business classifications for a supplier."
        },
        {
          "info": {
            "name": "Activate Supplier",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://staging.fairmarkit.com/services/self-service/api/v3/supplier/:uuid/activate/",
            "headers": [
              {
                "name": "X-FM-API-KEY",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "uuid",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Activates an existing supplier."
        },
        {
          "info": {
            "name": "Bulk Create Suppliers",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://staging.fairmarkit.com/services/self-service/api/v3/supplier/bulk-create/",
            "headers": [
              {
                "name": "X-FM-API-KEY",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Bulk creates new suppliers."
        }
      ]
    }
  ],
  "bundled": true
}