Skip to main content

Apply Network Recommendations

POST 

/api/send-plans/:sendPlan/lines/apply-network-recommendations

Set send lines to the network's own recommendation (today: Amazon's Restock report quantity on FBA lines), in one step. Each changed line is recorded as an edit with the reason network_recommendation, the same as editing it by hand, and the plan totals are recalculated once.

Required scope: send-plans:write

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

Authentication: Bearer Personal Access Token with the send-plans:write scope. The token's user also needs permission to edit the send planner.

Body fields (all optional):

  • line_ids (integer[], max 5000): only these lines. Omit to use every line in the plan that has a recommendation.
  • network (string, max 50): only lines of this network (e.g. amazon_fba).

Lines without a recommendation are never changed. Lines already drafted, or waiting in a draft that is being created, are skipped. The plan must be ready.

Response: applied (lines changed), unchanged (already at the recommended quantity) and skipped (could not be changed any more).

Request​

Responses​

OK

Response Headers
    Content-Type