-
Notifications
You must be signed in to change notification settings - Fork 0
Products API
Enzo Z edited this page Oct 26, 2024
·
4 revisions
Each method corresponds to products detail or action you can perform.
import { hmsClient } from 'hostmyservers.js';
const apiKey = 'api-key'
const productId = 'product-id'
const client = new hmsClient(apiKey);
client.products.getProductById(productId)
.then(data => console.log(data))
.catch(error => console.error('Error fetching user details:', error));
-
getProductsList
=> -
getProductById
=> -
getId
=> -
getOfferId
=> -
getCreatedAt
=> -
getExpiredAt
=> -
getStatus
=> -
getOs
=> -
getIpv4
=> -
getIpv6
=> -
getVmid
=> -
getOsShort
=> -
getServerId
=> -
createProduct
=>
Created by FlanZCode, this project is under MIT license.