shipbob-node-sdk 0.0.1 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -3,7 +3,7 @@ First of all there are no official SDKs for ShipBob. I'm just dropping this her
3
3
 
4
4
  These is just a starting point for anybody looking to integrate ShipBob into a Node.js application.
5
5
 
6
- You could make it run in the browser by replacing `https` with `fetch` or `axios`. I could have used fetch as well, but in case somebody is on Node < v18 (and it wasn't stable till v21 anyway).
6
+ It uses the built-in node.js fetch.
7
7
 
8
8
  This is not an official or supported library. If you extend or have any issues kindly open a PR. Not really sure anybody will ever need this as most common platforms probably have built-in support.
9
9
 
@@ -52,10 +52,17 @@ SHIPBOB_API_TOKEN=<redacted>
52
52
  - [x] Get logs for one Shipment by Shipment Id
53
53
  - [?] Get shipping methods (hard-code shipping methods?)
54
54
 
55
- ## Products
56
- - [✓] Get multiple products: api.getProducts(...)
57
- - [✓] Add a single product to the store: api.addProduct(...)
58
- - [ ] Modify a single product (we will need this to add multiple barcodes)
55
+ ## Products 1.0
56
+ - [✓] Get multiple products: api.getProducts1_0(...)
57
+ - [✓] Add a single product to the store: api.createProduct1_0(...)
58
+ - [x] Modify a single product (using 2.0 for additional properties)
59
+ - [x] Add multiple products to the store
60
+
61
+ ## Products 2.0
62
+ These are not documented on the site yet.
63
+ - [✓] Get multiple products: api.getProducts2_0(...)
64
+ - [✓] Add a single product to the store: api.createProduct2_0(...)
65
+ - [✓] Modify a single product: api.updateProducts2_0(..,)
59
66
  - [x] Add multiple products to the store
60
67
 
61
68
  ## Inventory