Skip to content

Store ​

Last updated View as Markdown

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: 'test@test.test', // 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.