Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
yarn add rejoiner
or
npm install rejoiner --save
var Rejoiner = require('rejoiner')
var client = new Rejoiner({
// Your Site ID
siteId: 'eXaMpLe',
// Your API key
apiKey: 'tHiSaPiKeYiSjUsTaNeXaMpLeAnDyOuCaNtUsEiT',
})
The ping
endpoint can be used to verify your credentials are working.
client.verify.ping()
.then(...)
.catch(...)
client.customer.convert({
email: 'test@example.com',
cart_data: {
cart_value: 20000,
cart_item_count: 2,
promo: 'COUPON_CODE',
return_url: 'https://www.example.com/return_url',
...
},
cart_items: [
{
product_id: 'example',
name: 'Example Product',
price: 10000,
description: 'Information about Example Product.',
category: [
'Example Category 1',
'Example Category 2',
],
item_qty: 1,
qty_price: 10000,
product_url: 'https://www.example.com/products/example',
image_url: 'https://www.example.com/products/example/images/example.jpg',
...
},
{
product_id: 'example2',
name: 'Example Product 2',
price: 10000,
description: 'Information about Example Product 2.',
category: [
'Example Category 2',
'Example Category 3',
],
item_qty: 1,
qty_price: 10000,
product_url: 'https://www.example.com/products/example2',
image_url: 'https://www.example.com/products/example2/images/example.jpg',
...
},
...
],
})
.then(...)
.catch(...)
client.customer.cancel('test@example.com')
.then(...)
.catch(...)
client.customer.unsubscribe('test@example.com')
.then(...)
.catch(...)
client.customer.optIn('test@example.com')
.then(...)
.catch(...)
client.lists.get()
.then(...)
.catch(...)
client.lists.contacts('eXaMpLeLiStId').get()
.then(...)
.catch(...)
client.lists.contacts('eXaMpLeLiStId').get(2)
.then(...)
.catch(...)
client.lists.contacts('eXaMpLeLiStId').add('test@example.com')
.then(...)
.catch(...)
client.lists.contacts('eXaMpLeLiStId').remove('test@example.com')
.then(...)
.catch(...)
FAQs
Rejoiner REST API client wrapper for Node.js
The npm package rejoiner receives a total of 21 weekly downloads. As such, rejoiner popularity was classified as not popular.
We found that rejoiner demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.