Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

V0.11

This call will create manifest(s) in Browntape. The orders will be split into different manifests based on the Channel, Warehouse, Order type i.e. self fulfilled, oneship, easyship etc. and Courier.

End Point

https://app.browntape.com/0.11/manifests/add.json

Parameters

Code Block
?username=XXXXXXXXXX
&auth_string=YYYYYYYYY

Post Parameters

Code Block
{
  "orders": [
    "843654363",
    "3807104",
    "3809924",
    "3779341",
    "133044674",
    "133044666"  
  ](browntape order ids)  
}

Response

Code Block
{
     "success": true,
     "data": {
     "manifests": [
        {
           "id": "48961",
           "orders": [
           "3809924"   
        ],
           "bt_manifest": "https://btesimages.s3.amazonaws.com/PdfManifestFiles/manifest-48961pdf",
           "manifest_status_id": 1  
      },
        {
           "id": "48962",
           "orders": [
           "133044674"   
        ],
           "bt_manifest": "https://btesimages.s3.amazonaws.com/PdfManifestFiles/manifest-48962pdf",
           "manifest_status_id": 1  
      } 
    ]  
  },
    "messages": [
       {
       "Order_id": "3779341",
       "message": "Courier name/tracking number has not been set",
       "status": "failed"   
    },
       {
       "Order_id": "3807104",
       "message": "Courier name/tracking number has not been set",
       "status": "failed"   
    },
       {
       "Order_id": "843654363",
       "message": "Courier name/tracking number has not been set",
       "status": "failed"   
    },
    {
      "Order_id": "133044666",
      "message": "Order has already been manifested",
      "status": "warning",
      "Manifest_id": "48960",
      "channel_manifest_pdf_path": null
    }  
  ] 
}

V0.1

This call will create a manifest in Browntape . Orders with the same Courier, from the same Channel and with the same order type will be added to the same manifest.

End Point

https://app.browntape.com/0.1/manifests/add.json

...

Code Block
?username=XXXXXXXXXX
&auth_string=YYYYYYYYY

Post Parameters

Code Block
{
  data:  {
    "orders": [
      "157710",
      "157712",
      "157713",
      "157720",
      "157718"
    ] // browntape order ids
  }
}

Response

Code Block
{
  "success": true,
  "message": [
      "Order 157718 has already been manifested",
      "Order 157720 has already been manifested"
  ],
  "data": {
      "manifest": [
      {
          "id": "57",
          "orders": [
          "157710",
          "157712"  
        ]
      },
      {
          "id": "58",
          "orders": [
          "157713"  
        ]
      }  
    ]
  }  
}