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

Changelog

Last update:
Compare
6 structure changes including:
5 Breaking changes
1 Addition
5 Removals
Removed 5 Breaking
GET /declarations
  • Removing a resource is always breaking unless it was deprecated before
    Breaking
GET /declarations/{client_ref}
  • Removing a resource is always breaking unless it was deprecated before
    Breaking
POST /declarations
  • Removing a resource is always breaking unless it was deprecated before
    Breaking
PUT /declarations/{client_ref}/cancel
  • Removing a resource is always breaking unless it was deprecated before
    Breaking
PUT /declarations/{client_ref}/present
  • Removing a resource is always breaking unless it was deprecated before
    Breaking
Added 1
POST /waybills
2 structure changes including:
2 Modifications
Modified 2 Breaking
GET /declarations
  • Query
  • livemode query parameter Removed
    • Removing a resource is always breaking unless it was deprecated before
      Breaking
PUT /declarations/{client_ref}/present
  • Body
  • application/json content type Modified
    • location_of_goods property Modified
      • Property is no longer required
5 structure changes including:
5 Modifications
Modified 5 Breaking
GET /declarations
  • Response
  • 200 response Modified
    • application/json content type Modified
      • template_code, declaration_office_code properties Modified
        • Properties are now required
          Breaking
GET /declarations/{client_ref}
  • Response
  • 200 response Modified
    • application/json content type Modified
      • template_code, declaration_office_code properties Modified
        • Properties are now required
          Breaking
POST /declarations
  • Body
  • application/json content type Modified
    • template_code, declaration_office_code properties Modified
      • Properties are now required
        Breaking
  • Response
  • 201 response Modified
    • application/json content type Modified
      • template_code, declaration_office_code properties Modified
        • Properties are now required
          Breaking
PUT /declarations/{client_ref}/cancel
  • Response
  • 200 response Modified
    • application/json content type Modified
      • template_code, declaration_office_code properties Modified
        • Properties are now required
          Breaking
PUT /declarations/{client_ref}/present
  • Response
  • 200 response Modified
    • application/json content type Modified
      • template_code, declaration_office_code properties Modified
        • Properties are now required
          Breaking
5 structure changes including:
5 Modifications
Modified 5 Breaking
GET /declarations
  • Response
  • 200 response Modified
    • application/json content type Modified
      • line_items property Modified
        • intrinsic_value_cents, freight_cost_cents, insurance_cost_cents, customs_value_cents properties Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
        • intrinsic_value, freight_cost, insurance_cost properties Added
      • total_intrinsic_value_cents, total_freight_cost_cents, total_insurance_cost_cents, total_invoice_value_cents, livemode, waybill_client_ref, tags, searchable, authorizations, guarantees, additional_information, last_fetched_at, correlation_id properties Removed
        • Removing a resource is always breaking unless it was deprecated before
          Breaking
GET /declarations/{client_ref}
  • Response
  • 200 response Modified
    • application/json content type Modified
      • line_items property Modified
        • intrinsic_value_cents, freight_cost_cents, insurance_cost_cents, customs_value_cents properties Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
        • intrinsic_value, freight_cost, insurance_cost properties Added
      • total_intrinsic_value_cents, total_freight_cost_cents, total_insurance_cost_cents, total_invoice_value_cents, livemode, waybill_client_ref, tags, searchable, authorizations, guarantees, additional_information, last_fetched_at, correlation_id properties Removed
        • Removing a resource is always breaking unless it was deprecated before
          Breaking
POST /declarations
  • Body
  • application/json content type Modified
    • line_items property Modified
      • intrinsic_value_cents, freight_cost_cents, insurance_cost_cents, customs_value_cents properties Removed
        • Removing a resource is always breaking unless it was deprecated before
          Breaking
      • intrinsic_value, freight_cost, insurance_cost properties Added
    • total_intrinsic_value_cents, total_freight_cost_cents, total_insurance_cost_cents, total_invoice_value_cents, waybill_client_ref, tags, authorizations, guarantees, additional_information properties Removed
      • Removing a resource is always breaking unless it was deprecated before
        Breaking
  • Response
  • 201 response Modified
    • application/json content type Modified
      • line_items property Modified
        • intrinsic_value_cents, freight_cost_cents, insurance_cost_cents, customs_value_cents properties Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
        • intrinsic_value, freight_cost, insurance_cost properties Added
      • total_intrinsic_value_cents, total_freight_cost_cents, total_insurance_cost_cents, total_invoice_value_cents, livemode, waybill_client_ref, tags, searchable, authorizations, guarantees, additional_information, last_fetched_at, correlation_id properties Removed
        • Removing a resource is always breaking unless it was deprecated before
          Breaking
