Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This call updates a manifest in Browntape.

Table of Contents

V0.11 (recommended)

End Point

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

Info

Note: This is a version 0.11 endpoint

Parameters

Code Block
?username =XXXXXXXXXX
&auth_string =YYYYYYYYY

Post Parameters

Code Block
{
  data: {
     "manifest": {
        "id": 48955  "status": "closed/picked/shipped" 
    }   
  }      
}

Response

When call succeeds and has a token

Code Block
{
    "success": true,
    "data": {
       "token": [
       {
          "order_id": [
             "843630872"  
        ],
          "token": "cf31a6da11e3fc91d86a08f8f138c2b7" 
      }   
    ],
       "manifest_status_id": 3  
  } 
}

When user tries to update the manifest status as picked or shipped, before closed

Code Block
{
    "success": false,
    "message": "Cannot update manifest status. Please do actions in sequence of Open->Closed->Picked/Shipped" 
}

When MP fulfillment manifest tries to update status as shipped

Code Block
{
    "success": false,
    "message": "Illegal status. Please check your manifests fulfillment status and then try to update manifest again." 
}

When Seller fulfilled manifest tries to update manifest as picked

Code Block
{
    "success": false,
    "message": "Illegal status. Please check your manifests fulfillment status and then try to update manifest again." 
}

When an error occurs in updating the manifest status

Code Block
{
    "success": false,
    "message": "Manifest status update failed. Please try again, if the problem persists contact support" 
}

V0.1 (old)

End Point

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

...

Code Block
?username=XXXXXXXXXX
&auth_string=YYYYYYYYY

Post Parameters

Code Block
{
  data: {
      "manifest": {
        "id": 123  "status": "closed/picked"  
    }  
  }
}

...