@profplum700/etsy-v3-api-client 2.4.1 → 2.4.2
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 +121 -13
- package/dist/.tsbuildinfo +1 -1
- package/dist/browser.esm.js +43 -2
- package/dist/browser.esm.js.map +1 -1
- package/dist/browser.umd.js +1 -1
- package/dist/browser.umd.js.map +1 -1
- package/dist/index.cjs +43 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +20 -1
- package/dist/index.esm.js +43 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/node.cjs +43 -2
- package/dist/node.cjs.map +1 -1
- package/dist/node.esm.js +43 -2
- package/dist/node.esm.js.map +1 -1
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -196,11 +196,11 @@ const listings = await client.getListingsByShop('shop-id');
|
|
|
196
196
|
const listing = await client.getListing('listing-id');
|
|
197
197
|
|
|
198
198
|
// Search listings
|
|
199
|
-
const searchResults = await client.
|
|
200
|
-
keywords: 'vintage',
|
|
201
|
-
category: 'art',
|
|
202
|
-
limit: 25
|
|
203
|
-
});
|
|
199
|
+
const searchResults = await client.findAllListingsActive({
|
|
200
|
+
keywords: 'vintage',
|
|
201
|
+
category: 'art',
|
|
202
|
+
limit: 25
|
|
203
|
+
});
|
|
204
204
|
```
|
|
205
205
|
|
|
206
206
|
### Error Handling
|
|
@@ -354,13 +354,121 @@ The package provides optimized builds for different environments:
|
|
|
354
354
|
- `getShop(shopId)` - Get shop details
|
|
355
355
|
- `getShopByOwnerUserId(userId)` - Get shop by owner user ID
|
|
356
356
|
|
|
357
|
-
#### Listing Methods
|
|
358
|
-
- `getListing(listingId)` - Get listing details
|
|
359
|
-
- `getListingsByShop(shopId, options?)` - Get shop's listings
|
|
360
|
-
- `
|
|
361
|
-
|
|
362
|
-
####
|
|
363
|
-
|
|
357
|
+
#### Listing Methods
|
|
358
|
+
- `getListing(listingId)` - Get listing details
|
|
359
|
+
- `getListingsByShop(shopId, options?)` - Get shop's listings
|
|
360
|
+
- `findAllListingsActive(options?)` - Search active listings
|
|
361
|
+
|
|
362
|
+
#### Listing Management Endpoint Support
|
|
363
|
+
| Category | Endpoint | Supported |
|
|
364
|
+
| --- | --- | --- |
|
|
365
|
+
| BuyerTaxonomy | getBuyerTaxonomyNodes | Yes |
|
|
366
|
+
| BuyerTaxonomy | getPropertiesByBuyerTaxonomyId | No |
|
|
367
|
+
| SellerTaxonomy | getSellerTaxonomyNodes | Yes |
|
|
368
|
+
| SellerTaxonomy | getPropertiesByTaxonomyId | Yes |
|
|
369
|
+
| ShopListing | createDraftListing | Yes |
|
|
370
|
+
| ShopListing | getListingsByShop | Yes |
|
|
371
|
+
| ShopListing | deleteListing | Yes |
|
|
372
|
+
| ShopListing | getListing | Yes |
|
|
373
|
+
| ShopListing | findAllListingsActive | Yes |
|
|
374
|
+
| ShopListing | findAllActiveListingsByShop | No |
|
|
375
|
+
| ShopListing | getListingsByListingIds | No |
|
|
376
|
+
| ShopListing | getFeaturedListingsByShop | No |
|
|
377
|
+
| ShopListing | deleteListingProperty | No |
|
|
378
|
+
| ShopListing | updateListingProperty | Yes |
|
|
379
|
+
| ShopListing | getListingProperty | No |
|
|
380
|
+
| ShopListing | getListingProperties | Yes |
|
|
381
|
+
| ShopListing | updateListing | Yes |
|
|
382
|
+
| ShopListing | getListingsByShopReceipt | No |
|
|
383
|
+
| ShopListing | getListingsByShopReturnPolicy | No |
|
|
384
|
+
| ShopListing | getListingsByShopSectionId | No |
|
|
385
|
+
| ShopListing File | deleteListingFile | No |
|
|
386
|
+
| ShopListing File | getListingFile | No |
|
|
387
|
+
| ShopListing File | getAllListingFiles | No |
|
|
388
|
+
| ShopListing File | uploadListingFile | No |
|
|
389
|
+
| ShopListing Image | deleteListingImage | Yes |
|
|
390
|
+
| ShopListing Image | getListingImage | Yes |
|
|
391
|
+
| ShopListing Image | getListingImages | Yes |
|
|
392
|
+
| ShopListing Image | uploadListingImage | Yes |
|
|
393
|
+
| ShopListing Inventory | getListingInventory | Yes |
|
|
394
|
+
| ShopListing Inventory | updateListingInventory | Yes |
|
|
395
|
+
| ShopListing Offering | getListingOffering | No |
|
|
396
|
+
| ShopListing Product | getListingProduct | No |
|
|
397
|
+
| ShopListing Translation | createListingTranslation | No |
|
|
398
|
+
| ShopListing Translation | getListingTranslation | No |
|
|
399
|
+
| ShopListing Translation | updateListingTranslation | No |
|
|
400
|
+
| ShopListing VariationImage | getListingVariationImages | No |
|
|
401
|
+
| ShopListing VariationImage | updateVariationImages | No |
|
|
402
|
+
| ShopListing Video | deleteListingVideo | No |
|
|
403
|
+
| ShopListing Video | getListingVideo | No |
|
|
404
|
+
| ShopListing Video | getListingVideos | No |
|
|
405
|
+
| ShopListing Video | uploadListingVideo | No |
|
|
406
|
+
| Other | ping | No |
|
|
407
|
+
| Other | tokenScopes | No |
|
|
408
|
+
| Ledger Entry | getShopPaymentAccountLedgerEntry | Yes |
|
|
409
|
+
| Ledger Entry | getShopPaymentAccountLedgerEntries | Yes |
|
|
410
|
+
| Payment | getShopPaymentByReceiptId | No |
|
|
411
|
+
| Payment | getPaymentAccountLedgerEntry | No |
|
|
412
|
+
| Payment | getPayments | No |
|
|
413
|
+
| Shop Receipt | getShopReceipt | Yes |
|
|
414
|
+
| Shop Receipt | updateShopReceipt | Yes |
|
|
415
|
+
| Shop Receipt | getShopReceipts | Yes |
|
|
416
|
+
| Shop Receipt | searchAllShopReceipts | No |
|
|
417
|
+
| Shop Receipt Transactions | getShopReceiptTransaction | Yes |
|
|
418
|
+
| Shop Receipt Transactions | getShopReceiptTransactionsByListing | No |
|
|
419
|
+
| Shop Receipt Transactions | getShopReceiptTransactionsByReceipt | Yes |
|
|
420
|
+
| Shop Receipt Transactions | getShopReceiptTransactionsByShop | No |
|
|
421
|
+
| Review | getReviewsByListing | Yes |
|
|
422
|
+
| Review | getReviewsByShop | Yes |
|
|
423
|
+
| Shop HolidayPreferences | getShopHolidayPreferences | No |
|
|
424
|
+
| Shop HolidayPreferences | updateShopHolidayPreferences | No |
|
|
425
|
+
| Shop ProcessingProfiles | createShopShippingProfileUpgrade | No |
|
|
426
|
+
| Shop ProcessingProfiles | getShopShippingProfileUpgrades | Yes |
|
|
427
|
+
| Shop ProcessingProfiles | deleteShopShippingProfileUpgrade | No |
|
|
428
|
+
| Shop ProcessingProfiles | getShopShippingProfileUpgrade | No |
|
|
429
|
+
| Shop ProcessingProfiles | updateShopShippingProfileUpgrade | No |
|
|
430
|
+
| Shop ShippingProfile | getShippingCarriers | No |
|
|
431
|
+
| Shop ShippingProfile | createShopShippingProfile | Yes |
|
|
432
|
+
| Shop ShippingProfile | getShopShippingProfiles | Yes |
|
|
433
|
+
| Shop ShippingProfile | deleteShopShippingProfile | Yes |
|
|
434
|
+
| Shop ShippingProfile | getShopShippingProfile | Yes |
|
|
435
|
+
| Shop ShippingProfile | updateShopShippingProfile | Yes |
|
|
436
|
+
| Shop ShippingProfile | createShopShippingProfileDestination | Yes |
|
|
437
|
+
| Shop ShippingProfile | getShopShippingProfileDestinationsByShippingProfile | Yes |
|
|
438
|
+
| Shop ShippingProfile | deleteShopShippingProfileDestination | Yes |
|
|
439
|
+
| Shop ShippingProfile | updateShopShippingProfileDestination | Yes |
|
|
440
|
+
| Shop ShippingProfile | createShopShippingProfileUpgrade | No |
|
|
441
|
+
| Shop ShippingProfile | getShopShippingProfileUpgrades | Yes |
|
|
442
|
+
| Shop ShippingProfile | deleteShopShippingProfileUpgrade | No |
|
|
443
|
+
| Shop ShippingProfile | updateShopShippingProfileUpgrade | No |
|
|
444
|
+
| Shop | getShop | Yes |
|
|
445
|
+
| Shop | updateShop | Yes |
|
|
446
|
+
| Shop | getShopByOwnerUserId | Yes |
|
|
447
|
+
| Shop | findShops | No |
|
|
448
|
+
| Shop ProductionPartner | getShopProductionPartners | Yes |
|
|
449
|
+
| Shop Section | createShopSection | Yes |
|
|
450
|
+
| Shop Section | getShopSections | Yes |
|
|
451
|
+
| Shop Section | deleteShopSection | Yes |
|
|
452
|
+
| Shop Section | getShopSection | Yes |
|
|
453
|
+
| Shop Section | updateShopSection | Yes |
|
|
454
|
+
| Shop Return Policy | consolidateShopReturnPolicies | No |
|
|
455
|
+
| Shop Return Policy | createShopReturnPolicy | No |
|
|
456
|
+
| Shop Return Policy | getShopReturnPolicies | No |
|
|
457
|
+
| Shop Return Policy | deleteShopReturnPolicy | No |
|
|
458
|
+
| Shop Return Policy | getShopReturnPolicy | No |
|
|
459
|
+
| Shop Return Policy | updateShopReturnPolicy | No |
|
|
460
|
+
| User | getUser | Yes |
|
|
461
|
+
| User | getMe | No |
|
|
462
|
+
| UserAddress | deleteUserAddress | No |
|
|
463
|
+
| UserAddress | getUserAddress | No |
|
|
464
|
+
| UserAddress | getUserAddresses | No |
|
|
465
|
+
|
|
466
|
+
#### Review Methods
|
|
467
|
+
- `getReviewsByListing(listingId, options?)` - Get reviews for a listing
|
|
468
|
+
- `getReviewsByShop(shopId, options?)` - Get reviews for a shop
|
|
469
|
+
|
|
470
|
+
#### Search Methods
|
|
471
|
+
- `findAllListingsActive(params)` - Search listings with filters
|
|
364
472
|
|
|
365
473
|
### AuthHelper Methods
|
|
366
474
|
- `getAuthUrl()` - Generate authorization URL
|
|
@@ -722,4 +830,4 @@ If you have questions or need help:
|
|
|
722
830
|
|
|
723
831
|
## 🏷️ Changelog
|
|
724
832
|
|
|
725
|
-
See [CHANGELOG.md](CHANGELOG.md) for version history and release notes.
|
|
833
|
+
See [CHANGELOG.md](CHANGELOG.md) for version history and release notes.
|