n8n-nodes-amazon-selling-partner-marketplace 0.0.16 → 0.0.17
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 +16 -32
- package/dist/nodes/AmazonSellingPartner/generated/Generated.description.js +13006 -15096
- package/dist/nodes/AmazonSellingPartner/generated/Generated.description.js.map +1 -1
- package/dist/nodes/AmazonSellingPartner/operations/Generated.operations.js +14 -1
- package/dist/nodes/AmazonSellingPartner/operations/Generated.operations.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# n8n-nodes-amazon-selling-partner-marketplace
|
|
2
2
|
|
|
3
|
-
Community node for the Amazon Selling Partner API (SP-API).
|
|
3
|
+
Community node for the Amazon Selling Partner API (SP-API).
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
@@ -9,8 +9,10 @@ https://docs.n8n.io/integrations/community-nodes/installation/
|
|
|
9
9
|
|
|
10
10
|
## Credentials
|
|
11
11
|
|
|
12
|
-
Create
|
|
12
|
+
Create your SP-API application in Seller Central:
|
|
13
|
+
https://sellercentral.amazon.de/sellingpartner/developerconsole
|
|
13
14
|
|
|
15
|
+
You will need:
|
|
14
16
|
- Application ID
|
|
15
17
|
- LWA Client ID
|
|
16
18
|
- LWA Client Secret
|
|
@@ -20,24 +22,16 @@ Create an SP-API application in Seller Central and collect the following:
|
|
|
20
22
|
- Primary Marketplace (must match your app authorization)
|
|
21
23
|
- AWS Region (must match your marketplace)
|
|
22
24
|
|
|
23
|
-
|
|
25
|
+
Note:
|
|
24
26
|
- Seller ID is optional. If provided, it is used directly. If missing, the node tries to auto-detect via marketplace participations.
|
|
25
|
-
- LWA tokens are refreshed automatically
|
|
27
|
+
- LWA access tokens are refreshed automatically.
|
|
28
|
+
- If Marketplace/Region do not match, Amazon returns 401/403.
|
|
26
29
|
|
|
27
|
-
|
|
28
|
-
- https://developer-docs.amazon.com/sp-api/docs/connecting-to-the-selling-partner-api
|
|
29
|
-
- https://developer-docs.amazon.com/sp-api/docs/registering-your-application
|
|
30
|
+
## Supported Resources (current)
|
|
30
31
|
|
|
31
|
-
|
|
32
|
+
Amazon Warehousing And Distribution, Aplus Content, Application Integrations, Application Management, Catalog Items, Customer Feedback, Data Kiosk, Delivery By Amazon, Easy Ship, External Fulfillment, Fba Inbound Eligibility, Fba Inventory, Feeds, Finances, Fulfillment Inbound, Fulfillment Outbound, Invoices, Listings Items, Listings Restrictions, Merchant Fulfillment, Messaging, Notifications, Orders, Product Fees, Product Pricing, Product Type Definitions, Replenishment, Reports, Sales, Seller Wallet, Sellers, Services, Shipment Invoicing, Shipping, Solicitations, Supply Sources, Tokens, Uploads, Vehicles, Vendor Direct Fulfillment Inventory, Vendor Direct Fulfillment Orders, Vendor Direct Fulfillment Payments, Vendor Direct Fulfillment Sandbox Test Data, Vendor Direct Fulfillment Shipping, Vendor Direct Fulfillment Transactions, Vendor Invoices, Vendor Orders, Vendor Shipments, Vendor Transaction Status.
|
|
32
33
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
All resources and operations are generated from the official SP-API models repository:
|
|
36
|
-
https://github.com/amzn/selling-partner-api-models/tree/main/models
|
|
37
|
-
|
|
38
|
-
If Amazon adds or updates an API model, the node can be regenerated automatically.
|
|
39
|
-
|
|
40
|
-
### Custom API Call
|
|
34
|
+
## Custom API Call
|
|
41
35
|
|
|
42
36
|
Use the Custom resource when you need an endpoint that is not mapped yet or when you want full control.
|
|
43
37
|
|
|
@@ -52,7 +46,7 @@ Custom Request supports:
|
|
|
52
46
|
|
|
53
47
|
You can also use "Request via JSON Definition" to submit a full request object (or an array of requests).
|
|
54
48
|
|
|
55
|
-
|
|
49
|
+
### Example 1: Catalog Items search (Custom Request)
|
|
56
50
|
|
|
57
51
|
- Resource: Custom
|
|
58
52
|
- Operation: Custom Request
|
|
@@ -69,9 +63,9 @@ You can also use "Request via JSON Definition" to submit a full request object (
|
|
|
69
63
|
}
|
|
70
64
|
```
|
|
71
65
|
|
|
72
|
-
|
|
66
|
+
### Example 2: Listings Items get (Custom Request)
|
|
73
67
|
|
|
74
|
-
Replace the placeholders with your sellerId and SKU
|
|
68
|
+
Replace the placeholders with your sellerId and SKU.
|
|
75
69
|
|
|
76
70
|
- Resource: Custom
|
|
77
71
|
- Operation: Custom Request
|
|
@@ -87,7 +81,7 @@ Replace the placeholders with your sellerId and SKU (you can also use an express
|
|
|
87
81
|
}
|
|
88
82
|
```
|
|
89
83
|
|
|
90
|
-
|
|
84
|
+
### Example 3: JSON Definition (single request)
|
|
91
85
|
|
|
92
86
|
- Resource: Custom
|
|
93
87
|
- Operation: Request via JSON Definition
|
|
@@ -108,18 +102,8 @@ Replace the placeholders with your sellerId and SKU (you can also use an express
|
|
|
108
102
|
}
|
|
109
103
|
```
|
|
110
104
|
|
|
111
|
-
## Auto-generation
|
|
112
|
-
|
|
113
|
-
To regenerate resources and operations locally:
|
|
114
|
-
|
|
115
|
-
```bash
|
|
116
|
-
npm run generate:spapi
|
|
117
|
-
```
|
|
118
|
-
|
|
119
|
-
A GitLab CI job is included in `.gitlab-ci.yml` to auto-regenerate on a schedule and push updates back to the repository.
|
|
120
|
-
|
|
121
105
|
## Resources
|
|
122
106
|
|
|
123
107
|
- SP-API Reference: https://developer-docs.amazon.com/sp-api/reference/welcome-to-api-references
|
|
124
|
-
- SP-API
|
|
125
|
-
|
|
108
|
+
- SP-API Setup: https://developer-docs.amazon.com/sp-api/docs/connecting-to-the-selling-partner-api
|
|
109
|
+
|