Skip to main content

Get Suggested Claim Values

GET 

/api/claims/prefill

Suggests the values for a new claim about a record, without saving anything. Pass data.values (adjusted as needed) to Create Claim.

Required scope: purchase-orders:read

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

What is suggested depends on the record:

  • Shipment (sales_order_fulfillment): carrier claim for lost in transit, or a 3PL claim when a 3PL warehouse shipped it without tracking; amount from the cost of the units shipped; deadline from the ship date.
  • Inbound shortfall: supplier short-shipment or carrier lost-in-transit claim, amount = missing units x unit cost.
  • WFS discrepancy: Walmart claim with the discrepancy units, estimated value and Walmart's dispute deadline.
  • Purchase order, inbound shipment, sales order: counterparty, claim type and default deadline only.

existing_claim_id is set when the record already has a claim (creating another returns 409). deadline_hint explains the suggested deadline.

Authentication: Requires Bearer token (scope: purchase-orders).

Requires permission: claims.manage

Request​

Responses​

OK

Response Headers
    Content-Type