Store
This module include all the methods related to the store.
contact
Submit a contact form, after this method execution, the contact form will be sent to the store/email owner.
How to use
ts
await youcanjs.store.contact({
email: '[email protected]', // required
subject: 'Test', // required
message: 'Put your message here', // required
});
Returns
this method doesn't return anything.
Throws
ApplicationException if the request fails, or any other error occurs.