Xameel

Xameel

  • Agent App
  • User Portal
  • Developer

›Developer

Agent App

  • Start
  • Register at Xameel
  • Resetting your Password
  • Managing a Delivery
  • Cancelling a Delivery
  • Completing a Delivery

User Portal

  • Start
  • Create Delivery Request
  • Manage Delivery Request
  • Cancel Delivery Request
  • Create API
  • Enable / Disable API
  • Remove API
  • View Report
  • Export Report
  • View invoice
  • Pay Invoice

Developer

  • Start
  • Get Delivery Cost Estimate
  • Submit a Delivery Request
  • Get a Collection of Delivery Requests
  • Get a Delivery Request
  • Update a Delivery Request
  • Cancel a Delivery Request
  • Add an Item to a Delivery
  • Update an Item in a Delivery
  • Delete and Item from a Delivery
  • Get Chat Messages
  • Submit Chat Message

Delete and Item from a Delivery

This API allowes removing an item from an on going delivery request.

Update Amount to Collect

Deleting an item from a delivery will update the delivery sub total, but will not update the amount to be collected automatically. This will allow removing items and accepting payments for them without effecting the total needed to be collected. To update the amount to be collected, you need to include 'updateAmountToCollect' in the request.

Request

Method : DELETE
URI : https://core.xameel.com/api/v1/call/delivery-item/{item-uuid}
ParamRequiredDetails
item-uuidYesThe item identification string

Header

{
    "Content-Type": "application/json",
    "Accept": "application/json",
    "api_key": "your-api-key",
    "api_aceess": "your-api-access",
    "api_pass": "your-api-password"
}
KeyRequiredTypeDetails
api_keyYesStringYour API key generated from the user portal
api_accessYesStringYour API access generated from the user portal
api_passwordYesStringYour API password generated from the user portal

Expected Response

Success

{
    "code": 200,
    "status": "success",
    "message": "Deleted successfully"
}

Failure

This response is just a sample, the content may differ based on the type of error

{
    "code": 400,
    "err_code": "1x00024-049",
    "status": "fail",
    "message": "Unauthorized",
    "errors": [
        "Your account is not authorized to delete."
    ]
}
CodeErrorDetails
4001x00024-109Missing requirements to complete the request
4001x00024-129Input error
4011x00024-015API data provided are incorrect
4031x00024-166Unauthorized to preform the request
5001x00024-055Couldn't update the delivery total
5001x00024-088Couldn't delete the item
← Update an Item in a DeliveryGet Chat Messages →
  • Update Amount to Collect
  • Request
  • Header
  • Expected Response
    • Success
    • Failure
Xameel
Docs
Web Portal for BusinessAgent AppAPI Integration "Hello World!"
Community
User ShowcaseStack OverflowContact us
More
DGEra3WebBox
3WebBox and DGEra family
Copyright © 2018 DGEra - Xameel Logistic Services