@@ -40,17 +40,17 @@ curl -X GET \
40
40
``` json
41
41
{
42
42
"mage_id" : " MAG123456789" ,
43
- "first_name" : " Chuck " ,
44
- "last_name" : " Norris " ,
45
- "email" : " cnorris @example.com" ,
46
- "screen_name" : " ninjachuck " ,
43
+ "first_name" : " John " ,
44
+ "last_name" : " Smith " ,
45
+ "email" : " jsmith @example.com" ,
46
+ "screen_name" : " Agent Smith " ,
47
47
"has_completed_profile" : true ,
48
48
"has_accepted_tos" : true ,
49
49
"profile_image_artifact" : {
50
50
"file_upload_id" : " uuid-001-234567-123.461" ,
51
- "filename" : " chuck .png" ,
52
- "content_type" : " image. png" ,
53
- "url" : " https://static-mp.magento.com/user/68/f3/68f360d3516f594fc957c4179ed4a7a872911f07/pub/d9/c2/d9c23dd795a5faaab603b6b5965eca8a6d9430f2/chuck .png" ,
51
+ "filename" : " portrait .png" ,
52
+ "content_type" : " image/ png" ,
53
+ "url" : " https://static-mp.magento.com/user/68/f3/68f360d3516f594fc957c4179ed4a7a872911f07/pub/d9/c2/d9c23dd795a5faaab603b6b5965eca8a6d9430f2/portrait .png" ,
54
54
"size" : 1234 ,
55
55
"file_hash" : " d5db29cd03a2ed055086cef9c31c252b4587ffff" ,
56
56
"malware_status" : " pass"
@@ -59,12 +59,12 @@ curl -X GET \
59
59
"tos_accepted_version" : " 1.0" ,
60
60
"tos_accepted_date" : " 2017-11-16 01:23:45" ,
61
61
"is_company" : false ,
62
- "vendor_name" : " chucknorris " ,
62
+ "vendor_name" : " johnsmith " ,
63
63
"partner_level" : 4 ,
64
64
"locale" : " en-US" ,
65
65
"timezone" : " UTC" ,
66
66
"payment_type" : 1 ,
67
- "payment_info" : {"paypal_email" : " cnorris @example.com" },
67
+ "payment_info" : {"paypal_email" : " jsmith @example.com" },
68
68
"taxpayer_type" : 2 ,
69
69
"tax_review_status" : 3 ,
70
70
"tax_withhold_percent" : 0.00 ,
@@ -74,12 +74,12 @@ curl -X GET \
74
74
"support_share_percent" : 0 ,
75
75
76
76
"personal_profile" : {
77
- "bio" : " Sets ants on fire using a magnifying glass. At night ." ,
77
+ "bio" : " Writes extensions that pass review first time. Blindfolded ." ,
78
78
"last_logged_in" : " 2017-09-30 8:09:10" ,
79
79
"created_at" : " 2016-02-29 14:04:59" ,
80
80
"modified_at" : " 2017-11-16 01:23:45" ,
81
81
"social_media_info" : {
82
- "twitter" : " @chucknorrismagento " ,
82
+ "twitter" : " @magento " ,
83
83
"stackexchange_url" : " " ,
84
84
"facebook_url" : " " ,
85
85
"linkedin_url" : " " ,
@@ -88,7 +88,7 @@ curl -X GET \
88
88
"addresses" : [
89
89
{
90
90
"address_key" : 1 ,
91
- "address_line_1" : " 123 Lonestar Way" ,
91
+ "address_line_1" : " 123 Magento Way" ,
92
92
"state" : " Texas" ,
93
93
"country" : " USA" ,
94
94
"postal_code" : " 77777" ,
@@ -100,15 +100,15 @@ curl -X GET \
100
100
},
101
101
102
102
"company_profile" : {
103
- "name" : " Ninja Norris Inc." ,
104
- "bio" : " Ninja Extension Builder ." ,
103
+ "name" : " Agent Smith Inc." ,
104
+ "bio" : " Vendors of bespoke Magento Extensions ." ,
105
105
"website_url" : " https://www.example.com/" ,
106
- "primary_email" : " cnorris @example.com" ,
106
+ "primary_email" : " jsmith @example.com" ,
107
107
"support_email" :
" [email protected] " ,
108
108
"created_at" : " 2016-02-29 14:04:59" ,
109
109
"modified_at" : " 2017-09-30 01:23:45" ,
110
110
"social_media_info" : {
111
- "twitter" : " @chucknorrismagento " ,
111
+ "twitter" : " @magento " ,
112
112
"stackexchange_url" : " " ,
113
113
"facebook_url" : " " ,
114
114
"linkedin_url" : " " ,
@@ -117,7 +117,7 @@ curl -X GET \
117
117
"addresses" : [
118
118
{
119
119
"address_key" : 1 ,
120
- "address_line_1" : " 123 Lonestar Way" ,
120
+ "address_line_1" : " 123 Magento Way" ,
121
121
"state" : " Texas" ,
122
122
"country" : " USA" ,
123
123
"postal_code" : " 77777" ,
@@ -145,21 +145,21 @@ curl -X GET \
145
145
``` json
146
146
{
147
147
"mage_id" : " MAG123456789" ,
148
- "first_name" : " Chuck " ,
149
- "last_name" : " Norris " ,
150
- "email" : " cnorris @example.com" ,
151
- "screen_name" : " ninjachuck " ,
148
+ "first_name" : " John " ,
149
+ "last_name" : " Smith " ,
150
+ "email" : " jsmith @example.com" ,
151
+ "screen_name" : " Agent Smith " ,
152
152
"has_completed_profile" : true ,
153
153
"has_accepted_tos" : true ,
154
154
"profile_image_artifact" : {
155
155
"file_upload_id" : " uuid-001-234567-123.461" ,
156
- "filename" : " chuck .png" ,
156
+ "filename" : " portrait .png" ,
157
157
"content_type" : " image.png" ,
158
- "url" : " https://static-mp.magento.com/user/68/f3/68f360d3516f594fc957c4179ed4a7a872911f07/pub/d9/c2/d9c23dd795a5faaab603b6b5965eca8a6d9430f2/chuck .png" ,
158
+ "url" : " https://static-mp.magento.com/user/68/f3/68f360d3516f594fc957c4179ed4a7a872911f07/pub/d9/c2/d9c23dd795a5faaab603b6b5965eca8a6d9430f2/portrait .png" ,
159
159
"size" : 1234 ,
160
160
"file_hash" : " d5db29cd03a2ed055086cef9c31c252b4587ffff" ,
161
161
"malware_status" : " pass"
162
- },
162
+ }
163
163
}
164
164
```
165
165
@@ -173,7 +173,7 @@ The following example shows a request to update the personal profile bio field:
173
173
{
174
174
"action" : " publish" ,
175
175
"personal_profile" : {
176
- "bio" : " I can make a fire by rubbing two ice cubes ."
176
+ "bio" : " My extensions have won Nobel Prizes in both literature and physics ."
177
177
}
178
178
}
179
179
```
@@ -190,7 +190,7 @@ The `action` field specifies which update operation to perform:
190
190
curl -X PUT \
191
191
-H ' Authorization: Bearer baGXoStRuR9VCDFQGZNzgNqbqu5WUwlr.cAxZJ9m22Le7' \
192
192
-H ' Content-Type: application/json' \
193
- -d ' { ' action: " publish" , " personal_profile" : { " bio" : " I can make a fire by rubbing two ice cubes ." } }' \
193
+ -d ' { " action" : "publish", "personal_profile" : { "bio" : "My extensions have won Nobel Prizes in both literature and physics ." } }' \
194
194
https://developer-api.magento.com/rest/v1/users/MAG123456789
195
195
```
196
196
@@ -221,7 +221,6 @@ The following table lists available query parameters, all of which are optional:
221
221
| -----------| --------| ----------| ----------------------------------------|
222
222
| type | string | no | Type of keys requested:<br >` m1 ` &mdash ; Magento 1 product keys<br >` m2 ` &mdash ; Magento 2 composer repo keys<br >` all ` &mdash ; Both M1 and M2 keys (default)
223
223
| label | string | no | The url encoded value of the key label; only valid for ` m2 ` type.|
224
- {:.style="table-layout: auto;"}
225
224
226
225
The following example shows the request/response body for retrieving keys without any query parameters:
227
226
0 commit comments