This call will create manifest(s) in Browntape and start fetching its manifest document from the marketplace. The orders will be split into different manifests based on the Channel, Warehouse, Order type i.e. self fulfilled, oneship, easyship etc. and Courier. You will be given a token with each manifest if marketplace manifest download is supported for that channel.
If manifest support channel manifest download then the call is queued, it will give the token id. If channel does not support channel manifest download then it will simply close manifest.
End Point
http://app.browntape.com/0.11/manifests/addCloseAndDownload.json
NOTE: This is a version 0.11 endpoint
Parameters
?username =XXXXXXXXXX &auth_string =YYYYYYYYY
Post Parameters
{ data: { "orders": [ "843621569", "3807104", "8323593", "843675246", "843630892", "843630895" ](browntape order ids) } }
Response
{ "success": true, "data": { "manifests": [ { "id": "48986", "orders": [ "8323593" ], "bt_manifest": "https://btesimages.s3.amazonaws.com/PdfManifestFiles/manifest-48986pdf", "manifest_status_id": 2, "tokenMessage": "This channel does not support get marketplace manifest." }, { "id": "48987", "orders": [ "843621569" ], "bt_manifest": "https://btesimages.s3.amazonaws.com/PdfManifestFiles/manifest-48987pdf", "manifest_status_id": 1, "token": "5dbab7c8140b349c486003e1fc011363" }, { "id": "48988", "orders": [ "843630892", "843630895" ], "bt_manifest": "https://btesimages.s3.amazonaws.com/PdfManifestFiles/manifest-48988pdf", "manifest_status_id": 1, "token": "915357d48203bdf955326467974dc097" }, { "id": "48989", "orders": [ "843675246" ], "bt_manifest": "https://btesimages.s3.amazonaws.com/PdfManifestFiles/manifest-48989pdf", "manifest_status_id": 1, "token": "9668b793a1e30f90a2243a0613aa8ba9" } ] }, "messages": [ { "Order_id": "3807104", "message": "Courier name/tracking number has not been set", "status": "failed" } ] }