List of methods provided by backend SDK for customers
getProducts
Get the list of products uploaded by the merchants.
getProducts(query: IProductFilterQuery)getProductById
Get a single product by id.
getProductById(id: number)myproducts
Get list of products which connected to the user.
myproducts(query: IProductFilterQuery)myproduct
Get a single product detail.
myproduct(id: number)myorders
Get pending order list which are not delivered or are not resolved yet.
myorders(query: any)completedorders
Get list of orders which are not disputed and are delivered in time.
completedorders(query: any)myorder
Get a single order by id.
myorder(id: any)getDisputes
List of disputes submitted by a customer.
getDisputes(query: IDisputeFilterQuery)getDisputeById
Get a single dispute by database id.
getDisputeById(id: number)getDisputeByDisputeId
Get a single dispute by blockchain generated dispute id.
getDisputeByDisputeId(id: number)updateDispute
Update a dispute.
updateDispute(query: any)getProfile
Get the customer profile.
getProfile(query: any)updateProfile
Update the customer profile.
updateProfile(user: any)getOrderByEscrow
Get a single order by escrow id.
getOrderByEscrow(escrowId: any)Updated 9 months ago