Product Catalog
This endpoint returns the product catalog available to your partner account.
Service Info
| Item | Value |
|---|
HTTP Method | GET |
Service Code | 02 |
Base URL | URL provided at activation |
Path | /openapi/v1.0/products |
Header
| Header | Type | Required | Description |
|---|
Authorization | String | Yes | Bearer <accessToken> |
X-PARTNER-ID | String | Yes | Partner client_id |
X-EXTERNAL-ID | String | Yes | Random string, max 36 characters |
CHANNEL-ID | String | Yes | Value: WEB |
X-TIMESTAMP | String | Yes | yyyy-MM-ddTHH:mm:ss+07:00 |
X-SIGNATURE | String | Yes | HMAC-SHA512 request signature |
Response Structure
| Parameter | Type | Description |
|---|
responseCode | String | Response code |
responseMessage | String | Response message |
data | Array | Product category list |
data[].nama_kategori | String | Operator name |
data[].produk | Array | Products in the category |
data[].produk[].kode_produk | String | Product code |
data[].produk[].nama_produk | String | Product name |
data[].produk[].harga_jual | Number | Product price |
data[].produk[].gangguan | Boolean | Product 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 Code | Message | Description |
|---|
2000200 | Successful | Catalog retrieved |
4000201 | Invalid Field Format | Invalid field format |
4000202 | Invalid Mandatory Field | Missing required header |
4010200 | Unauthorized | Request signature does not match |
4010201 | Invalid Token | Invalid access token |
4010203 | Token Not Found | Missing access token |
4030200 | Forbidden | Access denied |
4290200 | Too Many Requests | Request limit exceeded |
5000200 | General Error | Server error |