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
    • Print Shipping Label
      GET

      Print Shipping Label

      Developing
      GET
      /open/1.0/shipment/shipping-label/print
      Last modified:2025-06-18 07:21:19
      Label Type = 1 / 2 / 3 / 4 / 5 / 6

      Request

      Header Params
      X-API-KEY
      string 
      optional
      Example:
      {{ApiKey}}
      Accept
      string 
      optional
      Example:
      application/json
      Body Params application/json
      orderNumbers
      array[string]
      required
      labelType
      integer 
      required
      Example
      {
          "orderNumbers": [
              "oex-1146851"
          ],
          "labelType": 1
      }

      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-label/print' \
      --header 'X-API-KEY: {{ApiKey}}' \
      --header 'Accept: application/json' \
      --header 'Content-Type: application/json' \
      --data-raw '{
          "orderNumbers": [
              "oex-1146851"
          ],
          "labelType": 1
      }'

      Responses

      🟢200OK
      application/json
      Body
      data
      object 
      required
      url
      string 
      required
      validData
      array[string]
      required
      invalidData
      array[string]
      required
      countValidData
      integer 
      required
      countInvalidData
      integer 
      required
      message
      string 
      required
      error_code
      integer 
      required
      Example
      {
          "data": {
              "url": "https://staging-one-day-bucket-ap-southeast-1-295626323710.s3.ap-southeast-1.amazonaws.com/shipping_label/oex-1143930_oex-1143940.pdf",
              "validData": [
                  "oex-1143930",
                  "oex-1143940"
              ],
              "invalidData": [
                  "oex-aaaaa",
                  "oex-1143952"
              ],
              "countValidData": 2,
              "countInvalidData": 2
          },
          "message": "Success",
          "error_code": 0
      }
      Modified at 2025-06-18 07:21:19
      Previous
      Detail Shipment
      Built with