POST {{API_URL}}/api/login
Parameter | Type | Description |
---|---|---|
email |
string |
Required. Your Email |
password |
string |
Required. Your Password |
POST {{API_URL}}/api/register
Parameter | Type | Description |
---|---|---|
name |
string |
Required. Your Name |
email |
string |
Required. Your Email |
username |
string |
Required. Your Username |
password |
string |
Required. Your Password |
POST {{API_URL}}/api/logout
Key | Value | Description |
---|---|---|
Accept |
application/json |
|
Authorization |
Bearer 6/Key |
POST {{API_URL}}/api/user
Parameter | Type | Description |
---|---|---|
name |
string |
Required. Your Name |
email |
string |
Required. Your Email |
username |
string |
Required. Your Username |
password |
string |
Required. Your Password |
Key | Value | Description |
---|---|---|
Accept |
application/json |
|
Authorization |
Bearer 7/Key |
GET {{API_URL}}/api/user
Key | Value | Example Key |
---|---|---|
Accept |
application/json |
|
Authorization |
Bearer 7 |
3CnhqxxjI8eE9nTssSQUEvi5sEdtTmTqLkNneavz |
GET {{API_URL}}/api/products
Key | Example Value |
---|---|
id |
1 |
limit |
6 |
name |
Mobile Legends |
description |
Awesome |
price_from |
1 |
price_to |
10000 |
tags |
popular |
category |
1 |
GET {{API_URL}}/api/categories?show_product={Key}
Key | Example Value |
---|---|
id |
1 |
limit |
6 |
name |
Mobile Legends |
show_product |
1 |
GET {{API_URL}}/api/transactions
Key | Example Value |
---|---|
id |
1 |
limit |
6 |
status |
PENDING |
GET {{API_URL}}/api/checkout
{
"address": "Kota Bandung",
"items": [
{
"id": 1,
"quantity": 2
},
{
"id": 2,
"quantity": 2
},
{
"id": 3,
"quantity": 2
}
],
"status": "PENDING",
"total_price": 6000,
"shipping_price": 1000
}