ultracart_api 4.1.163 → 4.1.166

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.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +201 -201
  3. data/README.md +611 -602
  4. data/docs/AffiliateApi.md +455 -455
  5. data/docs/AutoOrderApi.md +1694 -1694
  6. data/docs/BulkApi.md +335 -335
  7. data/docs/ChannelPartnerApi.md +1678 -1678
  8. data/docs/CheckoutApi.md +1622 -1622
  9. data/docs/ConversationApi.md +7867 -7867
  10. data/docs/ConversationEmbedApi.md +226 -226
  11. data/docs/CouponApi.md +1522 -1522
  12. data/docs/CustomerApi.md +2849 -2849
  13. data/docs/DatawarehouseApi.md +1637 -1637
  14. data/docs/EmailCommseqEmailReviewStatus.md +32 -0
  15. data/docs/EmailCommseqEmailReviewStatusResponse.md +26 -0
  16. data/docs/EmailCommseqEmailReviewStatusesRequest.md +18 -0
  17. data/docs/EmailCommseqEmailReviewStatusesResponse.md +26 -0
  18. data/docs/FraudApi.md +332 -332
  19. data/docs/FulfillmentApi.md +567 -567
  20. data/docs/GiftCertificateApi.md +617 -617
  21. data/docs/IntegrationLogApi.md +290 -290
  22. data/docs/ItemApi.md +2502 -2502
  23. data/docs/OauthApi.md +311 -311
  24. data/docs/OrderApi.md +3396 -3396
  25. data/docs/SfvbApi.md +3883 -3883
  26. data/docs/SsoApi.md +223 -223
  27. data/docs/StorefrontApi.md +10143 -10035
  28. data/docs/TaxApi.md +1699 -1699
  29. data/docs/UserApi.md +606 -606
  30. data/docs/WebhookApi.md +840 -840
  31. data/docs/WorkflowApi.md +666 -666
  32. data/lib/ultracart_api/api/storefront_api.rb +143 -0
  33. data/lib/ultracart_api/models/email_commseq_email_review_status.rb +324 -0
  34. data/lib/ultracart_api/models/email_commseq_email_review_status_response.rb +256 -0
  35. data/lib/ultracart_api/models/email_commseq_email_review_statuses_request.rb +222 -0
  36. data/lib/ultracart_api/models/email_commseq_email_review_statuses_response.rb +258 -0
  37. data/lib/ultracart_api/version.rb +1 -1
  38. data/lib/ultracart_api.rb +4 -0
  39. metadata +11 -3
