Biteship MCP by usefulapi

v1.6.1
io.usefulapi/biteship Checked 1 day ago Published 6 hours ago

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

ParameterTypeDescription
input *stringPlace name to search for.
countriesstringISO 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.

ParameterTypeDescription
couriers *stringCourier codes separated by commas, from biteship_list_couriers, for example 'jne,sicepat'.
destination_area_id *stringArea id from biteship_search_areas.
items *arrayItems in the parcel.
origin_area_id *stringArea 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}.

ParameterTypeDescription
location_id *stringLocation 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}.

ParameterTypeDescription
order_id *stringOrder 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}.

ParameterTypeDescription
tracking_id *stringTracking 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.

ParameterTypeDescription
confirm_spend *booleanMust be true. Set it only after the user approves that this order books a courier and spends balance.
courier_company *stringCourier code from biteship_get_rates (company), for example 'jne'.
courier_type *stringService 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 *stringFull delivery address.
destination_area_id *stringDelivery area id from biteship_search_areas.
destination_contact_name *stringName of the receiver.
destination_contact_phone *stringPhone of the receiver.
items *arrayItems in the parcel.
origin_address *stringFull pickup address.
origin_area_id *stringPickup area id from biteship_search_areas.
origin_contact_name *stringName of the person at the pickup location.
origin_contact_phone *stringPhone of the person at the pickup location.
delivery_datestringPickup date, yyyy-mm-dd. Required for scheduled orders.
delivery_timestringPickup time, HH:mm (24 hours). Required for scheduled orders.
destination_contact_emailstringEmail of the receiver.
destination_latitudenumberDelivery latitude. Send with destination_longitude.
destination_longitudenumberDelivery longitude. Send with destination_latitude.
destination_notestringDelivery note.
order_notestringNote for the courier.
origin_latitudenumberPickup latitude. Send with origin_longitude. Instant couriers need coordinates.
origin_longitudenumberPickup longitude. Send with origin_latitude.
origin_notestringPickup note, for example the building colour.
reference_idstringYour 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.

ParameterTypeDescription
cancellation_reason_code *stringReason code from the Biteship docs: change_courier, pickup_delay, change_address or others.
order_id *stringOrder id to cancel.
cancellation_reasonstringFree-text reason, for example when the code is 'others'.