Skip to main content

Recalculate Purchase Order Duty Estimates

POST 

/api/purchase-orders/:purchase_order/duty-estimates/recalculate

Recalculates every duty estimate of the purchase order now, regardless of staleness, and returns the same payload as List Purchase Order Duty Estimates. Manual overrides are kept.

Required scope: purchase-orders:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Authentication: Requires Bearer token (scope purchase-orders:write, permission purchase_orders.update).

line_tariffs lists, per product line, the HTS code and duty rate it is bought under. source: estimate reads the line's duty estimate. source: current (no estimate yet) reads the product's tariff code today (tariff_code_source: override, product or product_type, with product_type_name) and the rate that resolves now. duty_rate_percent excludes entry fees. estimated_duty is in tenant currency.

Request​

Responses​

OK

Response Headers
    Content-Type