GET Sales Order List (WMS)

Last updated by 31/10/2022

Shipper API gives interface access to our clients for retrieving or pulling Sales Order List API from Shipper Warehouse Management System

Specification

FieldEndpoint
GET/v3/fulfillment/outbounds/{outbound_type}

Query Parameter

FieldData TypeDescriptionMandatory Field
outbound_typestringOrder Type

Always input "WMS"
Mandatory
created_startyyyy-MM-ddSales Order Created Start DateOptional
created_endyyyy-MM-ddSales Order Created End DateOptional
updated_startyyyy-MM-ddUpdated Start DateOptional
updated_endyyyy-MM-ddUpdated End DateOptional
warehouse_idString(20)Warehouse CodeOptional
order_typeString(20)Sales Order TypeOptional

Value of: SO or RT or TT
so_statusStringWMS Sales Order Status

The status is the operational process in the warehouse.
Optional

Value:
CREATED
ALLOCATED
PICKED
PACKED
CLOSED
CANCELLED
pageIntegerPage NumberOptional
limitIntegerLimit or Size Records Per PageOptional

Body Response

FieldData TypeDescriptionNote
order_noString(60)Sales Order NoAvailable
order_typeStringOrder typeAvailable
so_statusString(20)Sales Order StatusAvailable
warehouse_idString(30)Warehouse CodeAvailable
consignee_idString(200)Customer CodeReturn Empty String
consignee_nameStringCustomer NameReturn Empty String
release_statusStringOrder Release StatusAvailable
order_timeyyyy-MM-dd HH:mm:ssOrder Created DateAvailable
wave_noIntegerWave Plan NumberReturn Empty String
so_reference_1String(50)Sales Order Reference NoReturn Empty String
so_reference_2String(50)Sales Order Reference NoReturn Empty String
so_reference_3String(50)Sales Order Reference NoReturn Empty String
so_reference_4String(50)Sales Order Reference NoNot Available, Return Empty String
so_reference_5String(50)Sales Order Reference NoNot Available, Return Empty String
consignee_address_1StringCustomer AddressReturn Empty String
consignee_cityString(255)Customer CityReturn Empty String
billing_idIntegerBilling IDAvailable
carrier_nameString(200)Expedition NameAvailable
delivery_noString(60)AWBAvailable
udf_01String(500)Defined by UserReturn Empty String
udf_02String(500)Defined by UserReturn Empty String
udf_03String(500)Defined by UserReturn Empty String
udf_04String(500)Defined by UserReturn Empty String
udf_05String(500)Defined by UserReturn Empty String
NotesStringRemarksAvailable

Sample Query Parameters Request

HeaderHow to fill
x-api-keyShipper API Key

Sample Body Response

{
  "metadata": {
    "path": "/v3/fulfillment/outbounds/wms?merchant_id=6809212",
    "http_status_code": 200,
    "http_status": "OK",
    "timestamp": 1637724983
  },
  "data": {
    "outbounds": [
      {
        "order_no": "",
        "order_type": "B2C",
        "so_status": "ALLOCATED",
        "warehouse_id": "WH-TGR01",
        "consignee_id": "",
        "consignee_name": "",
        "release_status": true,
        "order_time": "2021-09-07T13:39:29Z",
        "wave_no": "",
        "so_reference_1": "",
        "so_reference_2": "",
        "so_reference_3": "",
        "so_reference_4": "",
        "so_reference_5": "",
        "consignee_address_1": "",
        "consignee_city": "",
        "billing_id": "",
        "carrier_name": "",
        "delivery_no": "*",
        "udf_01": "",
        "udf_02": "",
        "udf_03": "",
        "udf_04": "",
        "udf_05": "",
        "notes": ""
      },
      {
        "order_no": "",
        "order_type": "B2C",
        "so_status": "ALLOCATED",
        "warehouse_id": "WH-TGR01",
        "consignee_id": "",
        "consignee_name": "",
        "release_status": true,
        "order_time": "2021-09-07T13:41:16Z",
        "wave_no": "",
        "so_reference_1": "",
        "so_reference_2": "",
        "so_reference_3": "",
        "so_reference_4": "",
        "so_reference_5": "",
        "consignee_address_1": "",
        "consignee_city": "",
        "billing_id": "",
        "carrier_name": "",
        "delivery_no": "*",
        "udf_01": "",
        "udf_02": "",
        "udf_03": "",
        "udf_04": "",
        "udf_05": "",
        "notes": ""
      }
    ]
  }
}
{
  "metadata": {
    "path": "/v1/fulfillment/outbounds/wms?order_type=123&merchant_id=6809212",
    "http_status_code": 400,
    "http_status": "Bad Request",
    "errors": [
      {
        "code": 810,
        "message": "SOType harus berupa salah satu dari [SO RT]"
      }
    ],
    "timestamp": 1637725532
  }
}
{
  "metadata": {
    "path": "/v1/fulfillment/outbounds/wms?so_status=CREATED&merchant_id=68092121",
    "http_status_code": 401,
    "http_status": "Unauthorized",
    "errors": [
      {
        "code": 1301,
        "message": "You Are Not Registered In WMS System. Please Contact Administrator."
      }
    ],
    "timestamp": 1637725452
  }
}
{
  "metadata": {
    "path": "/v1/fulfillment/outbounds/wms?so_status=ALLOCATED&merchant_id=6809212",
    "http_status_code": 404,
    "http_status": "Not Found",
    "errors": [
      {
        "code": 801,
        "message": "Record Does Not Exist. Please Validate Your Input Or Contact Administrator."
      }
    ],
    "timestamp": 1637725477
  }
}