Skip to main content

Delete FBA Loss Event Link

DELETE 

/api/amazon/unified/fba-loss-events/:lossEvent/links/:link

Removes a link from a loss event and recomputes it. Links made by hand are removed directly; an automatic link needs force=1. The removal is remembered: automatic linking will not put that record back on this event, and the removed pair no longer appears in the event's timeline. Linking the record to the event again by hand clears that. Requires the integrations update permission.

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

Returns the event with its refreshed timeline. 422 when:

  • the link was made automatically and force=1 is not passed — "This link was made automatically. Pass force=1 to remove it; the linking run will not put this record back on this event."
  • the link is the event's own loss (role loss), which defines the event — "The loss itself can't be removed from its event: the event is that loss. Link its payments or found units elsewhere instead."

Request​

Responses​

OK

Response Headers
    Content-Type