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

      Create Order

      POST
      /open/1.0/shipment/order
      Last modified:2025-03-17 08:37:51
      Member can use this endpoint to create a new shipment. In addition to API, we also provide web hooks to notify you in real time whenever we have status updates to store in your database in order to reduce unnecessary API calls.
      PropertyDescription
      shipping_servicerequired in: HORE,SERBU,KISS,SATSET,SULTAN,GOCAP
      is_codrequired,boolean
      is_fragilerequired,boolean
      cod_amountrequired_if:is_cod,true,numeric,min:25.000
      goods_valuerequired,numeric
      applied_insurancerequired,boolean
      origin_idrequired,numeric
      destination_idrequired,numeric
      reference_nonullable,string,max:30
      itemsrequired,array,min:1
      items.*.namerequired,string,min:1
      items.*.weightrequired,numeric,min:1
      items.*.quantityrequired,numeric,min:1
      items.*.pricerequired,numeric,min:1
      dimensionsrequired,array
      dimensions.lengthrequired,numeric,min:1
      dimensions.widthrequired,numeric,min:1
      dimensions.heightrequired,numeric,min:1
      pickuprequired,array
      pickup.namerequired,string,max:50
      pickup.addressrequired,string,max:150
      pickup.phonerequired,string
      pickup.zip_coderequired,numeric,digits:5
      pickup.timeslotrequired,array
      pickup.timeslot.start_timerequired,date_format:H:i
      pickup.timeslot.end_timenullable,date_format:H:i
      pickup.timeslot.timezonerequired,timezone
      pickup.daterequired,date_format:Y-m-d
      receiverrequired,array
      receiver.namerequired,string,max:50
      receiver.addressrequired,string,max:150
      receiver.phonerequired,string
      receiver.zip_coderequired,numeric,digits:5
      shipperrequired,array
      shipper.namerequired,string,max:50
      shipper.addressrequired,string,max:150
      shipper.phonerequired, string
      realtimetrue/false *set true if you want instanly get awb from 3pl partner
      force_oexpresstrue/false *set true if you want to force service from oexpress only
      reference_codeunique AWB *unique AWB for reference
      Response Status Code
      Status CodeDescription
      201Create Order Success
      422Validation Error
      401API Key is Required
      401API Key is Invalid

      Request

      Header Params
      X-API-KEY
      string 
      optional
      Example:
      {{ApiKey}}
      Body Params application/json
      realtime
      boolean 
      required
      force_oexpress
      boolean 
      required
      shipping_service
      string 
      required
      is_cod
      boolean 
      required
      is_fragile
      boolean 
      required
      cod_amount
      integer 
      required
      goods_value
      integer 
      required
      applied_insurance
      boolean 
      required
      origin_id
      integer 
      required
      destination_id
      integer 
      required
      dimensions
      object 
      required
      length
      integer 
      required
      width
      integer 
      required
      height
      integer 
      required
      items
      array [object {4}] 
      required
      name
      string 
      optional
      weight
      integer 
      optional
      quantity
      integer 
      optional
      price
      integer 
      optional
      pickup
      object 
      required
      date
      string 
      required
      timeslot
      object 
      required
      name
      string 
      required
      address
      string 
      required
      phone
      string 
      required
      zip_code
      integer 
      required
      receiver
      object 
      required
      name
      string 
      required
      address
      string 
      required
      phone
      string 
      required
      zip_code
      integer 
      required
      shipper
      object 
      required
      name
      string 
      required
      address
      string 
      required
      phone
      string 
      required
      Example
      {
        "force_oexpress": false,
        "shipping_service": "SERBU",
        "is_cod": true,
        "is_fragile": false,
        "cod_amount": 50000,
        "goods_value": 30000,
        "applied_insurance": false,
        "origin_id": 339,
        "destination_id": 2111,
        "dimensions": {
          "length": 1,
          "width": 1,
          "height": 1
        },
        "items": [
          {
            "name": "Kaos Poloss",
            "weight": 1000,
            "quantity": 1,
            "price": 30000
          }
        ],
        "pickup": {
          "date": "2024-06-22",
          "timeslot": {
            "start_time": "12:00",
            "end_time": "14:00",
            "timezone": "Asia/Jakarta"
          },
          "name": "Septian Maulana",
          "address": "Gegerkalong hilir no 73A",
          "phone": "086788123139",
          "zip_code": 40153
        },
        "receiver": {
          "name": "Septian Maulana",
          "address": "Gegerkalong hilir no 73A",
          "phone": "086788123139",
          "zip_code": 40153
        },
        "shipper": {
          "name": "Septian Maulana",
          "address": "Gegerkalong hilir no 73A",
          "phone": "086788123139"
        }
      }

      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 POST '/open/1.0/shipment/order' \
      --header 'X-API-KEY: {{ApiKey}}' \
      --header 'Content-Type: application/json' \
      --data-raw '{
          "force_oexpress": false,
          "shipping_service": "SERBU",
          "is_cod": true,
          "is_fragile": false,
          "cod_amount": 50000,
          "goods_value": 30000,
          "applied_insurance": false,
          "origin_id": 339,
          "destination_id": 2111,
          "dimensions": { 
              "length": 1,
              "width": 1,
              "height": 1
          },
          "items": [
              {
                  "name": "Kaos Poloss",
                  "weight": 1000,
                  "quantity": 1,
                  "price": 30000
              }
          ],
          "pickup": {
              "date": "2024-06-22",
              "timeslot": {
                  "start_time": "12:00",
                  "end_time": "14:00",
                  "timezone": "Asia/Jakarta"
              },
              "name": "Septian Maulana",
              "address": "Gegerkalong hilir no 73A",
              "phone": "086788123139",
              "zip_code": 40153
          },
          "receiver": {
              "name": "Septian Maulana",
              "address": "Gegerkalong hilir no 73A",
              "phone": "086788123139",
              "zip_code": 40153
          },
          "shipper": {
              "name": "Septian Maulana",
              "address": "Gegerkalong hilir no 73A",
              "phone": "086788123139"
          }
      }'

      Responses

      🟠401401 - Api Key is required
      application/json
      Body
      data
      string 
      required
      message
      string 
      required
      error_code
      integer 
      required
      Example
      {
        "data": "",
        "message": "Api Key is required",
        "error_code": 0
      }
      🟠401401 - Api Key is invalid
      🟠422422 - Validation Error
      🟢201201 - Create Order
      🟢201201 - Create Order with Param Realtime
      🟠418404 - Create Order with Param force_oexpress
      Previous
      Get Shipping Cost All
      Next
      Cancel Order
      Built with