data/docs/SsoApi.md CHANGED
@@ -1,223 +1,223 @@
1
- # UltracartClient::SsoApi
2
-
3
- All URIs are relative to *https://secure.ultracart.com/rest/v2*
4
-
5
- | Method | HTTP request | Description |
6
- | ------ | ------------ | ----------- |
7
- | [**get_sso_session_user**](SsoApi.md#get_sso_session_user) | **GET** /sso/session/user | Get single sign on session user |
8
- | [**sso_authorize**](SsoApi.md#sso_authorize) | **PUT** /sso/authorize | Authorize a single sign on session |
9
- | [**sso_session_revoke**](SsoApi.md#sso_session_revoke) | **DELETE** /sso/session/revoke | Revoke single sign on session |
10
- | [**sso_token**](SsoApi.md#sso_token) | **PUT** /sso/token | Exchange a single sign on code for a simple key token |
11
-
12
-
13
- ## get_sso_session_user
14
-
15
- > <User> get_sso_session_user
16
-
17
- Get single sign on session user
18
-
19
- This is the equivalent of logging out of the single sign on session
20
-
21
-
22
- ### Examples
23
-
24
- ```ruby
25
- # Internal API. No samples are provided as merchants will never need this api method
26
- ```
27
-
28
-
29
- #### Using the get_sso_session_user_with_http_info variant
30
-
31
- This returns an Array which contains the response data, status code and headers.
32
-
33
- > <Array(<User>, Integer, Hash)> get_sso_session_user_with_http_info
34
-
35
- ```ruby
36
- begin
37
- # Get single sign on session user
38
- data, status_code, headers = api_instance.get_sso_session_user_with_http_info
39
- p status_code # => 2xx
40
- p headers # => { ... }
41
- p data # => <User>
42
- rescue UltracartClient::ApiError => e
43
- puts "Error when calling SsoApi->get_sso_session_user_with_http_info: #{e}"
44
- end
45
- ```
46
-
47
- ### Parameters
48
-
49
- This endpoint does not need any parameter.
50
-
51
- ### Return type
52
-
53
- [**User**](User.md)
54
-
55
- ### Authorization
56
-
57
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
58
-
59
- ### HTTP request headers
60
-
61
- - **Content-Type**: Not defined
62
- - **Accept**: application/json
63
-
64
-
65
- ## sso_authorize
66
-
67
- > <SingleSignOnAuthorizeResponse> sso_authorize(authorization_request)
68
-
69
- Authorize a single sign on session
70
-
71
- Starts the process of authorizing a single sign on session.
72
-
73
-
74
- ### Examples
75
-
76
- ```ruby
77
- # Internal API. No samples are provided as merchants will never need this api method
78
- ```
79
-
80
-
81
- #### Using the sso_authorize_with_http_info variant
82
-
83
- This returns an Array which contains the response data, status code and headers.
84
-
85
- > <Array(<SingleSignOnAuthorizeResponse>, Integer, Hash)> sso_authorize_with_http_info(authorization_request)
86
-
87
- ```ruby
88
- begin
89
- # Authorize a single sign on session
90
- data, status_code, headers = api_instance.sso_authorize_with_http_info(authorization_request)
91
- p status_code # => 2xx
92
- p headers # => { ... }
93
- p data # => <SingleSignOnAuthorizeResponse>
94
- rescue UltracartClient::ApiError => e
95
- puts "Error when calling SsoApi->sso_authorize_with_http_info: #{e}"
96
- end
97
- ```
98
-
99
- ### Parameters
100
-
101
- | Name | Type | Description | Notes |
102
- | ---- | ---- | ----------- | ----- |
103
- | **authorization_request** | [**SingleSignOnAuthorizeRequest**](SingleSignOnAuthorizeRequest.md) | Authorization request | |
104
-
105
- ### Return type
106
-
107
- [**SingleSignOnAuthorizeResponse**](SingleSignOnAuthorizeResponse.md)
108
-
109
- ### Authorization
110
-
111
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
112
-
113
- ### HTTP request headers
114
-
115
- - **Content-Type**: application/json; charset=UTF-8
116
- - **Accept**: application/json
117
-
118
-
119
- ## sso_session_revoke
120
-
121
- > sso_session_revoke
122
-
123
- Revoke single sign on session
124
-
125
- This is the equivalent of logging out of the single sign on session
126
-
127
-
128
- ### Examples
129
-
130
- ```ruby
131
- # Internal API. No samples are provided as merchants will never need this api method
132
- ```
133
-
134
-
135
- #### Using the sso_session_revoke_with_http_info variant
136
-
137
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
138
-
139
- > <Array(nil, Integer, Hash)> sso_session_revoke_with_http_info
140
-
141
- ```ruby
142
- begin
143
- # Revoke single sign on session
144
- data, status_code, headers = api_instance.sso_session_revoke_with_http_info
145
- p status_code # => 2xx
146
- p headers # => { ... }
147
- p data # => nil
148
- rescue UltracartClient::ApiError => e
149
- puts "Error when calling SsoApi->sso_session_revoke_with_http_info: #{e}"
150
- end
151
- ```
152
-
153
- ### Parameters
154
-
155
- This endpoint does not need any parameter.
156
-
157
- ### Return type
158
-
159
- nil (empty response body)
160
-
161
- ### Authorization
162
-
163
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
164
-
165
- ### HTTP request headers
166
-
167
- - **Content-Type**: Not defined
168
- - **Accept**: application/json
169
-
170
-
171
- ## sso_token
172
-
173
- > <SingleSignOnTokenResponse> sso_token(token_request)
174
-
175
- Exchange a single sign on code for a simple key token
176
-
177
- Called by your application after receiving the code back on the redirect URI to obtain a simple key token to make API calls with
178
-
179
-
180
- ### Examples
181
-
182
- ```ruby
183
- # Internal API. No samples are provided as merchants will never need this api method
184
- ```
185
-
186
-
187
- #### Using the sso_token_with_http_info variant
188
-
189
- This returns an Array which contains the response data, status code and headers.
190
-
191
- > <Array(<SingleSignOnTokenResponse>, Integer, Hash)> sso_token_with_http_info(token_request)
192
-
193
- ```ruby
194
- begin
195
- # Exchange a single sign on code for a simple key token
196
- data, status_code, headers = api_instance.sso_token_with_http_info(token_request)
197
- p status_code # => 2xx
198
- p headers # => { ... }
199
- p data # => <SingleSignOnTokenResponse>
200
- rescue UltracartClient::ApiError => e
201
- puts "Error when calling SsoApi->sso_token_with_http_info: #{e}"
202
- end
203
- ```
204
-
205
- ### Parameters
206
-
207
- | Name | Type | Description | Notes |
208
- | ---- | ---- | ----------- | ----- |
209
- | **token_request** | [**SingleSignOnTokenRequest**](SingleSignOnTokenRequest.md) | Token request | |
210
-
211
- ### Return type
212
-
213
- [**SingleSignOnTokenResponse**](SingleSignOnTokenResponse.md)
214
-
215
- ### Authorization
216
-
217
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
218
-
219
- ### HTTP request headers
220
-
221
- - **Content-Type**: application/json; charset=UTF-8
222
- - **Accept**: application/json
223
-
1
+ # UltracartClient::SsoApi
2
+
3
+ All URIs are relative to *https://secure.ultracart.com/rest/v2*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**get_sso_session_user**](SsoApi.md#get_sso_session_user) | **GET** /sso/session/user | Get single sign on session user |
8
+ | [**sso_authorize**](SsoApi.md#sso_authorize) | **PUT** /sso/authorize | Authorize a single sign on session |
9
+ | [**sso_session_revoke**](SsoApi.md#sso_session_revoke) | **DELETE** /sso/session/revoke | Revoke single sign on session |
10
+ | [**sso_token**](SsoApi.md#sso_token) | **PUT** /sso/token | Exchange a single sign on code for a simple key token |
11
+
12
+
13
+ ## get_sso_session_user
14
+
15
+ > <User> get_sso_session_user
16
+
17
+ Get single sign on session user
18
+
19
+ This is the equivalent of logging out of the single sign on session
20
+
21
+
22
+ ### Examples
23
+
24
+ ```ruby
25
+ # Internal API. No samples are provided as merchants will never need this api method
26
+ ```
27
+
28
+
29
+ #### Using the get_sso_session_user_with_http_info variant
30
+
31
+ This returns an Array which contains the response data, status code and headers.
32
+
33
+ > <Array(<User>, Integer, Hash)> get_sso_session_user_with_http_info
34
+
35
+ ```ruby
36
+ begin
37
+ # Get single sign on session user
38
+ data, status_code, headers = api_instance.get_sso_session_user_with_http_info
39
+ p status_code # => 2xx
40
+ p headers # => { ... }
41
+ p data # => <User>
42
+ rescue UltracartClient::ApiError => e
43
+ puts "Error when calling SsoApi->get_sso_session_user_with_http_info: #{e}"
44
+ end
45
+ ```
46
+
47
+ ### Parameters
48
+
49
+ This endpoint does not need any parameter.
50
+
51
+ ### Return type
52
+
53
+ [**User**](User.md)
54
+
55
+ ### Authorization
56
+
57
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
58
+
59
+ ### HTTP request headers
60
+
61
+ - **Content-Type**: Not defined
62
+ - **Accept**: application/json
63
+
64
+
65
+ ## sso_authorize
66
+
67
+ > <SingleSignOnAuthorizeResponse> sso_authorize(authorization_request)
68
+
69
+ Authorize a single sign on session
70
+
71
+ Starts the process of authorizing a single sign on session.
72
+
73
+
74
+ ### Examples
75
+
76
+ ```ruby
77
+ # Internal API. No samples are provided as merchants will never need this api method
78
+ ```
79
+
80
+
81
+ #### Using the sso_authorize_with_http_info variant
82
+
83
+ This returns an Array which contains the response data, status code and headers.
84
+
85
+ > <Array(<SingleSignOnAuthorizeResponse>, Integer, Hash)> sso_authorize_with_http_info(authorization_request)
86
+
87
+ ```ruby
88
+ begin
89
+ # Authorize a single sign on session
90
+ data, status_code, headers = api_instance.sso_authorize_with_http_info(authorization_request)
91
+ p status_code # => 2xx
92
+ p headers # => { ... }
93
+ p data # => <SingleSignOnAuthorizeResponse>
94
+ rescue UltracartClient::ApiError => e
95
+ puts "Error when calling SsoApi->sso_authorize_with_http_info: #{e}"
96
+ end
97
+ ```
98
+
99
+ ### Parameters
100
+
101
+ | Name | Type | Description | Notes |
102
+ | ---- | ---- | ----------- | ----- |
103
+ | **authorization_request** | [**SingleSignOnAuthorizeRequest**](SingleSignOnAuthorizeRequest.md) | Authorization request | |
104
+
105
+ ### Return type
106
+
107
+ [**SingleSignOnAuthorizeResponse**](SingleSignOnAuthorizeResponse.md)
108
+
109
+ ### Authorization
110
+
111
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
112
+
113
+ ### HTTP request headers
114
+
115
+ - **Content-Type**: application/json; charset=UTF-8
116
+ - **Accept**: application/json
117
+
118
+
119
+ ## sso_session_revoke
120
+
121
+ > sso_session_revoke
122
+
123
+ Revoke single sign on session
124
+
125
+ This is the equivalent of logging out of the single sign on session
126
+
127
+
128
+ ### Examples
129
+
130
+ ```ruby
131
+ # Internal API. No samples are provided as merchants will never need this api method
132
+ ```
133
+
134
+
135
+ #### Using the sso_session_revoke_with_http_info variant
136
+
137
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
138
+
139
+ > <Array(nil, Integer, Hash)> sso_session_revoke_with_http_info
140
+
141
+ ```ruby
142
+ begin
143
+ # Revoke single sign on session
144
+ data, status_code, headers = api_instance.sso_session_revoke_with_http_info
145
+ p status_code # => 2xx
146
+ p headers # => { ... }
147
+ p data # => nil
148
+ rescue UltracartClient::ApiError => e
149
+ puts "Error when calling SsoApi->sso_session_revoke_with_http_info: #{e}"
150
+ end
151
+ ```
152
+
153
+ ### Parameters
154
+
155
+ This endpoint does not need any parameter.
156
+
157
+ ### Return type
158
+
159
+ nil (empty response body)
160
+
161
+ ### Authorization
162
+
163
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
164
+
165
+ ### HTTP request headers
166
+
167
+ - **Content-Type**: Not defined
168
+ - **Accept**: application/json
169
+
170
+
171
+ ## sso_token
172
+
173
+ > <SingleSignOnTokenResponse> sso_token(token_request)
174
+
175
+ Exchange a single sign on code for a simple key token
176
+
177
+ Called by your application after receiving the code back on the redirect URI to obtain a simple key token to make API calls with
178
+
179
+
180
+ ### Examples
181
+
182
+ ```ruby
183
+ # Internal API. No samples are provided as merchants will never need this api method
184
+ ```
185
+
186
+
187
+ #### Using the sso_token_with_http_info variant
188
+
189
+ This returns an Array which contains the response data, status code and headers.
190
+
191
+ > <Array(<SingleSignOnTokenResponse>, Integer, Hash)> sso_token_with_http_info(token_request)
192
+
193
+ ```ruby
194
+ begin
195
+ # Exchange a single sign on code for a simple key token
196
+ data, status_code, headers = api_instance.sso_token_with_http_info(token_request)
197
+ p status_code # => 2xx
198
+ p headers # => { ... }
199
+ p data # => <SingleSignOnTokenResponse>
200
+ rescue UltracartClient::ApiError => e
201
+ puts "Error when calling SsoApi->sso_token_with_http_info: #{e}"
202
+ end
203
+ ```
204
+
205
+ ### Parameters
206
+
207
+ | Name | Type | Description | Notes |
208
+ | ---- | ---- | ----------- | ----- |
209
+ | **token_request** | [**SingleSignOnTokenRequest**](SingleSignOnTokenRequest.md) | Token request | |
210
+
211
+ ### Return type
212
+
213
+ [**SingleSignOnTokenResponse**](SingleSignOnTokenResponse.md)
214
+
215
+ ### Authorization
216
+
217
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
218
+
219
+ ### HTTP request headers
220
+
221
+ - **Content-Type**: application/json; charset=UTF-8
222
+ - **Accept**: application/json
223
+