PUT /declarations/{client_ref}/cancel
  • Response
  • 200 response Modified
    • application/json content type Modified
      • line_items property Modified
        • intrinsic_value_cents, freight_cost_cents, insurance_cost_cents, customs_value_cents properties Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
        • intrinsic_value, freight_cost, insurance_cost properties Added
      • total_intrinsic_value_cents, total_freight_cost_cents, total_insurance_cost_cents, total_invoice_value_cents, livemode, waybill_client_ref, tags, searchable, authorizations, guarantees, additional_information, last_fetched_at, correlation_id properties Removed
        • Removing a resource is always breaking unless it was deprecated before
          Breaking
PUT /declarations/{client_ref}/present
  • Response
  • 200 response Modified
    • application/json content type Modified
      • line_items property Modified
        • intrinsic_value_cents, freight_cost_cents, insurance_cost_cents, customs_value_cents properties Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
        • intrinsic_value, freight_cost, insurance_cost properties Added
      • total_intrinsic_value_cents, total_freight_cost_cents, total_insurance_cost_cents, total_invoice_value_cents, livemode, waybill_client_ref, tags, searchable, authorizations, guarantees, additional_information, last_fetched_at, correlation_id properties Removed
        • Removing a resource is always breaking unless it was deprecated before
          Breaking
5 structure changes including:
5 Modifications
Modified 5 Breaking
GET /declarations
  • Response
  • 200 response Modified
    • application/json content type Modified
      • total_packages property Modified
        • Property is now required
          Breaking
      • tags, searchable, goods_presentation_effective_date, cancellation_requested_at, rejected_at, last_fetched_at, correlation_id properties Added
GET /declarations/{client_ref}
  • Response
  • 200 response Modified
    • application/json content type Modified
      • total_packages property Modified
        • Property is now required
          Breaking
      • tags, searchable, goods_presentation_effective_date, cancellation_requested_at, rejected_at, last_fetched_at, correlation_id properties Added
POST /declarations
  • Body
  • application/json content type Modified
    • total_packages property Modified
      • Property is now required
        Breaking
    • tags property Added
  • Response
  • 201 response Modified
    • application/json content type Modified
      • total_packages property Modified
        • Property is now required
          Breaking
      • tags, searchable, goods_presentation_effective_date, cancellation_requested_at, rejected_at, last_fetched_at, correlation_id properties Added
PUT /declarations/{client_ref}/cancel
  • Response
  • 200 response Modified
    • application/json content type Modified
      • total_packages property Modified
        • Property is now required
          Breaking
      • tags, searchable, goods_presentation_effective_date, cancellation_requested_at, rejected_at, last_fetched_at, correlation_id properties Added
PUT /declarations/{client_ref}/present
  • Response
  • 200 response Modified
    • application/json content type Modified
      • total_packages property Modified
        • Property is now required
          Breaking
      • tags, searchable, goods_presentation_effective_date, cancellation_requested_at, rejected_at, last_fetched_at, correlation_id properties Added
2 structure changes including:
2 Breaking changes
2 Removals
Removed 2 Breaking
GET /declarations/{client_ref}/job-status
  • Removing a resource is always breaking unless it was deprecated before
    Breaking
PUT /declarations/{client_ref}/submit
  • Removing a resource is always breaking unless it was deprecated before
    Breaking
1 structure change including:
1 Breaking change
1 Removal
Removed 1 Breaking
PUT /declarations/{client_ref}
  • Removing a resource is always breaking unless it was deprecated before
    Breaking