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.
purchase-orders:readGrant 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
- 200
- 401
- 403
- 404
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not Found
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.