---
updatedAt: 2026-08-27T21:57:09.000Z
agentTools:
  siteIndex: https://developer.jamf.com/llms.txt
  projectIndex: https://developer.jamf.com/platform-api/llms.txt
---

# Update Distributor Configuration

Updates the integration configuration of the distributor organization resolved from the access token. Only the fields present in the request body are changed; omitted fields keep their current values.

`jamfInfo` is maintained by Jamf and is ignored if supplied. Supply `webhook.secretValue` to set or rotate the secret used to sign webhook deliveries; it is write-only and is never returned by `GET /distributor/configuration`.

The response has no body — read the configuration back to confirm the result.

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Jamf Account Partners API",
    "description": "Deal registrations, distributor quotes, and distributor purchase orders for Jamf channel partners",
    "version": "1.1.0",
    "termsOfService": "https://www.jamf.com/developer-resources/api-license-agreement/",
    "contact": {
      "name": "Jamf Developer",
      "url": "https://developer.jamf.com"
    }
  },
  "tags": [
    {
      "name": "distributor-configuration",
      "description": "Operations for reading and updating the distributor's integration configuration, including purchase order submission method and webhook delivery settings."
    }
  ],
  "paths": {
    "/v1/distributor/configuration": {
      "patch": {
        "tags": [
          "distributor-configuration"
        ],
        "operationId": "updateDistributorConfiguration",
        "summary": "Update Distributor Configuration",
        "description": "Updates the integration configuration of the distributor organization resolved from the access token. Only the fields present in the request body are changed; omitted fields keep their current values.\n\n`jamfInfo` is maintained by Jamf and is ignored if supplied. Supply `webhook.secretValue` to set or rotate the secret used to sign webhook deliveries; it is write-only and is never returned by `GET /distributor/configuration`.\n\nThe response has no body — read the configuration back to confirm the result.",
        "requestBody": {
          "required": true,
          "description": "The configuration fields to change.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DistributorConfiguration"
              },
              "example": {
                "poSubmissionPermission": "API only",
                "webhook": {
                  "enabled": true,
                  "subscribedTo": [
                    "purchase-order-status-changed"
                  ],
                  "url": "https://webhooks.example.com/jamf/purchase-orders",
                  "authType": "Bearer",
                  "secretName": "X-Example-Signature",
                  "secretValue": "REPLACE_WITH_YOUR_WEBHOOK_SECRET"
                }
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "The configuration was updated. The response has no body."
          },
          "400": {
            "$ref": "#/components/responses/ConfigurationBadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/DistributorNotFound"
          },
          "500": {
            "$ref": "#/components/responses/UpstreamError"
          }
        },
        "security": [
          {
            "OAuth2ClientCredentials": []
          }
        ]
      }
    }
  },
  "components": {
    "responses": {
      "ConfigurationBadRequest": {
        "description": "Bad Request. The configuration change was rejected (`UPSTREAM_ERROR`), or the request body could not be parsed as JSON (`MALFORMED_REQUEST_BODY`).",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            },
            "example": {
              "httpStatus": 400,
              "traceId": "80f198ee56343ba864fe8b2a57d3eff7",
              "errors": [
                {
                  "code": "UPSTREAM_ERROR",
                  "field": null,
                  "description": "Failed to update configuration via Skyway distributor service"
                }
              ]
            }
          }
        }
      },
      "Unauthorized": {
        "description": "Unauthorized. The access token is missing, invalid, or expired. The API Gateway rejects the request before it reaches the service.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            },
            "example": {
              "httpStatus": 401,
              "traceId": "80f198ee56343ba864fe8b2a57d3eff7",
              "errors": [
                {
                  "code": "UNAUTHORIZED",
                  "field": null,
                  "description": "The access token is missing, invalid, or expired."
                }
              ]
            }
          }
        }
      },
      "Forbidden": {
        "description": "Forbidden. The token is not an external M2M token, or it does not carry the scope required to reach this endpoint.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            },
            "example": {
              "httpStatus": 403,
              "traceId": "80f198ee56343ba864fe8b2a57d3eff7",
              "errors": [
                {
                  "code": "FORBIDDEN",
                  "field": null,
                  "description": "M2M token missing required scope"
                }
              ]
            }
          }
        }
      },
      "DistributorNotFound": {
        "description": "Not Found. The organization resolved from the access token is not registered as a Jamf distributor (`NOT_FOUND`), or the requested quote or purchase order does not exist for that distributor (`UPSTREAM_ERROR`).",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            },
            "example": {
              "httpStatus": 404,
              "traceId": "80f198ee56343ba864fe8b2a57d3eff7",
              "errors": [
                {
                  "code": "NOT_FOUND",
                  "field": null,
                  "description": "Unable to find organization for tenant service organization id 0c1d2e3f-4a5b-6c7d-8e9f-0a1b2c3d4e5f"
                }
              ]
            }
          }
        }
      },
      "UpstreamError": {
        "description": "Internal Server Error. The upstream distributor platform failed to serve the request. Only upstream `400`, `404`, and `409` responses are relayed with their own status; every other upstream failure is reported as a `500`, since it describes Jamf's problem rather than the caller's. The `description` is deliberately generic; quote `traceId` when reporting the failure.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            },
            "example": {
              "httpStatus": 500,
              "traceId": "80f198ee56343ba864fe8b2a57d3eff7",
              "errors": [
                {
                  "code": "UPSTREAM_ERROR",
                  "field": null,
                  "description": "The request could not be completed"
                }
              ]
            }
          }
        }
      }
    },
    "schemas": {
      "DistributorConfiguration": {
        "type": "object",
        "description": "Integration configuration for a distributor organization: how it is permitted to submit purchase orders and where Jamf delivers its webhooks.",
        "properties": {
          "jamfInfo": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/DistributorJamfInfo"
              }
            ],
            "readOnly": true,
            "description": "Details Jamf maintains about the distributor. Read-only; ignored if supplied on update. Null when the distributor platform holds no Jamf-maintained details for the organization.",
            "example": {
              "distributorName": "Example Distribution Group",
              "originCidr": [
                "203.0.113.0/24",
                "198.51.100.16/28"
              ]
            }
          },
          "poSubmissionPermission": {
            "type": "string",
            "nullable": true,
            "description": "How the distributor is permitted to submit purchase orders. Values are human-readable phrases and may contain spaces, such as `API only`, `Email only`, or `API and email`. Null when the distributor platform has no submission permission recorded.",
            "example": "API and email"
          },
          "webhook": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/DistributorWebhook"
              }
            ],
            "description": "Webhook delivery settings for events raised on the distributor's purchase orders. Null when no webhook has been configured.",
            "example": {
              "enabled": true,
              "subscribedTo": [
                "purchase-order-status-changed"
              ],
              "url": "https://webhooks.example.com/jamf/purchase-orders",
              "authType": "Bearer",
              "secretName": "X-Example-Signature"
            }
          }
        }
      },
      "DistributorJamfInfo": {
        "type": "object",
        "description": "Details Jamf maintains about a distributor. Read-only.",
        "properties": {
          "distributorName": {
            "type": "string",
            "description": "Registered name of the distributor.",
            "example": "Example Distribution Group"
          },
          "originCidr": {
            "type": "array",
            "nullable": true,
            "description": "CIDR ranges that API requests from the distributor are permitted to originate from.",
            "items": {
              "type": "string",
              "description": "A CIDR range in IPv4 or IPv6 notation.",
              "example": "203.0.113.0/24"
            },
            "example": [
              "203.0.113.0/24",
              "198.51.100.16/28"
            ]
          }
        }
      },
      "DistributorWebhook": {
        "type": "object",
        "description": "Webhook delivery settings for events raised on a distributor's purchase orders.",
        "properties": {
          "enabled": {
            "type": "boolean",
            "description": "Whether Jamf delivers webhooks to `url`. When false, the remaining settings are retained but no deliveries are made.",
            "example": true
          },
          "subscribedTo": {
            "type": "array",
            "nullable": true,
            "description": "Event types the distributor receives. An empty list means no events are delivered even when `enabled` is true.",
            "items": {
              "type": "string",
              "description": "An event type available for webhook delivery.",
              "example": "purchase-order-status-changed"
            },
            "example": [
              "purchase-order-status-changed"
            ]
          },
          "url": {
            "type": "string",
            "nullable": true,
            "description": "HTTPS endpoint Jamf delivers webhooks to. Required when `enabled` is true.",
            "example": "https://webhooks.example.com/jamf/purchase-orders"
          },
          "authType": {
            "type": "string",
            "nullable": true,
            "description": "How the delivery is authenticated to the distributor's endpoint, such as a bearer token or a signature header.",
            "example": "Bearer"
          },
          "secretName": {
            "type": "string",
            "nullable": true,
            "description": "Name of the header the secret is sent in.",
            "example": "X-Example-Signature"
          },
          "secretValue": {
            "type": "string",
            "format": "password",
            "nullable": true,
            "writeOnly": true,
            "description": "Secret used to authenticate webhook deliveries. Write-only: supply it to set or rotate the secret, and expect it to be omitted from every response.",
            "example": "REPLACE_WITH_YOUR_WEBHOOK_SECRET"
          }
        }
      },
      "ApiError": {
        "type": "object",
        "description": "Standard Jamf error response body, returned for every non-2xx response raised by the service.",
        "required": [
          "httpStatus",
          "errors"
        ],
        "properties": {
          "httpStatus": {
            "type": "integer",
            "description": "HTTP status code of the response.",
            "example": 400
          },
          "traceId": {
            "type": "string",
            "nullable": true,
            "description": "Trace identifier correlating the response with Jamf server-side logs. Quote it when reporting a failure. Null when the request carried no active trace.",
            "example": "80f198ee56343ba864fe8b2a57d3eff7"
          },
          "errors": {
            "type": "array",
            "description": "Every problem found with the request. Always holds at least one entry.",
            "items": {
              "$ref": "#/components/schemas/ApiErrorItem"
            }
          }
        }
      },
      "ApiErrorItem": {
        "type": "object",
        "description": "A single problem with the request.",
        "required": [
          "code",
          "description"
        ],
        "properties": {
          "code": {
            "type": "string",
            "description": "Machine-readable, stable classification of the problem. Values used by this API include `MALFORMED_REQUEST_BODY`, `BAD_REQUEST`, `UNAUTHORIZED`, `FORBIDDEN`, `NOT_FOUND`, `UPSTREAM_ERROR`, and `INTERNAL_ERROR`. Prefer this over matching on `description`.",
            "example": "UPSTREAM_ERROR"
          },
          "field": {
            "type": "string",
            "nullable": true,
            "description": "Request field the problem relates to, in dotted notation for a nested field. Null when the problem is not about one field.",
            "example": null
          },
          "description": {
            "type": "string",
            "description": "Human-readable explanation, for troubleshooting rather than display to an end user. Generic for server-side failures, which are correlated through `traceId` instead.",
            "example": "Failed to add purchase order via Skyway distributor service"
          }
        }
      }
    },
    "securitySchemes": {
      "OAuth2ClientCredentials": {
        "type": "oauth2",
        "description": "Obtain an access token by calling the API Gateway's token endpoint using the OAuth2 client-credentials flow.",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://{region}.api.jamfcloud.com/auth/token",
            "scopes": {}
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://{region}.api.jamfcloud.com/partners",
      "description": "Jamf Production API Gateway",
      "variables": {
        "region": {
          "default": "us",
          "enum": [
            "us"
          ],
          "description": "Select the regional gateway"
        }
      }
    }
  ],
  "security": [
    {
      "OAuth2ClientCredentials": []
    }
  ]
}
```