Biteship MCP by usefulapi
v1.6.1Compare courier rates, book courier pickups, cancel orders and track parcels in Biteship.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
biteship_list_couriers List couriers
List the courier services Biteship can book, with courier_code, courier_service_code, service type and cash-on-delivery and proof-of-delivery support. Good first call. Biteship API: GET /v1/couriers.
biteship_search_areas Search areas
Find Biteship area ids by place name, for example 'Pesanggrahan' or 'Jakarta Selatan'. Use the id in biteship_get_rates and biteship_create_order. Each call counts against the Maps quota on live keys. Biteship API: GET /v1/maps/areas.
| Parameter | Type | Description |
|---|---|---|
input * | string | Place name to search for. |
countries | string | ISO country codes, comma separated (default ID, Indonesia). |
biteship_get_rates Get shipping rates
Quote the price and delivery time of each courier service for one route. Returns quotes only; no order is created. Each quote has company and type values; biteship_create_order takes them as courier_company and courier_type. Each call counts against the Rates quota on live keys. Biteship API: POST /v1/rates/couriers.
| Parameter | Type | Description |
|---|---|---|
couriers * | string | Courier codes separated by commas, from biteship_list_couriers, for example 'jne,sicepat'. |
destination_area_id * | string | Area id from biteship_search_areas. |
items * | array | Items in the parcel. |
origin_area_id * | string | Area id from biteship_search_areas. |
biteship_get_location Get a saved location
Read one saved location (an address in the customer's Biteship address book) by its id. Biteship API: GET /v1/locations/{id}.
| Parameter | Type | Description |
|---|---|---|
location_id * | string | Location id from the Biteship dashboard. |
biteship_get_order Get an order
Read one order by its id: status, courier, waybill_id, tracking_id and status history. Biteship API: GET /v1/orders/{id}.
| Parameter | Type | Description |
|---|---|---|
order_id * | string | Order id, from biteship_create_order or the Biteship dashboard. |
biteship_get_tracking Track a shipment
Read the tracking status and history of a shipment by its tracking id (courier.tracking_id on the order). Biteship API: GET /v1/trackings/{id}.
| Parameter | Type | Description |
|---|---|---|
tracking_id * | string | Tracking id, from the order's courier.tracking_id. |
biteship_create_order Create a shipping order (spends balance)
BOOKS A LIVE SHIPMENT: creates a Biteship order and asks the courier to pick up the parcel. It uses the customer's monthly Orders quota or Biteship balance. Call only when the user asks to book this exact shipment, after a rate check with biteship_get_rates. Set confirm_spend to true only after the user approves the cost. Undo with biteship_cancel_order. Biteship API: POST /v1/orders.
| Parameter | Type | Description |
|---|---|---|
confirm_spend * | boolean | Must be true. Set it only after the user approves that this order books a courier and spends balance. |
courier_company * | string | Courier code from biteship_get_rates (company), for example 'jne'. |
courier_type * | string | Service type from biteship_get_rates (type), for example 'reg'. |
delivery_type * | string | 'now' asks for pickup at once. 'scheduled' also needs delivery_date and delivery_time. |
destination_address * | string | Full delivery address. |
destination_area_id * | string | Delivery area id from biteship_search_areas. |
destination_contact_name * | string | Name of the receiver. |
destination_contact_phone * | string | Phone of the receiver. |
items * | array | Items in the parcel. |
origin_address * | string | Full pickup address. |
origin_area_id * | string | Pickup area id from biteship_search_areas. |
origin_contact_name * | string | Name of the person at the pickup location. |
origin_contact_phone * | string | Phone of the person at the pickup location. |
delivery_date | string | Pickup date, yyyy-mm-dd. Required for scheduled orders. |
delivery_time | string | Pickup time, HH:mm (24 hours). Required for scheduled orders. |
destination_contact_email | string | Email of the receiver. |
destination_latitude | number | Delivery latitude. Send with destination_longitude. |
destination_longitude | number | Delivery longitude. Send with destination_latitude. |
destination_note | string | Delivery note. |
order_note | string | Note for the courier. |
origin_latitude | number | Pickup latitude. Send with origin_longitude. Instant couriers need coordinates. |
origin_longitude | number | Pickup longitude. Send with origin_latitude. |
origin_note | string | Pickup note, for example the building colour. |
reference_id | string | Your own order id, to match this order later. |
biteship_cancel_order Cancel an order
Cancel a live Biteship order by its id. Use only when the user asks to cancel that order. Reason codes in the docs: change_courier, pickup_delay, change_address, others. Biteship API: POST /v1/orders/{id}/cancel.
| Parameter | Type | Description |
|---|---|---|
cancellation_reason_code * | string | Reason code from the Biteship docs: change_courier, pickup_delay, change_address or others. |
order_id * | string | Order id to cancel. |
cancellation_reason | string | Free-text reason, for example when the code is 'others'. |