Skip to main content
PATCH

Authorizations

x-api-key
string
header
required

API key for authentication. Create one in Settings > Developer. The key must have the BITCRM product scope and an orders resource scope; required action depends on the endpoint (READ, WRITE, or DELETE).

Path Parameters

id
string
required

Body

application/json

All fields optional — patch semantics.

name
string
Maximum string length: 255
fee
number<double>
Required range: x >= 0
shippingStatus
enum<string>

Unified shipping status. Some values are provider-specific (e.g. cancelled_by_blitz is RideBlitz, midmile_pickup_done is KiriminAja Express).

Available options:
confirmed,
allocated,
out_for_pickup,
picked,
out_for_delivery,
on_hold,
cancelled,
delivered,
rejected,
no_driver,
awaiting,
on_the_way_to_pickup,
delivering,
delivery_completed,
canceled,
processed_packages,
shipped_packages,
canceled_packages,
finished_packages,
returned_packages,
return_finished_packages,
created,
midmile_pickup_done,
midmile_pickup_failed,
arrived_blitz_hub,
allocation_failure,
pickup_started,
pickup_done,
pickup_failed,
pickup_failure,
dropoff_started,
dropoff_done,
dropoff_failed,
delivery_failure,
cancelled_by_blitz,
cancelled_by_business,
returned_to_business
serviceName
string
serviceType
enum<string>

Service category. INSTANT = on-demand intra-city; EXPRESS = scheduled inter-city.

Available options:
INSTANT,
EXPRESS
selectedExpedition
string
selectedDelivery
string
courierGroup
string
vehicleType
enum<string>

Vehicle requested for the pickup. TWO_WHEEL = motorcycle, FOUR_WHEEL = car.

Available options:
TWO_WHEEL,
FOUR_WHEEL
bikeFuelType
enum<string>

RideBlitz fuel preference. green = electric fleet (lower emissions, may have limited availability).

Available options:
regular,
green
packageHandover
enum<string>

How the merchant hands the package to the carrier. PICKUP = courier picks up from the store, DROPOFF = merchant drops off at carrier hub.

Available options:
PICKUP,
DROPOFF
pickupSchedule
string<date-time>
sender
object
delivery
object
package
object
insurance
boolean
insuranceFee
number<double>
Required range: x >= 0
insuranceAmount
number<double>
Required range: x >= 0
discountAmount
number<double>
Required range: x >= 0
discountPercentage
number<double>
Required range: 0 <= x <= 100
distance
number<double>
Required range: x >= 0
trackingUrl
string<uri>
awb
string
orderNo
string
bookingId
string
pickupNumber
string
paymentId
string
paymentStatus
enum<string>
Available options:
unpaid,
paid,
failed
statusCode
integer
cancellationReason
string
triggerBooking
boolean

When true, request pickup with the carrier after persisting this update. Same outcome as creating the shipment with autoBook: true.

Response

Updated.

data
object