{
  "opencollection": "1.0.0",
  "info": {
    "name": "MVMNT Bill Payments Locations API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Locations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Filter locations",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mvmnt.io/v1/locations/filter",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Query locations using flexible filter criteria with AND/OR logic.\n\nBy default, only non-deleted locations are returned (deletedAt: { isNull: true }).\nOverride this by explicitly setting deletedAt filter criteria.\n"
        },
        {
          "info": {
            "name": "Create a new location",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mvmnt.io/v1/locations",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new location for a customer.\n\nLocations represent pickup or delivery points (warehouses, distribution centers, etc.).\n"
        },
        {
          "info": {
            "name": "Get a location by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mvmnt.io/v1/locations/:id",
            "params": [
              {
                "name": "id",
                "value": "550e8400-e29b-41d4-a716-446655440000",
                "type": "path",
                "description": "Resource ID (UUID) or client key"
              }
            ]
          },
          "docs": "Retrieve a single location by its unique identifier.\n"
        },
        {
          "info": {
            "name": "Update a location",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.mvmnt.io/v1/locations/:id",
            "params": [
              {
                "name": "id",
                "value": "550e8400-e29b-41d4-a716-446655440000",
                "type": "path",
                "description": "Resource ID (UUID) or client key"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Partially update a location. Only provided fields will be updated.\n\n- **Omitted fields**: Not modified (current value preserved)\n- **Provided fields**: Updated to the new value\n- **Null values**: Clear the field (set to null) where applicable\n"
        },
        {
          "info": {
            "name": "Delete a location",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.mvmnt.io/v1/locations/:id",
            "params": [
              {
                "name": "id",
                "value": "550e8400-e29b-41d4-a716-446655440000",
                "type": "path",
                "description": "Resource ID (UUID) or client key"
              }
            ]
          },
          "docs": "Soft delete a location (sets deletedAt timestamp).\n\nThe location will no longer appear in default queries but can be retrieved\nby explicitly filtering for deleted records.\n"
        },
        {
          "info": {
            "name": "Search locations",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mvmnt.io/v1/locations/search",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Search locations using OpenSearch-powered full-text and field-specific search.\n\nThis endpoint provides fast, indexed search across location data with support for:\n- Full-text search across multiple fields\n- Field-specific filtering with various operators\n- Geographic search capabilities\n- Sorting and pagination\n- Saved search preferences\n\n**Note:** Only active (non-deleted) locations are searchable. Soft-deleted records are automatically excluded from all search results.\n\n**Response Formats:**\n-"
        }
      ]
    }
  ],
  "bundled": true
}