# Update price adjustment Partially updates an existing Price Adjustment. Only provided fields will be updated. Endpoint: PATCH /site/{siteId}/ahds/v1/price-adjustment/{priceAdjustmentId} Version: 1.0 Security: bearer ## Path parameters: - `siteId` (number, required) Site identifier - `priceAdjustmentId` (string, required) Price Adjustment unique identifier (UUID) ## Request fields (application/json): - `adjustmentAmount` (string) Base adjustment amount as a decimal string (may represent fixed amount or percentage depending on method). - `adjustmentMethod` (string) Method used to calculate the adjustment (e.g., fixed amount, percentage). - `adjustmentType` (string) High-level type of price adjustment. Enum: "user", "credit", "rounding", "discount", "surcharge" - `associatedResourceId` (string) Identifier of the resource this adjustment is associated with. Example: "123e4567-e89b-12d3-a456-426614174000" - `associatedResourceType` (string) Type of resource this adjustment is associated with (e.g., invoice, invoiceLine, estimate). - `description` (string) Human-readable description of the price adjustment. - `extensions` (object) Vendor- or practice-specific extensions. - `isActive` (boolean) Whether this price adjustment is currently active. - `isConsuming` (boolean) Whether this adjustment consumes a benefit or credit balance. - `totalChange` (string) Total change in amount (excluding tax) caused by this adjustment, as a decimal string. - `totalChangeTax` (string) Total change in tax amount caused by this adjustment, as a decimal string. - `totalEarned` (string) Total amount earned (excluding tax) as a result of this adjustment, as a decimal string. - `totalEarnedTax` (string) Total tax amount earned as a result of this adjustment, as a decimal string. - `triggeringResourceId` (string) Identifier of the resource that triggered this adjustment, if applicable. Example: "123e4567-e89b-12d3-a456-426614174000" - `triggeringResourceType` (string) Type of resource that triggered this adjustment, if applicable. - `wellnessPlanBenefitId` (string,null) Associated wellness plan benefit, if applicable. Example: "123e4567-e89b-12d3-a456-426614174000" - `wellnessPlanId` (string,null) Associated wellness plan, if applicable. Example: "123e4567-e89b-12d3-a456-426614174000" - `wellnessPlanMembershipId` (string,null) Associated wellness plan membership, if applicable. Example: "123e4567-e89b-12d3-a456-426614174000" ## Response 200 fields (application/json): - `adjustmentAmount` (string, required) Base adjustment amount as a decimal string (may represent fixed amount or percentage depending on method). - `adjustmentMethod` (string, required) Method used to calculate the adjustment (e.g., fixed amount, percentage). - `adjustmentType` (string, required) High-level type of price adjustment. Enum: "user", "credit", "rounding", "discount", "surcharge" - `associatedResourceId` (string, required) Identifier of the resource this adjustment is associated with. Example: "123e4567-e89b-12d3-a456-426614174000" - `associatedResourceType` (string, required) Type of resource this adjustment is associated with (e.g., invoice, invoiceLine, estimate). - `createdAt` (string, required) Timestamp when the price adjustment was created. Example: "2025-01-01T00:00:00.000Z" - `description` (string, required) Human-readable description of the price adjustment. - `extensions` (object, required) Vendor- or practice-specific extensions. - `isActive` (boolean, required) Whether this price adjustment is currently active. - `isConsuming` (boolean, required) Whether this adjustment consumes a benefit or credit balance. - `priceAdjustmentId` (string, required) Canonical identifier for the price adjustment. Example: "123e4567-e89b-12d3-a456-426614174000" - `totalChange` (string, required) Total change in amount (excluding tax) caused by this adjustment, as a decimal string. - `totalChangeTax` (string, required) Total change in tax amount caused by this adjustment, as a decimal string. - `totalEarned` (string, required) Total amount earned (excluding tax) as a result of this adjustment, as a decimal string. - `totalEarnedTax` (string, required) Total tax amount earned as a result of this adjustment, as a decimal string. - `triggeringResourceId` (string, required) Identifier of the resource that triggered this adjustment, if applicable. Example: "123e4567-e89b-12d3-a456-426614174000" - `triggeringResourceType` (string, required) Type of resource that triggered this adjustment, if applicable. - `updatedAt` (string, required) Timestamp when the price adjustment was last updated. Example: "2025-01-01T00:00:00.000Z" - `wellnessPlanBenefitId` (string,null, required) Associated wellness plan benefit, if applicable. Example: "123e4567-e89b-12d3-a456-426614174000" - `wellnessPlanId` (string,null, required) Associated wellness plan, if applicable. Example: "123e4567-e89b-12d3-a456-426614174000" - `wellnessPlanMembershipId` (string,null, required) Associated wellness plan membership, if applicable. Example: "123e4567-e89b-12d3-a456-426614174000" ## Response 400 fields ## Response 401 fields ## Response 404 fields