Skip to main content

Get Item Expiration Defaults

GET 

/api/amazon/:integrationInstance/draft-inbound-plans/:draft_inbound_plan/expiration-defaults

Suggested expiration date for each item of a draft FBA inbound plan that has a linked product. Nothing is saved: set the dates on the items with Update Draft Inbound Plan.

Required scope: integrations:read

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

Each item's date comes from, in order:

  1. lot: the earliest expiry among the unexpired lots on hand (available quantity above zero, expiring today or later) at the plan's ship-from warehouse, for products with lot tracking on. A plan that ships straight from a supplier has no lots on hand, so this step is skipped.
  2. estimate: today (in the account's time zone) plus the product's expiry estimate in months.
  3. default: today plus 10 months, when the product has no expiry estimate.

Each row contains item_id, product_id, expiration (date, Y-m-d), source (lot, estimate or default), lot_expiry (the lot date used, or null) and estimate_months (the product's estimate, or 10).

Returns 404 when the inbound plan belongs to a different Amazon account than the one in the URL.

Request​

Responses​

OK

Response Headers
    Content-Type