FaxStore

Prerequisites
Installation & Setup
API
Config File
Developer Mode
Developer Tools
Enable Debug Mode
Events
Extensions
Features
Integrations
License System Extension
Permissions
Updating FaxStore

Weblutions Documentation > FaxStore > Events Dictionary

Events Dictionary - Article hidden

userItemAdded

{
  product: {
    id: 9,
    title: 'Example Product',
    urlId: 'example-product',
    position: 1,
    price: '19.99',
    description: '',
    credits: '',
    demoLink: '',
    createdAt: '1660449909241',
    itemType: 1,
    onSale: 0,
    requiredItem: null,
    tags: '',
    featureImage: '/images/feat-CiWhAE9ymfJ5PQxUgQMHoYlA3.png',
    galleryImages: ' ',
    discordRole: '',
    hidden: 0,
    usingLicenseSystem: 1,
    status: '30',
    hiddenonstorepage: 0,
    giftcard: 0,
    paused: 0,
    linked: '',
    inaccount: 1,
    secPayeePayPal: '',
    secPayeeStripe: '',
    splitAmt: null,
    splitEmail: null,
    options: '',
    stock: null,
    sku: 'X-ABC-123',
    releaseDate: null
  },
  user: {
    id: 59,
    userId: '568813240726061066',
    username: 'Support',
    userImage: '/images/user-568813240726061066.png',
    userEmail: 'support@weblutions.com',
    createdAt: '1711075920713',
    banned: 0,
    ip: '8.8.8.8',
    bio: 'Unused',
    staffnotes: null,
    authType: 'discord',
    disabled: 0,
    getEmails: 1,
    cart: null,
    bitfield: '0',
    emailVerify: null
  },
  adminID: '282762192544333827'
}

userCustomItemAdded

{
  file: {
    name: 'Upload name',
    path: './files/custom-FILE-ID.txt'
  },
  user: {
    id: 59,
    userId: '568813240726061066',
    username: 'Support',
    userImage: '/images/user-568813240726061066.png',
    userEmail: 'support@weblutions.com',
    createdAt: '1711075920713',
    banned: 0,
    ip: '8.8.8.8',
    bio: 'Unused',
    staffnotes: null,
    authType: 'discord',
    disabled: 0,
    getEmails: 1,
    cart: null,
    bitfield: '0',
    emailVerify: null
  },
  adminID: '282762192544333827'
}

userItemRemoved

{
  product: {
    id: 120,
    userId: '568813240726061066',
    username: 'Support',
    productId: 8,
    productName: 'Example Product',
    productPrice: '19.99',
    createdAt: '1660449909241',
    license: 'Unused',
    downloads: 2,
    paymentId: 'via PayPal',
    usingLicenseSystem: false,
    customUpload: './files/custom-FILE-ID.txt',
    packageId: 10,
  },
  user: {
    id: 59,
    userId: '568813240726061066',
    username: 'Support',
    userImage: '/images/user-568813240726061066.png',
    userEmail: 'support@weblutions.com',
    createdAt: '1711075920713',
    banned: 0,
    ip: '8.8.8.8',
    bio: 'Unused',
    staffnotes: null,
    authType: 'discord',
    disabled: 0,
    getEmails: 1,
    cart: null,
    bitfield: '0',
    emailVerify: null
  },
  adminID: '282762192544333827'
}

userItemDownloaded

{
  user: {
    id: '568813240726061066',
    username: 'Support',
    email: 'support@weblutions.com',
  },
  type: 'store', // Can also be 'custom' for custom uploads and 'package' for package downloads
  item: {
    id: 151,
    userId: '568813240726061066',
    username: 'Support',
    productId: 9,
    productName: 'Example Product',
    productPrice: 'Manually Added',
    createdAt: '1660449909241',
    downloads: 0,
    paymentId: null,
    usingLicenseSystem: 1,
    customUpload: '',
    packageId: null
  }
}


Related Articles


Suggest an edit

Review this page

faxes

event example events example

1 recommend this page