List

List all commodity available

Endpoint

/api/commodity/list

Request

Request Parameter

Name

Mandatory

Description

Type

Default

user

Y

User ID

string ( 255 )

Example Request (VIP):

{
    "user": "marketplace_a_apple"
}

Response

Successful Response Params

Name

Description

Type

commodities

List Of Commodities

Array ( Courier )

Example Response (VIP):

{
    "status": "SUCCESS",
    "commodities": [
        {
            "code": "1001",
            "main": "General Merchandised",
            "rate": 2.00
        },
        {
            "code": "1002",
            "main": "Electrical Goods",
            "rate": 2.00
        }
    ]
}

Last updated

Was this helpful?