FASTRAC-DOC-API V2 (B2B API STAGING)
  1. Order API
FASTRAC-DOC-API V2 (B2B API STAGING)
  • Overview
  • Changelog V2
  • Region API
    • Province
      GET
    • City
      GET
    • District
      GET
    • Sub-District
      GET
    • Post Code
      GET
    • Search Region
      POST
  • Courier API
    • All Courier
      GET
    • Courier Service
      GET
  • Check Tariff API
    • Check Tariff (Express Delivery)
      POST
    • Check Tariff (Instant Delivery)
      POST
    • Calculate Multi Items
      POST
  • Order API
    • Order Express
      POST
    • Order Instant
      POST
    • Cancel Order
      POST
    • Tracking Order
      GET
    • Item Categories
      GET
  • Webhook API
    • Example Webhook payload
    • Set Webhook
      POST
    • Get Webhook
      GET
  • User API
    • Balance History
      POST
  • API-Tariff
  • API-Order
  1. Order API

Item Categories

GET
/order/category-item
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.

API Response Explanation for Item Categories#

The following is the structure of the API response for retrieving item categories:
{
    "success": true,
    "message": "",
    "data": [
        {
            "category": "Dokumen",
            "example": "Sertifikat, BL, Katalog, dll."
        },
        {
            "category": "Makanan",
            "example": "Nasi Bungkus, Makanan ringan, dll."
        },
        {
            "category": "Pakaian",
            "example": "Baju, Kain Songket, dll."
        },
        {
            "category": "Elektronik",
            "example": "Laptop, Charger, dll."
        },
        {
            "category": "Obat",
            "example": "Obat-obatan, Vitamin, Perawatan Kulit, dll."
        },
        {
            "category": "Frozen",
            "example": "Es Krim, Yoghurt, dll."
        },
        {
            "category": "Lainnya",
            "example": "Peralatan Dapur, Vas Bunga, dll."
        }
    ]
}

Response Properties#

success:
Type: Boolean
Description: Indicates whether the API request was successful. In this example, the value is true, indicating that the request was processed without errors.
message:
Type: String
Description: A message related to the response. It can be empty if there are no messages or errors to report.
data:
Type: Array
Description: Contains a list of item categories. Each item in the array provides details about a specific category.
Properties within each category:
category:
Type: String
Description: The name of the item category. Examples include "Dokumen," "Makanan," "Pakaian," etc.
example:
Type: String
Description: Examples of items that fall within the respective category. For instance, the category "Makanan" includes examples like "Nasi Bungkus" and "Makanan ringan."
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/order/category-item' \
--header 'Content-Type: text/plain' \
--header 'Authorization: Basic Og==' \
--data-raw ''
Response Response Example
{
    "success": true,
    "message": "",
    "data": [
        {
            "category": "Dokumen",
            "example": "Sertifikat, BL, Katalog, dll."
        },
        {
            "category": "Makanan",
            "example": "Nasi Bungkus, Makanan ringan, dll."
        },
        {
            "category": "Pakaian",
            "example": "Baju, Kain Songket, dll."
        },
        {
            "category": "Elektronik",
            "example": "Laptop, Charger, dll."
        },
        {
            "category": "Obat",
            "example": "Obat-obatan, Vitamin, Perawatan Kulit, dll."
        },
        {
            "category": "Frozen",
            "example": "Es Krim, Yoghurt, dll."
        },
        {
            "category": "Lainnya",
            "example": "Peralatan Dapur, Vas Bunga, dll."
        }
    ]
}

Request

Authorization
Send your HTTP requests with an
Authorization
header that contains the word Basic followed by a space and a base64-encoded string username:password
Example:
Authorization: Basic *****************

Responses

🟢200200 - Works fine.
application/json
Body

Modified at 2025-08-05 08:56:15
Previous
Tracking Order
Next
Webhook API
Built with