Book Shipment

Collate your shipment rate and information to be booked.

The book shipment endpoint is used to submit your shipping details to the SHiiP operations team for processing. Once your shipment is booked, it is typically attended to within 30 minutes to 3 hours. Please note that this time frame may vary depending on the volume of shipments and operational surges on that particular day.

Payload

Here's the documentation for the payload in a tabular form:

Field

Type

Required

Validation Rules

Description

redis_key

string

Yes

A unique key for identifying Redis records.

user_id

Integer

Yes

The ID of the user initiating the request.

rate_id

string

Yes

A unique identifier for the rate being used.

platform

String

Yes

Must be set toweb2

Specifies the platform the request originates from.

delivery_note

string

No

Must be a string

Custom order request and instructions

Notes:

  • redis_key and rate_id must be valid UUIDs, ensuring unique, standardized formats.

  • user_id must be a positive integer, representing a valid user in the system.

  • platform must be set to web2, ensure the request comes from an allowed source.

Ensure your wallet is adequately funded before booking a shipment, as we'd be debiting you from there.

Request Sample

curl --location 'https://delivery-staging.apiideraos.com/api/v2/token/bookshipment' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer Secrek Key' \
--data '{
  "redis_key": "2c89e045-3a84-4316-923a-7729edbe4e21",
  "user_id": 96,
  "rate_id": "2c89e045-3a84-4316-923a-7729edbe4e21",
  "platform": "web2",
  "delivery_note": "Leave at the reception in my condo"
}'

Response Sample

{
    "status": false,
    "message": "The redis key field is required."
}

Last updated