Rest API
Rest api for Request For Quot
GET - Preorder by productId
Endpoint: /V1/lof-PreOrder/isPreorder/:productId
Method:
GET
Params:
Response Data:
true
GET - Note Preorder by productId
Endpoint: /V1/lof-PreOrder/getPreorderNote/:productId
Method:
GET
Params:
productId
Response Data:
"string"
PUT - Custom Price
Endpoint: /V1/lof-PreOrder/addCustomPrice/:quoteId/:quoteItemId/:productId/:storeId
Method:
PUT
Params:
quoteId
quoteItemId
productId
storeId
Response Data:
"string"
POST - Complete Order
Endpoint: /V1/lof-PreOrder/completeOrder/:orderId
Method:
POST
Params:
orderId
Response Data:
true
POST - Create Complete Preorder Quote
Endpoint: /V1/lof-PreOrder/createCompletePreorder/:productId/:storeId/:itemId/:preProductId/:orderId/:qty
Method:
POST
Params:
productId
storeId
itemId
orderId
preProductId
qty
Response Data:
"string"
GET - List Preorder Items
Endpoint: /V1/lof-PreOrder/PreOrderItems
Method:
GET
Params:
Response Data:
{
"items": [
{
"id": 0,
"order_id": 0,
"item_id": 0,
"product_id": 0,
"parent_id": 0,
"customer_id": 0,
"customer_email": "string",
"preorder_percent": 0,
"paid_amount": 0,
"remaining_amount": 0,
"qty": 0,
"type": 0,
"status": 0,
"time": "string",
"created_at": "string"
}
],
"search_criteria": {
"filter_groups": [
{
"filters": [
{
"field": "string",
"value": "string",
"condition_type": "string"
}
]
}
],
"sort_orders": [
{
"field": "string",
"direction": "string"
}
],
"page_size": 0,
"current_page": 0
},
"total_count": 0
}
POST - Notify Preorder
Endpoint: /V1/lof-PreOrder/notifyPreOrderItem/:itemId
Method:
POST
Params:
itemId
Response Data:
"string"
GET - Get Settings
Endpoint: /V1/lof-PreOrder/PreOrdersetting/:path
Method:
POST
Params:
path
Response Data:
"string"
Last updated