ultracart_api 4.1.179 → 4.1.180
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.
- checksums.yaml +4 -4
- data/README.md +9 -2
- data/docs/AutoOrderApi.md +54 -0
- data/docs/OrderApi.md +165 -0
- data/docs/OrderAssignRmaRequest.md +18 -0
- data/docs/OrderAutoOrderUpdateBillingUrlResponse.md +26 -0
- data/docs/SfvbBlogPostDetail.md +8 -2
- data/docs/SfvbBlogPostRequest.md +6 -0
- data/lib/ultracart_api/api/auto_order_api.rb +64 -0
- data/lib/ultracart_api/api/order_api.rb +209 -0
- data/lib/ultracart_api/models/order_assign_rma_request.rb +235 -0
- data/lib/ultracart_api/models/order_auto_order_update_billing_url_response.rb +257 -0
- data/lib/ultracart_api/models/sfvb_blog_post_detail.rb +33 -3
- data/lib/ultracart_api/models/sfvb_blog_post_request.rb +31 -1
- data/lib/ultracart_api/version.rb +1 -1
- data/lib/ultracart_api.rb +2 -0
- metadata +6 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4487eabe7a8df94f86f10d6069126892080a197bc997015975dbd927c0969a1e
|
|
4
|
+
data.tar.gz: '09fe31bea119b95c73c4217fbcbc7d6109fefade0176fbb532754baa654c8b0e'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d44eabdb8eb6d8aa1c3cf6ef3aee69292edf68f101cae3a96e8b08f035c9f76022118991fa2eea6a4856d161e231429b4801aa86d13d973e2d75a5775a1c976f
|
|
7
|
+
data.tar.gz: 6e0354f889b517f359221b8597401cc0e950b32722c3a91346659e93b5597f039771fc897283495a2ea22289a8ee2a09cc11ed251123100a0c28affaa933f752
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ Note: Every method has a sample for every language. See https://github.com/Ultr
|
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
8
8
|
|
|
9
9
|
- API version: 2.0.0
|
|
10
|
-
- Package version: 4.1.
|
|
10
|
+
- Package version: 4.1.180
|
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
12
12
|
- For more information, please visit [http://www.ultracart.com/api/](http://www.ultracart.com/api/)
|
|
13
13
|
|
|
@@ -16,7 +16,7 @@ This SDK is automatically generated by the [OpenAPI Generator](https://openapi-g
|
|
|
16
16
|
gemfile:
|
|
17
17
|
|
|
18
18
|
```shell
|
|
19
|
-
gem 'ultracart_api', '4.1.
|
|
19
|
+
gem 'ultracart_api', '4.1.180'
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
install:
|
|
@@ -99,6 +99,7 @@ Class | Method | HTTP request | Description
|
|
|
99
99
|
*UltracartClient::AutoOrderApi* | [**get_auto_order_by_reference_order_id**](docs/AutoOrderApi.md#get_auto_order_by_reference_order_id) | **GET** /auto_order/auto_orders/reference_order_id/{reference_order_id} | Retrieve an auto order by order id
|
|
100
100
|
*UltracartClient::AutoOrderApi* | [**get_auto_order_cancel_reasons**](docs/AutoOrderApi.md#get_auto_order_cancel_reasons) | **GET** /auto_order/auto_orders/cancel_reasons | Retrieve auto order cancel reasons.
|
|
101
101
|
*UltracartClient::AutoOrderApi* | [**get_auto_order_emails**](docs/AutoOrderApi.md#get_auto_order_emails) | **GET** /auto_order/auto_orders/{auto_order_oid}/emails | Retrieve email delivery information for this auto order.
|
|
102
|
+
*UltracartClient::AutoOrderApi* | [**get_auto_order_update_billing_url**](docs/AutoOrderApi.md#get_auto_order_update_billing_url) | **GET** /auto_order/auto_orders/{auto_order_oid}/update_billing_url | Generate an auto order update billing url
|
|
102
103
|
*UltracartClient::AutoOrderApi* | [**get_auto_orders**](docs/AutoOrderApi.md#get_auto_orders) | **GET** /auto_order/auto_orders | Retrieve auto orders
|
|
103
104
|
*UltracartClient::AutoOrderApi* | [**get_auto_orders_batch**](docs/AutoOrderApi.md#get_auto_orders_batch) | **POST** /auto_order/auto_orders/batch | Retrieve auto order batch
|
|
104
105
|
*UltracartClient::AutoOrderApi* | [**get_auto_orders_by_query**](docs/AutoOrderApi.md#get_auto_orders_by_query) | **POST** /auto_order/auto_orders/query | Retrieve auto orders by query
|
|
@@ -434,6 +435,7 @@ Class | Method | HTTP request | Description
|
|
|
434
435
|
*UltracartClient::OauthApi* | [**oauth_me**](docs/OauthApi.md#oauth_me) | **GET** /oauth/me | Identify the merchant account this access token belongs to.
|
|
435
436
|
*UltracartClient::OauthApi* | [**oauth_revoke**](docs/OauthApi.md#oauth_revoke) | **POST** /oauth/revoke | Revoke this OAuth application.
|
|
436
437
|
*UltracartClient::OrderApi* | [**adjust_order_total**](docs/OrderApi.md#adjust_order_total) | **POST** /order/orders/{order_id}/adjust_order_total/{desired_total} | Adjusts an order total
|
|
438
|
+
*UltracartClient::OrderApi* | [**assign_rma**](docs/OrderApi.md#assign_rma) | **POST** /order/orders/{order_id}/rma | Associates an RMA with an order
|
|
437
439
|
*UltracartClient::OrderApi* | [**assign_to_affiliate**](docs/OrderApi.md#assign_to_affiliate) | **POST** /order/orders/{order_id}/assignToAffiliate | Assigns an order to an affiliate
|
|
438
440
|
*UltracartClient::OrderApi* | [**block_refund_on_order**](docs/OrderApi.md#block_refund_on_order) | **GET** /order/orders/{order_id}/refund_block | Set a refund block on an order
|
|
439
441
|
*UltracartClient::OrderApi* | [**cancel_order**](docs/OrderApi.md#cancel_order) | **POST** /order/orders/{order_id}/cancel | Cancel an order
|
|
@@ -458,6 +460,8 @@ Class | Method | HTTP request | Description
|
|
|
458
460
|
*UltracartClient::OrderApi* | [**get_orders**](docs/OrderApi.md#get_orders) | **GET** /order/orders | Retrieve orders
|
|
459
461
|
*UltracartClient::OrderApi* | [**get_orders_batch**](docs/OrderApi.md#get_orders_batch) | **POST** /order/orders/batch | Retrieve order batch
|
|
460
462
|
*UltracartClient::OrderApi* | [**get_orders_by_query**](docs/OrderApi.md#get_orders_by_query) | **POST** /order/orders/query | Retrieve orders by query
|
|
463
|
+
*UltracartClient::OrderApi* | [**get_orders_by_rma**](docs/OrderApi.md#get_orders_by_rma) | **GET** /order/orders/rma/{rma} | Retrieve orders by RMA
|
|
464
|
+
*UltracartClient::OrderApi* | [**get_update_billing_url**](docs/OrderApi.md#get_update_billing_url) | **GET** /order/orders/{order_id}/auto_order_update_billing_url | Generate an auto order update billing url
|
|
461
465
|
*UltracartClient::OrderApi* | [**held_order_add_items_and_release**](docs/OrderApi.md#held_order_add_items_and_release) | **PUT** /order/orders/{order_id}/hold/add_items_and_release | Add items and release a held order
|
|
462
466
|
*UltracartClient::OrderApi* | [**held_order_release**](docs/OrderApi.md#held_order_release) | **PUT** /order/orders/{order_id}/hold/release | Release a held order
|
|
463
467
|
*UltracartClient::OrderApi* | [**insert_order**](docs/OrderApi.md#insert_order) | **POST** /order/orders | Insert an order
|
|
@@ -1626,8 +1630,10 @@ Class | Method | HTTP request | Description
|
|
|
1626
1630
|
- [UltracartClient::OrderAddItemsAndReleaseRequest](docs/OrderAddItemsAndReleaseRequest.md)
|
|
1627
1631
|
- [UltracartClient::OrderAffiliate](docs/OrderAffiliate.md)
|
|
1628
1632
|
- [UltracartClient::OrderAffiliateLedger](docs/OrderAffiliateLedger.md)
|
|
1633
|
+
- [UltracartClient::OrderAssignRmaRequest](docs/OrderAssignRmaRequest.md)
|
|
1629
1634
|
- [UltracartClient::OrderAssignToAffiliateRequest](docs/OrderAssignToAffiliateRequest.md)
|
|
1630
1635
|
- [UltracartClient::OrderAutoOrder](docs/OrderAutoOrder.md)
|
|
1636
|
+
- [UltracartClient::OrderAutoOrderUpdateBillingUrlResponse](docs/OrderAutoOrderUpdateBillingUrlResponse.md)
|
|
1631
1637
|
- [UltracartClient::OrderBilling](docs/OrderBilling.md)
|
|
1632
1638
|
- [UltracartClient::OrderBuysafe](docs/OrderBuysafe.md)
|
|
1633
1639
|
- [UltracartClient::OrderByTokenQuery](docs/OrderByTokenQuery.md)
|
|
@@ -2104,6 +2110,7 @@ Not every change is committed to every SDK.
|
|
|
2104
2110
|
|
|
2105
2111
|
| Version | Date | Comments |
|
|
2106
2112
|
| --: | :-: | --- |
|
|
2113
|
+
| 4.1.180 | 10/02/2026 | sfvb internal builder |
|
|
2107
2114
|
| 4.1.179 | 10/01/2026 | sfvb internal testing |
|
|
2108
2115
|
| 4.1.178 | 09/30/2026 | sfvb internal testing |
|
|
2109
2116
|
| 4.1.177 | 09/30/2026 | sfvb internal testing |
|
data/docs/AutoOrderApi.md
CHANGED
|
@@ -13,6 +13,7 @@ All URIs are relative to *https://secure.ultracart.com/rest/v2*
|
|
|
13
13
|
| [**get_auto_order_by_reference_order_id**](AutoOrderApi.md#get_auto_order_by_reference_order_id) | **GET** /auto_order/auto_orders/reference_order_id/{reference_order_id} | Retrieve an auto order by order id |
|
|
14
14
|
| [**get_auto_order_cancel_reasons**](AutoOrderApi.md#get_auto_order_cancel_reasons) | **GET** /auto_order/auto_orders/cancel_reasons | Retrieve auto order cancel reasons. |
|
|
15
15
|
| [**get_auto_order_emails**](AutoOrderApi.md#get_auto_order_emails) | **GET** /auto_order/auto_orders/{auto_order_oid}/emails | Retrieve email delivery information for this auto order. |
|
|
16
|
+
| [**get_auto_order_update_billing_url**](AutoOrderApi.md#get_auto_order_update_billing_url) | **GET** /auto_order/auto_orders/{auto_order_oid}/update_billing_url | Generate an auto order update billing url |
|
|
16
17
|
| [**get_auto_orders**](AutoOrderApi.md#get_auto_orders) | **GET** /auto_order/auto_orders | Retrieve auto orders |
|
|
17
18
|
| [**get_auto_orders_batch**](AutoOrderApi.md#get_auto_orders_batch) | **POST** /auto_order/auto_orders/batch | Retrieve auto order batch |
|
|
18
19
|
| [**get_auto_orders_by_query**](AutoOrderApi.md#get_auto_orders_by_query) | **POST** /auto_order/auto_orders/query | Retrieve auto orders by query |
|
|
@@ -763,6 +764,59 @@ end
|
|
|
763
764
|
- **Accept**: application/json
|
|
764
765
|
|
|
765
766
|
|
|
767
|
+
## get_auto_order_update_billing_url
|
|
768
|
+
|
|
769
|
+
> <OrderAutoOrderUpdateBillingUrlResponse> get_auto_order_update_billing_url(auto_order_oid)
|
|
770
|
+
|
|
771
|
+
Generate an auto order update billing url
|
|
772
|
+
|
|
773
|
+
Generates the url a customer can use to update the billing information on this auto order. This is the same url sent in the auto order update billing email.
|
|
774
|
+
|
|
775
|
+
|
|
776
|
+
### Examples
|
|
777
|
+
|
|
778
|
+
|
|
779
|
+
(No example for this operation).
|
|
780
|
+
|
|
781
|
+
|
|
782
|
+
#### Using the get_auto_order_update_billing_url_with_http_info variant
|
|
783
|
+
|
|
784
|
+
This returns an Array which contains the response data, status code and headers.
|
|
785
|
+
|
|
786
|
+
> <Array(<OrderAutoOrderUpdateBillingUrlResponse>, Integer, Hash)> get_auto_order_update_billing_url_with_http_info(auto_order_oid)
|
|
787
|
+
|
|
788
|
+
```ruby
|
|
789
|
+
begin
|
|
790
|
+
# Generate an auto order update billing url
|
|
791
|
+
data, status_code, headers = api_instance.get_auto_order_update_billing_url_with_http_info(auto_order_oid)
|
|
792
|
+
p status_code # => 2xx
|
|
793
|
+
p headers # => { ... }
|
|
794
|
+
p data # => <OrderAutoOrderUpdateBillingUrlResponse>
|
|
795
|
+
rescue UltracartClient::ApiError => e
|
|
796
|
+
puts "Error when calling AutoOrderApi->get_auto_order_update_billing_url_with_http_info: #{e}"
|
|
797
|
+
end
|
|
798
|
+
```
|
|
799
|
+
|
|
800
|
+
### Parameters
|
|
801
|
+
|
|
802
|
+
| Name | Type | Description | Notes |
|
|
803
|
+
| ---- | ---- | ----------- | ----- |
|
|
804
|
+
| **auto_order_oid** | **Integer** | The auto order oid to generate the update billing url for. | |
|
|
805
|
+
|
|
806
|
+
### Return type
|
|
807
|
+
|
|
808
|
+
[**OrderAutoOrderUpdateBillingUrlResponse**](OrderAutoOrderUpdateBillingUrlResponse.md)
|
|
809
|
+
|
|
810
|
+
### Authorization
|
|
811
|
+
|
|
812
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
|
813
|
+
|
|
814
|
+
### HTTP request headers
|
|
815
|
+
|
|
816
|
+
- **Content-Type**: Not defined
|
|
817
|
+
- **Accept**: application/json
|
|
818
|
+
|
|
819
|
+
|
|
766
820
|
## get_auto_orders
|
|
767
821
|
|
|
768
822
|
> <AutoOrdersResponse> get_auto_orders(opts)
|
data/docs/OrderApi.md
CHANGED
|
@@ -5,6 +5,7 @@ All URIs are relative to *https://secure.ultracart.com/rest/v2*
|
|
|
5
5
|
| Method | HTTP request | Description |
|
|
6
6
|
| ------ | ------------ | ----------- |
|
|
7
7
|
| [**adjust_order_total**](OrderApi.md#adjust_order_total) | **POST** /order/orders/{order_id}/adjust_order_total/{desired_total} | Adjusts an order total |
|
|
8
|
+
| [**assign_rma**](OrderApi.md#assign_rma) | **POST** /order/orders/{order_id}/rma | Associates an RMA with an order |
|
|
8
9
|
| [**assign_to_affiliate**](OrderApi.md#assign_to_affiliate) | **POST** /order/orders/{order_id}/assignToAffiliate | Assigns an order to an affiliate |
|
|
9
10
|
| [**block_refund_on_order**](OrderApi.md#block_refund_on_order) | **GET** /order/orders/{order_id}/refund_block | Set a refund block on an order |
|
|
10
11
|
| [**cancel_order**](OrderApi.md#cancel_order) | **POST** /order/orders/{order_id}/cancel | Cancel an order |
|
|
@@ -29,6 +30,8 @@ All URIs are relative to *https://secure.ultracart.com/rest/v2*
|
|
|
29
30
|
| [**get_orders**](OrderApi.md#get_orders) | **GET** /order/orders | Retrieve orders |
|
|
30
31
|
| [**get_orders_batch**](OrderApi.md#get_orders_batch) | **POST** /order/orders/batch | Retrieve order batch |
|
|
31
32
|
| [**get_orders_by_query**](OrderApi.md#get_orders_by_query) | **POST** /order/orders/query | Retrieve orders by query |
|
|
33
|
+
| [**get_orders_by_rma**](OrderApi.md#get_orders_by_rma) | **GET** /order/orders/rma/{rma} | Retrieve orders by RMA |
|
|
34
|
+
| [**get_update_billing_url**](OrderApi.md#get_update_billing_url) | **GET** /order/orders/{order_id}/auto_order_update_billing_url | Generate an auto order update billing url |
|
|
32
35
|
| [**held_order_add_items_and_release**](OrderApi.md#held_order_add_items_and_release) | **PUT** /order/orders/{order_id}/hold/add_items_and_release | Add items and release a held order |
|
|
33
36
|
| [**held_order_release**](OrderApi.md#held_order_release) | **PUT** /order/orders/{order_id}/hold/release | Release a held order |
|
|
34
37
|
| [**insert_order**](OrderApi.md#insert_order) | **POST** /order/orders | Insert an order |
|
|
@@ -125,6 +128,61 @@ end
|
|
|
125
128
|
- **Accept**: application/json
|
|
126
129
|
|
|
127
130
|
|
|
131
|
+
## assign_rma
|
|
132
|
+
|
|
133
|
+
> <OrderResponse> assign_rma(order_id, assign_rma_request, opts)
|
|
134
|
+
|
|
135
|
+
Associates an RMA with an order
|
|
136
|
+
|
|
137
|
+
Associates an RMA number with an order. Any existing RMA on the order is replaced.
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
### Examples
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
(No example for this operation).
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
#### Using the assign_rma_with_http_info variant
|
|
147
|
+
|
|
148
|
+
This returns an Array which contains the response data, status code and headers.
|
|
149
|
+
|
|
150
|
+
> <Array(<OrderResponse>, Integer, Hash)> assign_rma_with_http_info(order_id, assign_rma_request, opts)
|
|
151
|
+
|
|
152
|
+
```ruby
|
|
153
|
+
begin
|
|
154
|
+
# Associates an RMA with an order
|
|
155
|
+
data, status_code, headers = api_instance.assign_rma_with_http_info(order_id, assign_rma_request, opts)
|
|
156
|
+
p status_code # => 2xx
|
|
157
|
+
p headers # => { ... }
|
|
158
|
+
p data # => <OrderResponse>
|
|
159
|
+
rescue UltracartClient::ApiError => e
|
|
160
|
+
puts "Error when calling OrderApi->assign_rma_with_http_info: #{e}"
|
|
161
|
+
end
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
### Parameters
|
|
165
|
+
|
|
166
|
+
| Name | Type | Description | Notes |
|
|
167
|
+
| ---- | ---- | ----------- | ----- |
|
|
168
|
+
| **order_id** | **String** | The order id to associate the RMA with. | |
|
|
169
|
+
| **assign_rma_request** | [**OrderAssignRmaRequest**](OrderAssignRmaRequest.md) | Assign RMA request | |
|
|
170
|
+
| **_expand** | **String** | The object expansion to perform on the result. See documentation for examples | [optional] |
|
|
171
|
+
|
|
172
|
+
### Return type
|
|
173
|
+
|
|
174
|
+
[**OrderResponse**](OrderResponse.md)
|
|
175
|
+
|
|
176
|
+
### Authorization
|
|
177
|
+
|
|
178
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
|
179
|
+
|
|
180
|
+
### HTTP request headers
|
|
181
|
+
|
|
182
|
+
- **Content-Type**: application/json
|
|
183
|
+
- **Accept**: application/json
|
|
184
|
+
|
|
185
|
+
|
|
128
186
|
## assign_to_affiliate
|
|
129
187
|
|
|
130
188
|
> <OrderResponse> assign_to_affiliate(order_id, assign_to_affiliate_request, opts)
|
|
@@ -2188,6 +2246,113 @@ end
|
|
|
2188
2246
|
- **Accept**: application/json
|
|
2189
2247
|
|
|
2190
2248
|
|
|
2249
|
+
## get_orders_by_rma
|
|
2250
|
+
|
|
2251
|
+
> <OrdersResponse> get_orders_by_rma(rma, opts)
|
|
2252
|
+
|
|
2253
|
+
Retrieve orders by RMA
|
|
2254
|
+
|
|
2255
|
+
Retrieves the orders associated with the specified RMA number. The RMA must be an exact value; wildcards are not permitted.
|
|
2256
|
+
|
|
2257
|
+
|
|
2258
|
+
### Examples
|
|
2259
|
+
|
|
2260
|
+
|
|
2261
|
+
(No example for this operation).
|
|
2262
|
+
|
|
2263
|
+
|
|
2264
|
+
#### Using the get_orders_by_rma_with_http_info variant
|
|
2265
|
+
|
|
2266
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2267
|
+
|
|
2268
|
+
> <Array(<OrdersResponse>, Integer, Hash)> get_orders_by_rma_with_http_info(rma, opts)
|
|
2269
|
+
|
|
2270
|
+
```ruby
|
|
2271
|
+
begin
|
|
2272
|
+
# Retrieve orders by RMA
|
|
2273
|
+
data, status_code, headers = api_instance.get_orders_by_rma_with_http_info(rma, opts)
|
|
2274
|
+
p status_code # => 2xx
|
|
2275
|
+
p headers # => { ... }
|
|
2276
|
+
p data # => <OrdersResponse>
|
|
2277
|
+
rescue UltracartClient::ApiError => e
|
|
2278
|
+
puts "Error when calling OrderApi->get_orders_by_rma_with_http_info: #{e}"
|
|
2279
|
+
end
|
|
2280
|
+
```
|
|
2281
|
+
|
|
2282
|
+
### Parameters
|
|
2283
|
+
|
|
2284
|
+
| Name | Type | Description | Notes |
|
|
2285
|
+
| ---- | ---- | ----------- | ----- |
|
|
2286
|
+
| **rma** | **String** | The RMA number to search for. | |
|
|
2287
|
+
| **_expand** | **String** | The object expansion to perform on the result. See documentation for examples | [optional] |
|
|
2288
|
+
|
|
2289
|
+
### Return type
|
|
2290
|
+
|
|
2291
|
+
[**OrdersResponse**](OrdersResponse.md)
|
|
2292
|
+
|
|
2293
|
+
### Authorization
|
|
2294
|
+
|
|
2295
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
|
2296
|
+
|
|
2297
|
+
### HTTP request headers
|
|
2298
|
+
|
|
2299
|
+
- **Content-Type**: Not defined
|
|
2300
|
+
- **Accept**: application/json
|
|
2301
|
+
|
|
2302
|
+
|
|
2303
|
+
## get_update_billing_url
|
|
2304
|
+
|
|
2305
|
+
> <OrderAutoOrderUpdateBillingUrlResponse> get_update_billing_url(order_id)
|
|
2306
|
+
|
|
2307
|
+
Generate an auto order update billing url
|
|
2308
|
+
|
|
2309
|
+
Generates the url a customer can use to update the billing information on the auto order associated with this order. This is the same url sent in the auto order update billing email.
|
|
2310
|
+
|
|
2311
|
+
|
|
2312
|
+
### Examples
|
|
2313
|
+
|
|
2314
|
+
|
|
2315
|
+
(No example for this operation).
|
|
2316
|
+
|
|
2317
|
+
|
|
2318
|
+
#### Using the get_update_billing_url_with_http_info variant
|
|
2319
|
+
|
|
2320
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2321
|
+
|
|
2322
|
+
> <Array(<OrderAutoOrderUpdateBillingUrlResponse>, Integer, Hash)> get_update_billing_url_with_http_info(order_id)
|
|
2323
|
+
|
|
2324
|
+
```ruby
|
|
2325
|
+
begin
|
|
2326
|
+
# Generate an auto order update billing url
|
|
2327
|
+
data, status_code, headers = api_instance.get_update_billing_url_with_http_info(order_id)
|
|
2328
|
+
p status_code # => 2xx
|
|
2329
|
+
p headers # => { ... }
|
|
2330
|
+
p data # => <OrderAutoOrderUpdateBillingUrlResponse>
|
|
2331
|
+
rescue UltracartClient::ApiError => e
|
|
2332
|
+
puts "Error when calling OrderApi->get_update_billing_url_with_http_info: #{e}"
|
|
2333
|
+
end
|
|
2334
|
+
```
|
|
2335
|
+
|
|
2336
|
+
### Parameters
|
|
2337
|
+
|
|
2338
|
+
| Name | Type | Description | Notes |
|
|
2339
|
+
| ---- | ---- | ----------- | ----- |
|
|
2340
|
+
| **order_id** | **String** | The order id to generate the update billing url for. | |
|
|
2341
|
+
|
|
2342
|
+
### Return type
|
|
2343
|
+
|
|
2344
|
+
[**OrderAutoOrderUpdateBillingUrlResponse**](OrderAutoOrderUpdateBillingUrlResponse.md)
|
|
2345
|
+
|
|
2346
|
+
### Authorization
|
|
2347
|
+
|
|
2348
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
|
2349
|
+
|
|
2350
|
+
### HTTP request headers
|
|
2351
|
+
|
|
2352
|
+
- **Content-Type**: Not defined
|
|
2353
|
+
- **Accept**: application/json
|
|
2354
|
+
|
|
2355
|
+
|
|
2191
2356
|
## held_order_add_items_and_release
|
|
2192
2357
|
|
|
2193
2358
|
> <OrderResponse> held_order_add_items_and_release(order_id, add_items_and_release_request, opts)
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# UltracartClient::OrderAssignRmaRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **rma** | **String** | RMA number to associate with the order | [optional] |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'ultracart_api'
|
|
13
|
+
|
|
14
|
+
instance = UltracartClient::OrderAssignRmaRequest.new(
|
|
15
|
+
rma: null
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# UltracartClient::OrderAutoOrderUpdateBillingUrlResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **error** | [**Error**](Error.md) | | [optional] |
|
|
8
|
+
| **metadata** | [**ResponseMetadata**](ResponseMetadata.md) | | [optional] |
|
|
9
|
+
| **success** | **Boolean** | Indicates if API call was successful | [optional] |
|
|
10
|
+
| **update_billing_url** | **String** | The url the customer can use to update the billing information on their auto order | [optional] |
|
|
11
|
+
| **warning** | [**Warning**](Warning.md) | | [optional] |
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```ruby
|
|
16
|
+
require 'ultracart_api'
|
|
17
|
+
|
|
18
|
+
instance = UltracartClient::OrderAutoOrderUpdateBillingUrlResponse.new(
|
|
19
|
+
error: null,
|
|
20
|
+
metadata: null,
|
|
21
|
+
success: null,
|
|
22
|
+
update_billing_url: null,
|
|
23
|
+
warning: null
|
|
24
|
+
)
|
|
25
|
+
```
|
|
26
|
+
|
data/docs/SfvbBlogPostDetail.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **allow_comments** | **Boolean** | Whether shoppers may comment. | [optional] |
|
|
7
|
+
| **allow_comments** | **Boolean** | Whether shoppers may comment. Like every false value here, false is left out of the response. | [optional] |
|
|
8
8
|
| **author** | **String** | The post author. | [optional] |
|
|
9
9
|
| **blog_post_oid** | **Integer** | The blog post's oid. This is what a page's blog post assignment names. | [optional] |
|
|
10
10
|
| **body** | **String** | The post body as HTML, exactly as stored. | [optional] |
|
|
@@ -13,7 +13,10 @@
|
|
|
13
13
|
| **images** | [**Array<SfvbBlogPostImage>**](SfvbBlogPostImage.md) | The post's images, the default image first. | [optional] |
|
|
14
14
|
| **last_modified_dts** | **String** | When the post was last changed (ISO 8601, UTC), or null if it never was. | [optional] |
|
|
15
15
|
| **publication_dts** | **String** | When the post is published (ISO 8601, UTC), or null for a draft. | [optional] |
|
|
16
|
-
| **
|
|
16
|
+
| **seo_description** | **String** | The meta description (storefrontSEODescription). Absent when not set. | [optional] |
|
|
17
|
+
| **seo_keywords** | **String** | The meta keywords (storefrontSEOKeywords). Absent when not set. | [optional] |
|
|
18
|
+
| **seo_title** | **String** | The page head title (storefrontSEOTitle). Absent when not set, and the head then uses the post title. | [optional] |
|
|
19
|
+
| **tags** | **Array<String>** | The post's tags, in alphabetical order. The order they were sent in is not kept. | [optional] |
|
|
17
20
|
| **title** | **String** | The post title. | [optional] |
|
|
18
21
|
| **unassigned** | **Boolean** | True when no page shows this post yet. | [optional] |
|
|
19
22
|
| **url_part** | **String** | The post's name in its URL. | [optional] |
|
|
@@ -35,6 +38,9 @@ instance = UltracartClient::SfvbBlogPostDetail.new(
|
|
|
35
38
|
images: null,
|
|
36
39
|
last_modified_dts: null,
|
|
37
40
|
publication_dts: null,
|
|
41
|
+
seo_description: null,
|
|
42
|
+
seo_keywords: null,
|
|
43
|
+
seo_title: null,
|
|
38
44
|
tags: null,
|
|
39
45
|
title: null,
|
|
40
46
|
unassigned: null,
|
data/docs/SfvbBlogPostRequest.md
CHANGED
|
@@ -9,6 +9,9 @@
|
|
|
9
9
|
| **body** | **String** | The post body as HTML, up to 1 MB, rendered exactly as stored. Refused with sfvb.unsafe_html if it could run script - script and other executable tags, on attributes, links that are not http, https, mailto, tel or relative, and iframes other than YouTube or Vimeo players. Reference an attached image by the url the post's images report. | [optional] |
|
|
10
10
|
| **excerpt** | **String** | The post excerpt as HTML, up to 256 KB. Held to the same rule as body. | [optional] |
|
|
11
11
|
| **publication_dts** | **String** | When the post is published, as an ISO 8601 UTC time in the same form publication_dts reads back. Refused on a draft. A post made public without one is published now. | [optional] |
|
|
12
|
+
| **seo_description** | **String** | The meta description (storefrontSEODescription), the search result snippet. Plain text with no angle brackets or double quotes, up to 1000 characters. Left out, it is unchanged; an empty string clears it, and the head falls back to the site's description. | [optional] |
|
|
13
|
+
| **seo_keywords** | **String** | The meta keywords (storefrontSEOKeywords). Plain text with no angle brackets or double quotes, up to 1000 characters. Left out, it is unchanged; an empty string clears it, and the head falls back to the site's keywords. | [optional] |
|
|
14
|
+
| **seo_title** | **String** | The page head title (storefrontSEOTitle), used in place of the post title in the browser tab and search results. Plain text with no angle brackets or double quotes, up to 1000 characters. Left out, it is unchanged; an empty string clears it, and the head falls back to the post title. | [optional] |
|
|
12
15
|
| **tags** | **Array<String>** | The post's tags as plain text, up to 100 characters each, with no quotes or angle brackets and no repeats. On an update the list replaces every tag, and an empty list clears them. | [optional] |
|
|
13
16
|
| **title** | **String** | The post title, up to 1000 characters. Required on create. | [optional] |
|
|
14
17
|
| **url_part** | **String** | The post's name in its URL, which is the page path followed by this and .html. Letters, digits, hyphens and underscores, up to 150. Must not be used by another post on the storefront, compared without regard to case, and must not be an item id or an item's url part, because the storefront checks blog posts first and the post would replace the item's page. index and index-N are reserved. Required on create. | [optional] |
|
|
@@ -25,6 +28,9 @@ instance = UltracartClient::SfvbBlogPostRequest.new(
|
|
|
25
28
|
body: null,
|
|
26
29
|
excerpt: null,
|
|
27
30
|
publication_dts: null,
|
|
31
|
+
seo_description: null,
|
|
32
|
+
seo_keywords: null,
|
|
33
|
+
seo_title: null,
|
|
28
34
|
tags: null,
|
|
29
35
|
title: null,
|
|
30
36
|
url_part: null,
|
|
@@ -647,6 +647,70 @@ module UltracartClient
|
|
|
647
647
|
return data, status_code, headers
|
|
648
648
|
end
|
|
649
649
|
|
|
650
|
+
# Generate an auto order update billing url
|
|
651
|
+
# Generates the url a customer can use to update the billing information on this auto order. This is the same url sent in the auto order update billing email.
|
|
652
|
+
# @param auto_order_oid [Integer] The auto order oid to generate the update billing url for.
|
|
653
|
+
# @param [Hash] opts the optional parameters
|
|
654
|
+
# @return [OrderAutoOrderUpdateBillingUrlResponse]
|
|
655
|
+
def get_auto_order_update_billing_url(auto_order_oid, opts = {})
|
|
656
|
+
data, _status_code, _headers = get_auto_order_update_billing_url_with_http_info(auto_order_oid, opts)
|
|
657
|
+
data
|
|
658
|
+
end
|
|
659
|
+
|
|
660
|
+
# Generate an auto order update billing url
|
|
661
|
+
# Generates the url a customer can use to update the billing information on this auto order. This is the same url sent in the auto order update billing email.
|
|
662
|
+
# @param auto_order_oid [Integer] The auto order oid to generate the update billing url for.
|
|
663
|
+
# @param [Hash] opts the optional parameters
|
|
664
|
+
# @return [Array<(OrderAutoOrderUpdateBillingUrlResponse, Integer, Hash)>] OrderAutoOrderUpdateBillingUrlResponse data, response status code and response headers
|
|
665
|
+
def get_auto_order_update_billing_url_with_http_info(auto_order_oid, opts = {})
|
|
666
|
+
if @api_client.config.debugging
|
|
667
|
+
@api_client.config.logger.debug 'Calling API: AutoOrderApi.get_auto_order_update_billing_url ...'
|
|
668
|
+
end
|
|
669
|
+
# verify the required parameter 'auto_order_oid' is set
|
|
670
|
+
if @api_client.config.client_side_validation && auto_order_oid.nil?
|
|
671
|
+
fail ArgumentError, "Missing the required parameter 'auto_order_oid' when calling AutoOrderApi.get_auto_order_update_billing_url"
|
|
672
|
+
end
|
|
673
|
+
# resource path
|
|
674
|
+
local_var_path = '/auto_order/auto_orders/{auto_order_oid}/update_billing_url'.sub('{' + 'auto_order_oid' + '}', CGI.escape(auto_order_oid.to_s))
|
|
675
|
+
|
|
676
|
+
# query parameters
|
|
677
|
+
query_params = opts[:query_params] || {}
|
|
678
|
+
|
|
679
|
+
# header parameters
|
|
680
|
+
header_params = opts[:header_params] || {}
|
|
681
|
+
header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
|
|
682
|
+
# HTTP header 'Accept' (if needed)
|
|
683
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
684
|
+
|
|
685
|
+
# form parameters
|
|
686
|
+
form_params = opts[:form_params] || {}
|
|
687
|
+
|
|
688
|
+
# http body (model)
|
|
689
|
+
post_body = opts[:debug_body]
|
|
690
|
+
|
|
691
|
+
# return_type
|
|
692
|
+
return_type = opts[:debug_return_type] || 'OrderAutoOrderUpdateBillingUrlResponse'
|
|
693
|
+
|
|
694
|
+
# auth_names
|
|
695
|
+
auth_names = opts[:debug_auth_names] || ['ultraCartOauth', 'ultraCartSimpleApiKey']
|
|
696
|
+
|
|
697
|
+
new_options = opts.merge(
|
|
698
|
+
:operation => :"AutoOrderApi.get_auto_order_update_billing_url",
|
|
699
|
+
:header_params => header_params,
|
|
700
|
+
:query_params => query_params,
|
|
701
|
+
:form_params => form_params,
|
|
702
|
+
:body => post_body,
|
|
703
|
+
:auth_names => auth_names,
|
|
704
|
+
:return_type => return_type
|
|
705
|
+
)
|
|
706
|
+
|
|
707
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
708
|
+
if @api_client.config.debugging
|
|
709
|
+
@api_client.config.logger.debug "API called: AutoOrderApi#get_auto_order_update_billing_url\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
710
|
+
end
|
|
711
|
+
return data, status_code, headers
|
|
712
|
+
end
|
|
713
|
+
|
|
650
714
|
# Retrieve auto orders
|
|
651
715
|
# Retrieves auto orders from the account. If no parameters are specified, all auto orders will be returned. You will need to make multiple API calls in order to retrieve the entire result set since this API performs result set pagination.
|
|
652
716
|
# @param [Hash] opts the optional parameters
|