Create many distribution requests
POST/distribution-requests
Stores one pending request per product, then gives the brokerage firm a brokerage fee for each product from the product's default fees. The requests are saved before the fees: if the firm already holds a fee for one of the products, for instance after an earlier request for it was deleted, the call fails with DUPLICATED_PRODUCT although every request was created, and the products after it in productIds get no fee. Retrying then fails with DISTRIBUTION_REQUEST_CREATION_CONFLICT because the requests exist; create the missing fees instead, since approving a request needs one.
Request
Responses
- 201
- 400
- 404
- 409