FileStorage
This service provides functionality to manage assets and generate pdf. You can upload the assets, get the cdn link for the assets, proxy the assets and many more things.
Browse File
Browse files by fetching all files in a directory based on the provided namespace, query, and request body parameters. It determines the directory path, retrieves paginated files accordingly, and serializes the response for further processing. This method optimizes directory browsing functionality within the system.
Browse files
Browse files
browse
Browse files for Application
Browse files for Application
appbrowse
Browse files for Application
Browse files for Application
browsefiles
File Upload
File upload is a feature that enables users to upload files from their device to a designated storage location in the system. The process of uploading begins by validating user parameters and organizing files into different groups based on their type using something called a "namespace". This helps in storing the files into Public and Private buckets Private - The files stored in private bucket is accessible via getSignedUrl method for a temporary duration. Public - The files stored in public bucket is accessible via cdn url Seller initiate the upload process by selecting files through drag-and-drop, pre-existing images, choosing from your device, uploading via URL, or entering an image URL. 1. Start Upload - Once seller calls start upload will receive a signed URL to initiate the upload process. 2. Utilize a Google Cloud Platform (GCP) method to upload the file through the obtained signed URL. 3. Complete File upload - Important file details such as name, size, content type, and namespace are collected and linked to maintain data integrity within the system's database. Once you upload a file, you receive a message with all the details about where your file is stored, including a secure URL for uploading files to the designated storage and a CDN (Content Delivery Network) URL for future accessibility. Furthermore, the system sets an expiration time for access links(signed Url) enhancing security measures.
Start file upload
Start file upload
startUpload
Complete file upload
Complete file upload
completeUpload
Initiates file upload for Application
Initiates file upload for Application
appStartUpload
Complete file upload for Application
Complete file upload for Application
appCompleteUpload
Get signed URLs
Get signed URLs
getSignUrls
Copy files
Copy files
copyFiles
Copy files for Application
Copy files for Application
appCopyFiles
Invoice Templates
Invoice Templates makes it easy to create and adjust invoices, which are detailed documents that record transactions between sellers and buyers. An invoice contains important details like the invoice ID, date, product specifics, taxes, and payment information. Using JSON data and templates, users can personalize invoices to fit the requirements of different sales channels. Additionally, a seller may revert templates to their original formats if needed, offering flexibility in design. Users can preview and customize invoice layouts in various formats, such as A4, A6, and POS, ensuring compatibility with different systems and preferences. This functionality streamlines invoicing processes, ensuring accuracy and customization to meet the needs of various sales channels.
Get PDF types
Get PDF types
getPdfTypes
Get default PDF data
Get default PDF data
getDefaultPdfData
Update HTML Template
Update HTML Template
updateHtmlTemplate
Get html template for Application
Get html template for Application
getDefaultHtmlTemplate
Save PDF template
Save PDF template
saveHtmlTemplate
Get default PDF template
Get default PDF template
getDefaultPdfTemplate
Generate payment receipt
Generate payment receipt
generatePaymentReceipt
Proxy
The proxy acts as an intermediary, enabling communication between two entities by directing client requests to the correct server and sending responses back to the client. It fetches data from a designated URL and delivers it to the client, ensuring seamless interaction with files. This resource can be employed to provide the client (browser) with cross-domain asset URLs, preventing CORS errors.