Adjustment Webhooks
Handle billing adjustment notifications for shipment cost changes
Adjustment Webhooks
Adjustment webhooks notify you when shipping costs change after a shipment has been processed. These typically occur when carriers weigh or measure packages and find discrepancies from the original quoted dimensions or weight.
Understanding Adjustments
Shipping adjustments happen when the actual package characteristics differ from what was initially provided:
- Weight adjustments: Package weighs more or less than declared
- Dimension adjustments: Package dimensions differ from quoted size
- Service adjustments: Carrier changes service level or routing
- Address corrections: Carrier modifies delivery address
Adjustment Event Type
Adjustment webhooks are triggered with the event type:
The webhook will include the X-SSK-Webhook-Event-Type: shipment.invoice.created header.
Adjustment Webhook Structure
Adjustment webhooks follow the standard ShipSideKick webhook format but contain a ShipmentInvoice object in the result field:
Key Fields Explained
Invoice Information
invoice_type: Always "adjustment" for adjustment webhooksinvoice_date: When the carrier issued the adjustmentadjustment_reason: Why the adjustment occurred (e.g., "Weight", "Dimensions", "Service")adjustment_amount: The additional amount charged (positive) or credited (negative)
Cost Breakdown
quoted_amount: Original shipping cost estimateinitially_paid_amount: Amount charged when label was createdinvoice_amount: Adjustment amount (matchesadjustment_amount)total_cost: Final total cost after adjustment
Package Comparison
claimed_details: What you originally declaredcaptured_details: What the carrier actually measured/weighed
Common Adjustment Reasons
Weight Adjustments
The most common adjustments occur when actual package weight differs from declared weight:
Dimension Adjustments
Packages that are larger than declared may trigger dimensional weight pricing:
Service Adjustments
Carrier may change service level due to routing or delivery requirements:
Handling Adjustment Webhooks
Basic Processing Example
Dispute Process
If you believe an adjustment is incorrect, you can dispute it using the package_dispute_id provided in the webhook. Contact ShipSideKick support with:
- The
package_dispute_idfrom the webhook - Supporting documentation (photos, weight receipts, etc.)
- Explanation of why you believe the adjustment is incorrect
Related Resources
- Main Webhooks Guide for general webhook setup
- API Documentation for endpoint management
- Billing Documentation for understanding cost calculations