-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathebay_rest_EXAMPLE.json
executable file
·104 lines (104 loc) · 4.26 KB
/
ebay_rest_EXAMPLE.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"***_instructions_***": {
"01": "The ebay_rest module needs your eBay credentials.",
"02": "Copy this file to your working folder and name it ebay_rest.json.",
"03": "As you create and get, replace the placeholders in the two sections that follow.",
"04": "Create a developer account - https://developer.ebay.com/api-docs/static/creating-edp-account.html",
"05": "Get your OAuth credentials - https://developer.ebay.com/api-docs/static/oauth-credentials.html",
"06": "Get your redirect_uri value - https://developer.ebay.com/api-docs/static/oauth-redirect-uri.html",
"07": "Create production and sandbox logins at your eBay country-specific marketplace, e.g. https://www.ebay.com & https://sandbox.ebay.com.",
"08": "Except for production users, scopes will be auto-discovered.",
"09": "If the token and token_expiry are empty, they will be auto-generated."
},
"applications": {
"production_1": {
"app_id": "placeholder-placeholder-PRD-placeholder-placeholder",
"cert_id": "PRD-placeholder-placeholder-placeholder-placeholder-placeholder",
"dev_id": "placeholder-placeholder-placeholder-placeholder-placeholder",
"redirect_uri": "placeholder-placeholder-placeholder-placeholder"
},
"sandbox_1": {
"app_id": "placeholder-placeholder-SBX-placeholder-placeholder",
"cert_id": "SBX-placeholder-placeholder-placeholder-placeholder-placeholder",
"dev_id": "placeholder-placeholder-placeholder-placeholder-placeholder",
"redirect_uri": "placeholder-placeholder-placeholder-placeholder"
}
},
"users": {
"production_1": {
"email_or_username": "<production-username>",
"password": "<production-user-password>",
"scopes": [
"https://api.ebay.com/oauth/api_scope",
"https://api.ebay.com/oauth/api_scope/sell.inventory",
"https://api.ebay.com/oauth/api_scope/sell.marketing",
"https://api.ebay.com/oauth/api_scope/sell.account",
"https://api.ebay.com/oauth/api_scope/sell.fulfillment"
],
"refresh_token": "",
"refresh_token_expiry": ""
},
"sandbox_1": {
"email_or_username": "placeholder",
"password": "placeholder",
"refresh_token": "",
"refresh_token_expiry": ""
}
},
"headers": {
"ENCA": {
"accept_language": "en-CA",
"affiliate_campaign_id": "",
"affiliate_reference_id": "",
"content_language": "en-CA",
"country" : "CA",
"currency": "CAD",
"device_id": "",
"marketplace_id": "EBAY_CA",
"zip": "K1M 1M4"
},
"NLBE": {
"accept_language": "nl-BE",
"affiliate_campaign_id": "",
"affiliate_reference_id": "",
"content_language": "nl-BE",
"country" : "BE",
"currency": "EUR",
"device_id": "",
"marketplace_id": "EBAY_BE",
"zip": "1000"
},
"GB": {
"accept_language": "en-GB",
"affiliate_campaign_id": "",
"affiliate_reference_id": "",
"content_language": "en-GB",
"country" : "GB",
"currency": "GBP",
"device_id": "",
"marketplace_id": "EBAY_GB",
"zip": "SW1A 1AA"
},
"US": {
"accept_language": "en-US",
"affiliate_campaign_id": "",
"affiliate_reference_id": "",
"content_language": "en-US",
"country": "US",
"currency": "USD",
"device_id": "",
"marketplace_id": "EBAY_US",
"zip": "20500"
}
},
"key_pairs": {
"production_1": {
"private_key": "placeholder-placeholder-placeholder-placeholder-placeholder-plac",
"signing_key_id": "placeholder-placeholder-placeholder-"
},
"sandbox_1": {
"private_key": "placeholder-placeholder-placeholder-placeholder-placeholder-plac",
"signing_key_id": "placeholder-placeholder-placeholder-"
}
}
}