@@ -4,20 +4,20 @@ All URIs are relative to *https://api.ordercloud.io/v1*
44
55Method | HTTP request | Description
66------------- | ------------- | -------------
7- [ ** callDelete ** ] ( Addresses.md#callDelete ) | ** DELETE ** /buyers/{buyerID}/addresses/{addressID} |
8- [ ** create ** ] ( Addresses.md#create ) | ** POST ** /buyers/{buyerID}/addresses |
9- [ ** deleteAssignment ** ] ( Addresses.md#deleteAssignment ) | ** DELETE** /buyers/{buyerID}/addresses/{addressID}/assignments |
10- [ ** get ** ] ( Addresses.md#get ) | ** GET** /buyers/{buyerID}/addresses/{addressID} |
11- [ ** list ** ] ( Addresses.md#list ) | ** GET** /buyers/{buyerID}/addresses |
12- [ ** listAssignments ** ] ( Addresses.md#listAssignments ) | ** GET** /buyers/{buyerID}/addresses/assignments |
13- [ ** patch ** ] ( Addresses.md#patch ) | ** PATCH** /buyers/{buyerID}/addresses/{addressID} |
14- [ ** save ** ] ( Addresses.md#save ) | ** PUT** /buyers/{buyerID}/addresses/{addressID} |
15- [ ** saveAssignment ** ] ( Addresses.md#saveAssignment ) | ** POST** /buyers/{buyerID}/addresses/assignments |
7+ [ ** Create ** ] ( Addresses.md#Create ) | ** POST ** /buyers/{buyerID}/addresses |
8+ [ ** Delete ** ] ( Addresses.md#Delete ) | ** DELETE ** /buyers/{buyerID}/addresses/{addressID} |
9+ [ ** DeleteAssignment ** ] ( Addresses.md#DeleteAssignment ) | ** DELETE** /buyers/{buyerID}/addresses/{addressID}/assignments |
10+ [ ** Get ** ] ( Addresses.md#Get ) | ** GET** /buyers/{buyerID}/addresses/{addressID} |
11+ [ ** List ** ] ( Addresses.md#List ) | ** GET** /buyers/{buyerID}/addresses |
12+ [ ** ListAssignments ** ] ( Addresses.md#ListAssignments ) | ** GET** /buyers/{buyerID}/addresses/assignments |
13+ [ ** Patch ** ] ( Addresses.md#Patch ) | ** PATCH** /buyers/{buyerID}/addresses/{addressID} |
14+ [ ** Save ** ] ( Addresses.md#Save ) | ** PUT** /buyers/{buyerID}/addresses/{addressID} |
15+ [ ** SaveAssignment ** ] ( Addresses.md#SaveAssignment ) | ** POST** /buyers/{buyerID}/addresses/assignments |
1616
1717
18- <a name =" callDelete " ></a >
19- # ** callDelete **
20- > callDelete (buyerID, addressID )
18+ <a name =" Create " ></a >
19+ # ** Create **
20+ > Address Create (buyerID, address )
2121
2222
2323
@@ -34,10 +34,10 @@ var apiInstance = new OrderCloud.Addresses();
3434
3535var buyerID = " buyerID_example" ; // String | ID of the buyer.
3636
37- var addressID = " addressID_example " ; // String | ID of the address.
37+ var address = new OrderCloud.Address () ; // Address |
3838
39- apiInstance .callDelete (buyerID, addressID ).then (function () {
40- console .log (' API called successfully.' );
39+ apiInstance .Create (buyerID, address ).then (function (data ) {
40+ console .log (' API called successfully. Returned data: ' + data );
4141}, function (error ) {
4242 console .error (error);
4343});
@@ -49,11 +49,11 @@ apiInstance.callDelete(buyerID, addressID).then(function() {
4949Name | Type | Description | Notes
5050------------- | ------------- | ------------- | -------------
5151 ** buyerID** | ** String** | ID of the buyer. |
52- ** addressID ** | ** String ** | ID of the address. |
52+ ** address ** | [ ** Address ** ] ( Address.md ) | |
5353
5454### Return type
5555
56- null (empty response body )
56+ [ ** Address ** ] ( Address.md )
5757
5858### Authorization
5959
@@ -66,9 +66,9 @@ null (empty response body)
6666 - ** Content-Type** : application/json, text/plain; charset=utf-8
6767 - ** Accept** : application/json
6868
69- <a name =" create " ></a >
70- # ** create **
71- > Address create (buyerID, address )
69+ <a name =" Delete " ></a >
70+ # ** Delete **
71+ > Delete (buyerID, addressID )
7272
7373
7474
@@ -85,10 +85,10 @@ var apiInstance = new OrderCloud.Addresses();
8585
8686var buyerID = " buyerID_example" ; // String | ID of the buyer.
8787
88- var address = new OrderCloud.Address () ; // Address |
88+ var addressID = " addressID_example " ; // String | ID of the address.
8989
90- apiInstance .create (buyerID, address ).then (function (data ) {
91- console .log (' API called successfully. Returned data: ' + data );
90+ apiInstance .Delete (buyerID, addressID ).then (function () {
91+ console .log (' API called successfully.' );
9292}, function (error ) {
9393 console .error (error);
9494});
@@ -100,11 +100,11 @@ apiInstance.create(buyerID, address).then(function(data) {
100100Name | Type | Description | Notes
101101------------- | ------------- | ------------- | -------------
102102 ** buyerID** | ** String** | ID of the buyer. |
103- ** address ** | [ ** Address ** ] ( Address.md ) | |
103+ ** addressID ** | ** String ** | ID of the address. |
104104
105105### Return type
106106
107- [ ** Address ** ] ( Address.md )
107+ null (empty response body )
108108
109109### Authorization
110110
@@ -117,9 +117,9 @@ Name | Type | Description | Notes
117117 - ** Content-Type** : application/json, text/plain; charset=utf-8
118118 - ** Accept** : application/json
119119
120- <a name =" deleteAssignment " ></a >
121- # ** deleteAssignment **
122- > deleteAssignment (buyerID, addressID, opts)
120+ <a name =" DeleteAssignment " ></a >
121+ # ** DeleteAssignment **
122+ > DeleteAssignment (buyerID, addressID, opts)
123123
124124
125125
@@ -142,7 +142,7 @@ var opts = {
142142 ' userID' : " userID_example" , // String | ID of the user.
143143 ' userGroupID' : " userGroupID_example" // String | ID of the user group.
144144};
145- apiInstance .deleteAssignment (buyerID, addressID, opts).then (function () {
145+ apiInstance .DeleteAssignment (buyerID, addressID, opts).then (function () {
146146 console .log (' API called successfully.' );
147147}, function (error ) {
148148 console .error (error);
@@ -174,9 +174,9 @@ null (empty response body)
174174 - ** Content-Type** : application/json, text/plain; charset=utf-8
175175 - ** Accept** : application/json
176176
177- <a name =" get " ></a >
178- # ** get **
179- > Address get (buyerID, addressID)
177+ <a name =" Get " ></a >
178+ # ** Get **
179+ > Address Get (buyerID, addressID)
180180
181181
182182
@@ -195,7 +195,7 @@ var buyerID = "buyerID_example"; // String | ID of the buyer.
195195
196196var addressID = " addressID_example" ; // String | ID of the address.
197197
198- apiInstance .get (buyerID, addressID).then (function (data ) {
198+ apiInstance .Get (buyerID, addressID).then (function (data ) {
199199 console .log (' API called successfully. Returned data: ' + data);
200200}, function (error ) {
201201 console .error (error);
@@ -225,9 +225,9 @@ Name | Type | Description | Notes
225225 - ** Content-Type** : application/json, text/plain; charset=utf-8
226226 - ** Accept** : application/json
227227
228- <a name =" list " ></a >
229- # ** list **
230- > ListAddress list (buyerID, opts)
228+ <a name =" List " ></a >
229+ # ** List **
230+ > ListAddress List (buyerID, opts)
231231
232232
233233
@@ -252,7 +252,7 @@ var opts = {
252252 ' pageSize' : 56 , // Number | Number of results to return per page. Default: 20, max: 100.
253253 ' filters' : {key: " filters_example" } // {String: String} | Any additional key/value pairs passed in the query string are interpretted as filters. Valid keys are top-level properties of the returned model or 'xp.???'
254254};
255- apiInstance .list (buyerID, opts).then (function (data ) {
255+ apiInstance .List (buyerID, opts).then (function (data ) {
256256 console .log (' API called successfully. Returned data: ' + data);
257257}, function (error ) {
258258 console .error (error);
@@ -287,9 +287,9 @@ Name | Type | Description | Notes
287287 - ** Content-Type** : application/json, text/plain; charset=utf-8
288288 - ** Accept** : application/json
289289
290- <a name =" listAssignments " ></a >
291- # ** listAssignments **
292- > ListAddressAssignment listAssignments (buyerID, opts)
290+ <a name =" ListAssignments " ></a >
291+ # ** ListAssignments **
292+ > ListAddressAssignment ListAssignments (buyerID, opts)
293293
294294
295295
@@ -316,7 +316,7 @@ var opts = {
316316 ' page' : 56 , // Number | Page of results to return. Default: 1
317317 ' pageSize' : 56 // Number | Number of results to return per page. Default: 20, max: 100.
318318};
319- apiInstance .listAssignments (buyerID, opts).then (function (data ) {
319+ apiInstance .ListAssignments (buyerID, opts).then (function (data ) {
320320 console .log (' API called successfully. Returned data: ' + data);
321321}, function (error ) {
322322 console .error (error);
@@ -353,9 +353,9 @@ Name | Type | Description | Notes
353353 - ** Content-Type** : application/json, text/plain; charset=utf-8
354354 - ** Accept** : application/json
355355
356- <a name =" patch " ></a >
357- # ** patch **
358- > Address patch (buyerID, addressID, partialAddress)
356+ <a name =" Patch " ></a >
357+ # ** Patch **
358+ > Address Patch (buyerID, addressID, partialAddress)
359359
360360
361361
@@ -376,7 +376,7 @@ var addressID = "addressID_example"; // String | ID of the address.
376376
377377var partialAddress = new OrderCloud.Address (); // Address |
378378
379- apiInstance .patch (buyerID, addressID, partialAddress).then (function (data ) {
379+ apiInstance .Patch (buyerID, addressID, partialAddress).then (function (data ) {
380380 console .log (' API called successfully. Returned data: ' + data);
381381}, function (error ) {
382382 console .error (error);
@@ -407,9 +407,9 @@ Name | Type | Description | Notes
407407 - ** Content-Type** : application/json, text/plain; charset=utf-8
408408 - ** Accept** : application/json
409409
410- <a name =" save " ></a >
411- # ** save **
412- > Address save (buyerID, addressID, address)
410+ <a name =" Save " ></a >
411+ # ** Save **
412+ > Address Save (buyerID, addressID, address)
413413
414414
415415
@@ -430,7 +430,7 @@ var addressID = "addressID_example"; // String | ID of the address.
430430
431431var address = new OrderCloud.Address (); // Address |
432432
433- apiInstance .save (buyerID, addressID, address).then (function (data ) {
433+ apiInstance .Save (buyerID, addressID, address).then (function (data ) {
434434 console .log (' API called successfully. Returned data: ' + data);
435435}, function (error ) {
436436 console .error (error);
@@ -461,9 +461,9 @@ Name | Type | Description | Notes
461461 - ** Content-Type** : application/json, text/plain; charset=utf-8
462462 - ** Accept** : application/json
463463
464- <a name =" saveAssignment " ></a >
465- # ** saveAssignment **
466- > saveAssignment (buyerID, addressAssignment)
464+ <a name =" SaveAssignment " ></a >
465+ # ** SaveAssignment **
466+ > SaveAssignment (buyerID, addressAssignment)
467467
468468
469469
@@ -482,7 +482,7 @@ var buyerID = "buyerID_example"; // String | ID of the buyer.
482482
483483var addressAssignment = new OrderCloud.AddressAssignment (); // AddressAssignment |
484484
485- apiInstance .saveAssignment (buyerID, addressAssignment).then (function () {
485+ apiInstance .SaveAssignment (buyerID, addressAssignment).then (function () {
486486 console .log (' API called successfully.' );
487487}, function (error ) {
488488 console .error (error);
0 commit comments