Product Catalog

This endpoint returns the product catalog available to your partner account.

Service Info

ItemValue
HTTP MethodGET
Service Code02
Base URLURL provided at activation
Path/openapi/v1.0/products

Header

HeaderTypeRequiredDescription
AuthorizationStringYesBearer <accessToken>
X-PARTNER-IDStringYesPartner client_id
X-EXTERNAL-IDStringYesRandom string, max 36 characters
CHANNEL-IDStringYesValue: WEB
X-TIMESTAMPStringYesyyyy-MM-ddTHH:mm:ss+07:00
X-SIGNATUREStringYesHMAC-SHA512 request signature

Response Structure

ParameterTypeDescription
responseCodeStringResponse code
responseMessageStringResponse message
dataArrayProduct category list
data[].nama_kategoriStringOperator name
data[].produkArrayProducts in the category
data[].produk[].kode_produkStringProduct code
data[].produk[].nama_produkStringProduct name
data[].produk[].harga_jualNumberProduct price
data[].produk[].gangguanBooleanProduct disruption status

Response Sample

{
  "responseCode": "2000200",
  "responseMessage": "Successful",
  "data": [
    {
      "nama_kategori": "TELKOMSEL",
      "produk": [
        {
          "kode_produk": "TSEL10",
          "nama_produk": "Telkomsel 10",
          "harga_jual": 10500,
          "gangguan": false
        }
      ]
    }
  ]
}

Response Codes

Response CodeMessageDescription
2000200SuccessfulCatalog retrieved
4000201Invalid Field FormatInvalid field format
4000202Invalid Mandatory FieldMissing required header
4010200UnauthorizedRequest signature does not match
4010201Invalid TokenInvalid access token
4010203Token Not FoundMissing access token
4030200ForbiddenAccess denied
4290200Too Many RequestsRequest limit exceeded
5000200General ErrorServer error