# FASTRAC-DOC-API V2 (B2B API STAGING) ## Docs - [Overview](https://fastrac-b2b-stg-v2.apidog.io/overview-1331956m0.md): - [Changelog V2](https://fastrac-b2b-stg-v2.apidog.io/changelog-v2-1331898m0.md): - [Region API](https://fastrac-b2b-stg-v2.apidog.io/region-api-4511915f0.md): API Region digunakan untuk mendapatkan informasi wilayah pengiriman, termasuk daftar provinsi, kota, dan kecamatan yang dilayani oleh Fastrac. - [Courier API](https://fastrac-b2b-stg-v2.apidog.io/courier-api-4511916f0.md): **Courier API**: Provides information about available couriers for deliveries. This can include courier details, pickup times, and the services offered. - [Check Tariff API](https://fastrac-b2b-stg-v2.apidog.io/check-tariff-api-4511917f0.md): **Tariff API**: Used to calculate shipping rates based on various parameters such as package weight, origin location, and destination. - [Order API](https://fastrac-b2b-stg-v2.apidog.io/order-api-4511918f0.md): **Order API**: Allows the creation and management of shipping orders. With this API, users can create new orders, update order details, and manage shipping information. - [Webhook API](https://fastrac-b2b-stg-v2.apidog.io/webhook-api-4511919f0.md): Cara Set dan Daftar Webhook - Webhook API [Example Webhook payload](https://fastrac-b2b-stg-v2.apidog.io/example-webhook-payload-1332034m0.md): ## API Docs - Region API [Province](https://fastrac-b2b-stg-v2.apidog.io/province-19817633e0.md): This API returns complete information regarding the provinces included in the **Fastrac** delivery network. It is useful for obtaining regional data to support functions such as rate calculation and service availability. - Region API [City](https://fastrac-b2b-stg-v2.apidog.io/city-19817634e0.md): This API displays information about cities based on the province ID. It is useful for identifying the cities served within a specific province. - Region API [District](https://fastrac-b2b-stg-v2.apidog.io/district-19817635e0.md): This API displays information about sub-districts based on the city ID. It is useful for identifying the sub-districts served within a specific city. - Region API [Sub-District](https://fastrac-b2b-stg-v2.apidog.io/sub-district-19817636e0.md): This API displays information about urban villages based on the sub-district ID. It is useful for identifying the urban villages served within a specific sub-district. - Region API [Post Code](https://fastrac-b2b-stg-v2.apidog.io/post-code-19817637e0.md): This API allows users to search for locations based on the input postal code. It can be used to display information about a specific area or region associated with the postal code, such as province, city, and sub-district. - Region API [Search Region](https://fastrac-b2b-stg-v2.apidog.io/search-region-19817638e0.md): # Description - Courier API [All Courier](https://fastrac-b2b-stg-v2.apidog.io/all-courier-19817639e0.md): The allcourier API response provides information about a specific courier, including its code, name, logo, and various services offered, such as instant delivery, express delivery, COD, as well as pickup and drop-off options - Courier API [Courier Service](https://fastrac-b2b-stg-v2.apidog.io/courier-service-19817640e0.md): This API response provides valuable information about the available courier services, including both instant and express delivery options. Each service includes details such as the service name, unique code, and estimated delivery timeframes to help users choose the most suitable service for needs. - Check Tariff API [Check Tariff (Express Delivery)](https://fastrac-b2b-stg-v2.apidog.io/check-tariff-express-delivery-20486900e0.md): This API calculates and retrieves available courier services and shipping costs for Express deliveries based on the origin, destination, and item details. It now supports Cash on Delivery (COD) and insurance options. - Check Tariff API [Check Tariff (Instant Delivery)](https://fastrac-b2b-stg-v2.apidog.io/check-tariff-instant-delivery-20486901e0.md): This API calculates and retrieves real-time courier tariffs for instant delivery services based on sender, receiver, and optional stop point details. It considers package information (value, dimensions, weight, and quantity) and returns available courier options. Each courier option includes a `tariff_id`, which is valid for 5 minutes. This `tariff_id` can be used in the **Order Instant API** to place an order, ensuring the pricing and courier data remain consistent with the results from the tariff check request. - Check Tariff API [Calculate Multi Items](https://fastrac-b2b-stg-v2.apidog.io/calculate-multi-items-20205132e0.md): B2B Calculate Multi-Item API - Order API [Order Express](https://fastrac-b2b-stg-v2.apidog.io/order-express-19817643e0.md): ### Request - Order API [Order Instant](https://fastrac-b2b-stg-v2.apidog.io/order-instant-20486902e0.md): This API is used to create an instant delivery order with a selected courier using a previously obtained `tariff_id` from [Check Tariff Instant](https://fastrac-b2b-stg-v2.apidog.io/check-tariff-instant-delivery-20486901e0). - Order API [Cancel Order](https://fastrac-b2b-stg-v2.apidog.io/cancel-order-19817645e0.md): | **Property** | **Type** | **Required** | **Notes** | - Order API [Tracking Order](https://fastrac-b2b-stg-v2.apidog.io/tracking-order-19817646e0.md): - Order API [Item Categories](https://fastrac-b2b-stg-v2.apidog.io/item-categories-19817647e0.md): The API response provides a structured list of item categories along with examples of items that can be found within each category. This information is useful for users to understand the types of items that may be relevant for shipping or packaging considerations. The response is designed to aid in the selection and categorization of items for shipping purposes or inventory management. - Webhook API [Set Webhook](https://fastrac-b2b-stg-v2.apidog.io/set-webhook-19817648e0.md): This API is used to register or update a webhook URL that will receive event notifications from the system. Optionally, you can also provide an `accessKey` and `secretKey` for securing webhook requests. - Webhook API [Get Webhook](https://fastrac-b2b-stg-v2.apidog.io/get-webhook-19817649e0.md): This API is used to retrieve the current webhook configuration for your account, including the registered callback URL, accessKey, and secretKey. - User API [Balance History](https://fastrac-b2b-stg-v2.apidog.io/balance-history-20309002e0.md): Retrieves a paginated history of a user's balance (saldo) transactions within a specified date range, with optional filtering and search capabilities.