Skip to main content
POST

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).

Body

application/json
orderId
string
required

ID of an Order in this company. Required — every shipment is attached to an order.

provider
enum<string>
required

Provider/courier code. gosend, kirimin_aja, and ride_blitz are externally integrated; jne is a passthrough placeholder; custom is for merchant-defined methods.

Available options:
gosend,
kirimin_aja,
ride_blitz,
jne,
custom
name
string
required

Human-readable label, e.g. JNE REG or GoSend Instant.

Maximum string length: 255
fee
number<double>
required

Shipping cost in the smallest unit of currency (e.g. 22000 = IDR 22,000).

Required range: x >= 0
sender
object
required
delivery
object
required
package
object
required
currency
string
default:IDR
serviceType
enum<string>

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

Available options:
INSTANT,
EXPRESS
serviceName
string
selectedExpedition
string

Provider service identifier, e.g. jne:reg, instant_2_hours, Instant.

selectedDelivery
string
courierGroup
string

KiriminAja Express group: regular, economy, one_day, cargo, next_day.

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>

ISO-8601 timestamp (with offset) when KiriminAja Express should pick up. Required when packageHandover=PICKUP for KA.

storeLocationId
string

Optional — link this shipment to a saved store location for analytics + future booking lookups.

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>

Pickup → delivery distance in km.

Required range: x >= 0
autoBook
boolean
default:false

When true, immediately request pickup with the carrier after persisting. Supported for kirimin_aja and ride_blitz.

Response

Shipment created.

data
object