Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@prezzee/ts-v2-sdks

Package Overview
Dependencies
Maintainers
61
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@prezzee/ts-v2-sdks - npm Package Compare versions

Comparing version 1.7.0 to 1.8.0

2

package.json
{
"name": "@prezzee/ts-v2-sdks",
"version": "1.7.0",
"version": "1.8.0",
"description": "",

@@ -5,0 +5,0 @@ "main": "lib/src/index.js",

@@ -40,10 +40,12 @@ # Welcome to Prezzee SDKs

### List Styles
`const products = await prezzeeClient.listStyles();`
`const styles = await prezzeeClient.listStyles();`
Returns a list of gift styles for use with the product creation endpoint.
### Create Order
`const product = products.results[0];`
`const style = styles.results[0];`
~~~
const product = products.results[0];
`const order = await prezzeeClient.createOrder({
const style = styles.results[0];
const order = await prezzeeClient.createOrder({
reference: generateUUID(),

@@ -69,3 +71,4 @@ payment_method: "POSTPAID_CREDIT",

],
});`
});
~~~

@@ -72,0 +75,0 @@ This will return order_uuid in response which can be used in the following example to retrieve the order details.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc