Please Make sure before /api/ add your domain Example: https://yourstore.com/api/tenant/v1/ <- API FEATURE ->
GET /api/tenant/v1/featured/product/6
GET /api/tenant/v1/recent/product/10
GET /api/tenant/v1/campaign/product/123
GET /api/tenant/v1/campaign
GET /api/tenant/v1/product?q=keyword
GET /api/tenant/v1/search-items?q=keyword
GET /api/tenant/v1/product/123
GET /api/tenant/v1/product/price-range
POST /api/tenant/v1/product-review
{
"product_id": 123,
"rating": 4,
"comment": "Great product!"
}
POST /api/tenant/v1/category/5
POST /api/tenant/v1/subcategory/10
POST /api/tenant/v1/coupon
{
"coupon_code": "SUMMER20",
"product_id": 123
}
POST /api/tenant/v1/shipping-charge
{
"address": "123 Main St, Anytown, USA",
"products": [
{
"product_id": 123,
"quantity": 2
},
{
"product_id": 456,
"quantity": 1
}
]
}
POST /api/tenant/v1/checkout
{
"customer_id": 123,
"products": [
{
"product_id": 123,
"quantity": 2
},
{
"product_id": 456,
"quantity": 1
}
],
"payment_method": "credit_card",
"shipping_address": "123 Main St, Anytown, USA",
"coupon_code": "SUMMER20"
}
POST /api/tenant/v1/update-payment
{
"order_id": 123,
"payment_method": "credit_card",
"card_number": "1234 5678 9012 3456",
"expiry_date": "12/24",
"cvv": "123"
}