OEXPRESS API DOCUMENTATION
    OEXPRESS API DOCUMENTATION
    • Introduction
    • Webhoook - Tracking
    • Webhook - Ticket Message
    • Tickets
      • Get Ticket & Details
        GET
      • Update Ticket Messages
        POST
      • Create/Update Ticket
        POST
      • Update Status Ticket
        PUT
      • Get Group Status Ticket
        GET
    • Wallets
      • Get Balance
        GET
    • Auth
      • Me
        GET
    • List Couriers
      GET
    • Get Subdistrict
      GET
    • Get Shipping Cost
      GET
    • Get Shipping Cost All
      GET
    • Create Order
      POST
    • Cancel Order
      POST
    • Retry Order
      POST
    • [Sandbox Only] Update Status
      POST
    • Track Order
      GET
    • Get Shipping Label
      GET
    • Logistic RTS
      GET
    • List Shipment
      GET
    • Detail Shipment
      GET

      Get Shipping Cost All

      GET
      /open/1.0/shipment/shipping-cost-all
      Last modified:2025-03-20 03:39:46
      Members can use the Get Shipping Cost method to retrieve shipping cost data on the system. There are parameters origin id, destination id, total weight and volume.
      EXAMPLE
      KEYVALUE
      origin_id{{subdistrict_id}}
      destination_id{{subdistrict_id}}
      total_weight[gram]
      force_oexpresstrue/false *set to true if yo u want to force service to oexpress

      Request

      Query Params
      total_weight
      string 
      required
      Example:
      1
      volume
      string 
      optional
      Example:
      ["length":10,"width":10,"height":10]
      force_oexpress
      string 
      required
      set true if you only want to use Oexpress service only
      Example:
      false
      origin_id
      string 
      required
      Example:
      2111
      destination_id
      string 
      required
      Example:
      2111
      Header Params
      X-API-KEY
      string 
      optional
      Example:
      {{ApiKey}}

      Request samples

      Shell
      JavaScript
      Java
      Swift
      Go
      PHP
      Python
      HTTP
      C
      C#
      Objective-C
      Ruby
      OCaml
      Dart
      R
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request GET '/open/1.0/shipment/shipping-cost-all?total_weight=1&force_oexpress=false&origin_id=2111&destination_id=2111'

      Responses

      🟢200Get Shipping Cost All
      application/json
      Body
      object {0}
      Example
      {
        "data": [
          {
            "code": "jne",
            "name": "JNE Express",
            "costs": [
              {
                "service": "SERBU",
                "description": "",
                "cost": [
                  {
                    "value": 86000,
                    "etd": "1-2",
                    "note": "",
                    "publish_price": 86000
                  }
                ],
                "is_cod": false,
                "logistic_partner_service": "REG"
              }
            ]
          },
          {
            "code": "jnt",
            "name": "J&T Express",
            "costs": [
              {
                "service": "SERBU",
                "description": "Regular Service",
                "cost": [
                  {
                    "value": 59000,
                    "etd": "",
                    "note": "",
                    "publish_price": 59000
                  }
                ],
                "is_cod": false,
                "logistic_partner_service": "EZ"
              }
            ]
          }
        ],
        "message": "",
        "error_code": 0
      }
      Previous
      Get Shipping Cost
      Next
      Create Order
      Built with