For the complete documentation index, see llms.txt. This page is also available as Markdown.

Assign Shipment

Request Pickup

Assigning a shipment indicates to the SHiiP operations team that you are ready for pickup. This action triggers a queue on our end, prompting the team to begin processing your request. The operations team will then reach out promptly to coordinate and address any further questions or details.

Payload

List of payload to assign a shipment.

Field
Type
Required
Validation Rules
Description

shipment_id

Integer

Yes

Must be an ID of a shipment

An ID of the shipment being assigned ready for shipping

Request Sample

curl --location 'https://delivery-staging.apiideraos.com/api/v2/token/shipment/assign' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer Secret Key' \
--data '{
    "shipment_id" : 21712
}'
import requests
import json

url = "https://delivery-staging.apiideraos.com/api/v2/token/shipment/assign"

payload = json.dumps({
  "shipment_id": 21712
})
headers = {
  'Content-Type': 'application/json',
  'Authorization': 'Bearer Secret Key'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)

Response Sample

{
    "status": false,
    "message": "The shipment id field is required."
}
{
    "data": null,
    "status": true,
    "message": "Shipment Assigned to ready for shipping Successfully.",
    "status_code": 200
}
{
    "data": null,
    "status": false,
    "message": "Shipment not found",
    "status_code": 404
}

Last updated