Change Updates

Do not miss any Declaration API changes, ever again

Subscribe to the Declaration API changelog to be up to date on recent changes.

RSS

Oct 21, 2025

main
1.0.0
Compare

API structure has changed

6 structure changes including:
6 Modifications
Modified 6 Breaking
GET /declarations
  • Response
  • 200 response Modified
    • application/json content type Modified
      • line_items property Modified
        • gross_weight_in_grams, net_weight_in_grams properties Modified
          • Properties are now required
            Breaking
        • gross_weight_in_kg, net_weight_in_kg properties Modified
          • Properties are no longer required
GET /declarations/{client_ref}
  • Response
  • 200 response Modified
    • application/json content type Modified
      • line_items property Modified
        • gross_weight_in_grams, net_weight_in_grams properties Modified
          • Properties are now required
            Breaking
        • gross_weight_in_kg, net_weight_in_kg properties Modified
          • Properties are no longer required
POST /declarations
  • Body
  • application/json content type Modified
    • line_items property Modified
      • gross_weight_in_grams, net_weight_in_grams properties Modified
        • Properties are now required
          Breaking
      • gross_weight_in_kg, net_weight_in_kg properties Modified
        • Properties are no longer required
  • Response
  • 201 response Modified
    • application/json content type Modified
      • line_items property Modified
        • gross_weight_in_grams, net_weight_in_grams properties Modified
          • Properties are now required
            Breaking
        • gross_weight_in_kg, net_weight_in_kg properties Modified
          • Properties are no longer required
POST /waybills
  • Body
  • application/json content type Modified
    • declarations property Modified
      • line_items property Modified
        • gross_weight_in_grams, net_weight_in_grams properties Modified
          • Properties are now required
            Breaking
        • gross_weight_in_kg, net_weight_in_kg properties Modified
          • Properties are no longer required
  • Response
  • 201 response Modified
    • application/json content type Modified
      • declarations property Modified
        • line_items property Modified
PUT /declarations/{client_ref}/cancel
  • Response
  • 200 response Modified
    • application/json content type Modified
      • line_items property Modified
        • gross_weight_in_grams, net_weight_in_grams properties Modified
          • Properties are now required
            Breaking
        • gross_weight_in_kg, net_weight_in_kg properties Modified
          • Properties are no longer required
PUT /declarations/{client_ref}/present
  • Response
  • 200 response Modified
    • application/json content type Modified
      • line_items property Modified
        • gross_weight_in_grams, net_weight_in_grams properties Modified
          • Properties are now required
            Breaking
        • gross_weight_in_kg, net_weight_in_kg properties Modified
          • Properties are no longer required