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/WorkflowApi.md CHANGED
@@ -1,666 +1,666 @@
1
- # UltracartClient::WorkflowApi
2
-
3
- All URIs are relative to *https://secure.ultracart.com/rest/v2*
4
-
5
- | Method | HTTP request | Description |
6
- | ------ | ------------ | ----------- |
7
- | [**get_workflow_agent_websocket_authorization**](WorkflowApi.md#get_workflow_agent_websocket_authorization) | **PUT** /workflow/agent/auth | Get agent websocket authorization |
8
- | [**get_workflow_assignment_groups**](WorkflowApi.md#get_workflow_assignment_groups) | **GET** /workflow/assignment_groups | Retrieve a list of groups that workflow tasks can be assigned to |
9
- | [**get_workflow_assignment_users**](WorkflowApi.md#get_workflow_assignment_users) | **GET** /workflow/assignment_users | Retrieve a list of users that workflow tasks can be assigned to |
10
- | [**get_workflow_me**](WorkflowApi.md#get_workflow_me) | **GET** /workflow/me | Retrieve a user object for myself |
11
- | [**get_workflow_task**](WorkflowApi.md#get_workflow_task) | **GET** /workflow/tasks/{task_uuid} | Retrieve a workflow task |
12
- | [**get_workflow_task_attachment_upload_url**](WorkflowApi.md#get_workflow_task_attachment_upload_url) | **GET** /workflow/tasks/attachments/{extension} | Get a presigned workflow task attachment upload URL |
13
- | [**get_workflow_task_by_object_type**](WorkflowApi.md#get_workflow_task_by_object_type) | **GET** /workflow/tasks/by/{object_type}/{object_id} | Retrieve a workflow task by object type and id |
14
- | [**get_workflow_task_open_count**](WorkflowApi.md#get_workflow_task_open_count) | **GET** /workflow/tasks/open_count | Retrieve workflow task open count |
15
- | [**get_workflow_task_tags**](WorkflowApi.md#get_workflow_task_tags) | **GET** /workflow/tasks/tags | Get a list of existing workflow task tags |
16
- | [**get_workflow_tasks**](WorkflowApi.md#get_workflow_tasks) | **POST** /workflow/tasks/search | Search workflow tasks |
17
- | [**insert_workflow_task**](WorkflowApi.md#insert_workflow_task) | **POST** /workflow/tasks | Insert a workflow task |
18
- | [**update_workflow_task**](WorkflowApi.md#update_workflow_task) | **PUT** /workflow/tasks/{task_uuid} | Update a workflow task |
19
-
20
-
21
- ## get_workflow_agent_websocket_authorization
22
-
23
- > <WorkflowAgentAuthResponse> get_workflow_agent_websocket_authorization
24
-
25
- Get agent websocket authorization
26
-
27
- Retrieve a JWT to authorize an agent to make a websocket connection.
28
-
29
-
30
- ### Examples
31
-
32
- ```ruby
33
- # Internal API. No samples are provided as merchants will never need this api method
34
- ```
35
-
36
-
37
- #### Using the get_workflow_agent_websocket_authorization_with_http_info variant
38
-
39
- This returns an Array which contains the response data, status code and headers.
40
-
41
- > <Array(<WorkflowAgentAuthResponse>, Integer, Hash)> get_workflow_agent_websocket_authorization_with_http_info
42
-
43
- ```ruby
44
- begin
45
- # Get agent websocket authorization
46
- data, status_code, headers = api_instance.get_workflow_agent_websocket_authorization_with_http_info
47
- p status_code # => 2xx
48
- p headers # => { ... }
49
- p data # => <WorkflowAgentAuthResponse>
50
- rescue UltracartClient::ApiError => e
51
- puts "Error when calling WorkflowApi->get_workflow_agent_websocket_authorization_with_http_info: #{e}"
52
- end
53
- ```
54
-
55
- ### Parameters
56
-
57
- This endpoint does not need any parameter.
58
-
59
- ### Return type
60
-
61
- [**WorkflowAgentAuthResponse**](WorkflowAgentAuthResponse.md)
62
-
63
- ### Authorization
64
-
65
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
66
-
67
- ### HTTP request headers
68
-
69
- - **Content-Type**: Not defined
70
- - **Accept**: application/json
71
-
72
-
73
- ## get_workflow_assignment_groups
74
-
75
- > <WorkflowGroupsResponse> get_workflow_assignment_groups(opts)
76
-
77
- Retrieve a list of groups that workflow tasks can be assigned to
78
-
79
- Retrieve a list of groups that workflow tasks can be assigned to
80
-
81
-
82
- ### Examples
83
-
84
- ```ruby
85
- # Internal API. No samples are provided as merchants will never need this api method
86
- ```
87
-
88
-
89
- #### Using the get_workflow_assignment_groups_with_http_info variant
90
-
91
- This returns an Array which contains the response data, status code and headers.
92
-
93
- > <Array(<WorkflowGroupsResponse>, Integer, Hash)> get_workflow_assignment_groups_with_http_info(opts)
94
-
95
- ```ruby
96
- begin
97
- # Retrieve a list of groups that workflow tasks can be assigned to
98
- data, status_code, headers = api_instance.get_workflow_assignment_groups_with_http_info(opts)
99
- p status_code # => 2xx
100
- p headers # => { ... }
101
- p data # => <WorkflowGroupsResponse>
102
- rescue UltracartClient::ApiError => e
103
- puts "Error when calling WorkflowApi->get_workflow_assignment_groups_with_http_info: #{e}"
104
- end
105
- ```
106
-
107
- ### Parameters
108
-
109
- | Name | Type | Description | Notes |
110
- | ---- | ---- | ----------- | ----- |
111
- | **_limit** | **Integer** | The maximum number of records to return on this one API call. (Max 200) | [optional][default to 100] |
112
- | **_offset** | **Integer** | Pagination of the record set. Offset is a zero based index. | [optional][default to 0] |
113
-
114
- ### Return type
115
-
116
- [**WorkflowGroupsResponse**](WorkflowGroupsResponse.md)
117
-
118
- ### Authorization
119
-
120
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
121
-
122
- ### HTTP request headers
123
-
124
- - **Content-Type**: Not defined
125
- - **Accept**: application/json
126
-
127
-
128
- ## get_workflow_assignment_users
129
-
130
- > <WorkflowUsersResponse> get_workflow_assignment_users(opts)
131
-
132
- Retrieve a list of users that workflow tasks can be assigned to
133
-
134
- Retrieve a list of users that workflow tasks can be assigned to
135
-
136
-
137
- ### Examples
138
-
139
- ```ruby
140
- # Internal API. No samples are provided as merchants will never need this api method
141
- ```
142
-
143
-
144
- #### Using the get_workflow_assignment_users_with_http_info variant
145
-
146
- This returns an Array which contains the response data, status code and headers.
147
-
148
- > <Array(<WorkflowUsersResponse>, Integer, Hash)> get_workflow_assignment_users_with_http_info(opts)
149
-
150
- ```ruby
151
- begin
152
- # Retrieve a list of users that workflow tasks can be assigned to
153
- data, status_code, headers = api_instance.get_workflow_assignment_users_with_http_info(opts)
154
- p status_code # => 2xx
155
- p headers # => { ... }
156
- p data # => <WorkflowUsersResponse>
157
- rescue UltracartClient::ApiError => e
158
- puts "Error when calling WorkflowApi->get_workflow_assignment_users_with_http_info: #{e}"
159
- end
160
- ```
161
-
162
- ### Parameters
163
-
164
- | Name | Type | Description | Notes |
165
- | ---- | ---- | ----------- | ----- |
166
- | **_limit** | **Integer** | The maximum number of records to return on this one API call. (Max 200) | [optional][default to 100] |
167
- | **_offset** | **Integer** | Pagination of the record set. Offset is a zero based index. | [optional][default to 0] |
168
-
169
- ### Return type
170
-
171
- [**WorkflowUsersResponse**](WorkflowUsersResponse.md)
172
-
173
- ### Authorization
174
-
175
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
176
-
177
- ### HTTP request headers
178
-
179
- - **Content-Type**: Not defined
180
- - **Accept**: application/json
181
-
182
-
183
- ## get_workflow_me
184
-
185
- > <WorkflowUserResponse> get_workflow_me
186
-
187
- Retrieve a user object for myself
188
-
189
- Retrieve a user object for myself
190
-
191
-
192
- ### Examples
193
-
194
- ```ruby
195
- # Internal API. No samples are provided as merchants will never need this api method
196
- ```
197
-
198
-
199
- #### Using the get_workflow_me_with_http_info variant
200
-
201
- This returns an Array which contains the response data, status code and headers.
202
-
203
- > <Array(<WorkflowUserResponse>, Integer, Hash)> get_workflow_me_with_http_info
204
-
205
- ```ruby
206
- begin
207
- # Retrieve a user object for myself
208
- data, status_code, headers = api_instance.get_workflow_me_with_http_info
209
- p status_code # => 2xx
210
- p headers # => { ... }
211
- p data # => <WorkflowUserResponse>
212
- rescue UltracartClient::ApiError => e
213
- puts "Error when calling WorkflowApi->get_workflow_me_with_http_info: #{e}"
214
- end
215
- ```
216
-
217
- ### Parameters
218
-
219
- This endpoint does not need any parameter.
220
-
221
- ### Return type
222
-
223
- [**WorkflowUserResponse**](WorkflowUserResponse.md)
224
-
225
- ### Authorization
226
-
227
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
228
-
229
- ### HTTP request headers
230
-
231
- - **Content-Type**: Not defined
232
- - **Accept**: application/json
233
-
234
-
235
- ## get_workflow_task
236
-
237
- > <WorkflowTaskResponse> get_workflow_task(task_uuid)
238
-
239
- Retrieve a workflow task
240
-
241
- Retrieve a workflow task
242
-
243
-
244
- ### Examples
245
-
246
- ```ruby
247
- # Internal API. No samples are provided as merchants will never need this api method
248
- ```
249
-
250
-
251
- #### Using the get_workflow_task_with_http_info variant
252
-
253
- This returns an Array which contains the response data, status code and headers.
254
-
255
- > <Array(<WorkflowTaskResponse>, Integer, Hash)> get_workflow_task_with_http_info(task_uuid)
256
-
257
- ```ruby
258
- begin
259
- # Retrieve a workflow task
260
- data, status_code, headers = api_instance.get_workflow_task_with_http_info(task_uuid)
261
- p status_code # => 2xx
262
- p headers # => { ... }
263
- p data # => <WorkflowTaskResponse>
264
- rescue UltracartClient::ApiError => e
265
- puts "Error when calling WorkflowApi->get_workflow_task_with_http_info: #{e}"
266
- end
267
- ```
268
-
269
- ### Parameters
270
-
271
- | Name | Type | Description | Notes |
272
- | ---- | ---- | ----------- | ----- |
273
- | **task_uuid** | **String** | | |
274
-
275
- ### Return type
276
-
277
- [**WorkflowTaskResponse**](WorkflowTaskResponse.md)
278
-
279
- ### Authorization
280
-
281
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
282
-
283
- ### HTTP request headers
284
-
285
- - **Content-Type**: Not defined
286
- - **Accept**: application/json
287
-
288
-
289
- ## get_workflow_task_attachment_upload_url
290
-
291
- > <WorkflowAttachmentUploadUrlResponse> get_workflow_task_attachment_upload_url(extension)
292
-
293
- Get a presigned workflow task attachment upload URL
294
-
295
- Get a presigned workflow task attachment upload URL
296
-
297
-
298
- ### Examples
299
-
300
- ```ruby
301
- # Internal API. No samples are provided as merchants will never need this api method
302
- ```
303
-
304
-
305
- #### Using the get_workflow_task_attachment_upload_url_with_http_info variant
306
-
307
- This returns an Array which contains the response data, status code and headers.
308
-
309
- > <Array(<WorkflowAttachmentUploadUrlResponse>, Integer, Hash)> get_workflow_task_attachment_upload_url_with_http_info(extension)
310
-
311
- ```ruby
312
- begin
313
- # Get a presigned workflow task attachment upload URL
314
- data, status_code, headers = api_instance.get_workflow_task_attachment_upload_url_with_http_info(extension)
315
- p status_code # => 2xx
316
- p headers # => { ... }
317
- p data # => <WorkflowAttachmentUploadUrlResponse>
318
- rescue UltracartClient::ApiError => e
319
- puts "Error when calling WorkflowApi->get_workflow_task_attachment_upload_url_with_http_info: #{e}"
320
- end
321
- ```
322
-
323
- ### Parameters
324
-
325
- | Name | Type | Description | Notes |
326
- | ---- | ---- | ----------- | ----- |
327
- | **extension** | **String** | | |
328
-
329
- ### Return type
330
-
331
- [**WorkflowAttachmentUploadUrlResponse**](WorkflowAttachmentUploadUrlResponse.md)
332
-
333
- ### Authorization
334
-
335
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
336
-
337
- ### HTTP request headers
338
-
339
- - **Content-Type**: Not defined
340
- - **Accept**: application/json
341
-
342
-
343
- ## get_workflow_task_by_object_type
344
-
345
- > <WorkflowTasksResponse> get_workflow_task_by_object_type(object_type, object_id)
346
-
347
- Retrieve a workflow task by object type and id
348
-
349
- Retrieve a workflow task by object type and id
350
-
351
-
352
- ### Examples
353
-
354
- ```ruby
355
- # Internal API. No samples are provided as merchants will never need this api method
356
- ```
357
-
358
-
359
- #### Using the get_workflow_task_by_object_type_with_http_info variant
360
-
361
- This returns an Array which contains the response data, status code and headers.
362
-
363
- > <Array(<WorkflowTasksResponse>, Integer, Hash)> get_workflow_task_by_object_type_with_http_info(object_type, object_id)
364
-
365
- ```ruby
366
- begin
367
- # Retrieve a workflow task by object type and id
368
- data, status_code, headers = api_instance.get_workflow_task_by_object_type_with_http_info(object_type, object_id)
369
- p status_code # => 2xx
370
- p headers # => { ... }
371
- p data # => <WorkflowTasksResponse>
372
- rescue UltracartClient::ApiError => e
373
- puts "Error when calling WorkflowApi->get_workflow_task_by_object_type_with_http_info: #{e}"
374
- end
375
- ```
376
-
377
- ### Parameters
378
-
379
- | Name | Type | Description | Notes |
380
- | ---- | ---- | ----------- | ----- |
381
- | **object_type** | **String** | | |
382
- | **object_id** | **String** | | |
383
-
384
- ### Return type
385
-
386
- [**WorkflowTasksResponse**](WorkflowTasksResponse.md)
387
-
388
- ### Authorization
389
-
390
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
391
-
392
- ### HTTP request headers
393
-
394
- - **Content-Type**: Not defined
395
- - **Accept**: application/json
396
-
397
-
398
- ## get_workflow_task_open_count
399
-
400
- > <WorkflowTaskOpenCountResponse> get_workflow_task_open_count
401
-
402
- Retrieve workflow task open count
403
-
404
- Retrieve workflow task open count
405
-
406
-
407
- ### Examples
408
-
409
- ```ruby
410
- # Internal API. No samples are provided as merchants will never need this api method
411
- ```
412
-
413
-
414
- #### Using the get_workflow_task_open_count_with_http_info variant
415
-
416
- This returns an Array which contains the response data, status code and headers.
417
-
418
- > <Array(<WorkflowTaskOpenCountResponse>, Integer, Hash)> get_workflow_task_open_count_with_http_info
419
-
420
- ```ruby
421
- begin
422
- # Retrieve workflow task open count
423
- data, status_code, headers = api_instance.get_workflow_task_open_count_with_http_info
424
- p status_code # => 2xx
425
- p headers # => { ... }
426
- p data # => <WorkflowTaskOpenCountResponse>
427
- rescue UltracartClient::ApiError => e
428
- puts "Error when calling WorkflowApi->get_workflow_task_open_count_with_http_info: #{e}"
429
- end
430
- ```
431
-
432
- ### Parameters
433
-
434
- This endpoint does not need any parameter.
435
-
436
- ### Return type
437
-
438
- [**WorkflowTaskOpenCountResponse**](WorkflowTaskOpenCountResponse.md)
439
-
440
- ### Authorization
441
-
442
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
443
-
444
- ### HTTP request headers
445
-
446
- - **Content-Type**: Not defined
447
- - **Accept**: application/json
448
-
449
-
450
- ## get_workflow_task_tags
451
-
452
- > <WorkflowTaskTagsResponse> get_workflow_task_tags
453
-
454
- Get a list of existing workflow task tags
455
-
456
- Retrieves a unique list of all the existing workflow task tags.
457
-
458
-
459
- ### Examples
460
-
461
- ```ruby
462
- # Internal API. No samples are provided as merchants will never need this api method
463
- ```
464
-
465
-
466
- #### Using the get_workflow_task_tags_with_http_info variant
467
-
468
- This returns an Array which contains the response data, status code and headers.
469
-
470
- > <Array(<WorkflowTaskTagsResponse>, Integer, Hash)> get_workflow_task_tags_with_http_info
471
-
472
- ```ruby
473
- begin
474
- # Get a list of existing workflow task tags
475
- data, status_code, headers = api_instance.get_workflow_task_tags_with_http_info
476
- p status_code # => 2xx
477
- p headers # => { ... }
478
- p data # => <WorkflowTaskTagsResponse>
479
- rescue UltracartClient::ApiError => e
480
- puts "Error when calling WorkflowApi->get_workflow_task_tags_with_http_info: #{e}"
481
- end
482
- ```
483
-
484
- ### Parameters
485
-
486
- This endpoint does not need any parameter.
487
-
488
- ### Return type
489
-
490
- [**WorkflowTaskTagsResponse**](WorkflowTaskTagsResponse.md)
491
-
492
- ### Authorization
493
-
494
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
495
-
496
- ### HTTP request headers
497
-
498
- - **Content-Type**: Not defined
499
- - **Accept**: application/json
500
-
501
-
502
- ## get_workflow_tasks
503
-
504
- > <WorkflowTasksResponse> get_workflow_tasks(workflow_tasks_query, opts)
505
-
506
- Search workflow tasks
507
-
508
- Retrieves a set of workflow tasks from the account based on a query object.
509
-
510
-
511
- ### Examples
512
-
513
- ```ruby
514
- # Internal API. No samples are provided as merchants will never need this api method
515
- ```
516
-
517
-
518
- #### Using the get_workflow_tasks_with_http_info variant
519
-
520
- This returns an Array which contains the response data, status code and headers.
521
-
522
- > <Array(<WorkflowTasksResponse>, Integer, Hash)> get_workflow_tasks_with_http_info(workflow_tasks_query, opts)
523
-
524
- ```ruby
525
- begin
526
- # Search workflow tasks
527
- data, status_code, headers = api_instance.get_workflow_tasks_with_http_info(workflow_tasks_query, opts)
528
- p status_code # => 2xx
529
- p headers # => { ... }
530
- p data # => <WorkflowTasksResponse>
531
- rescue UltracartClient::ApiError => e
532
- puts "Error when calling WorkflowApi->get_workflow_tasks_with_http_info: #{e}"
533
- end
534
- ```
535
-
536
- ### Parameters
537
-
538
- | Name | Type | Description | Notes |
539
- | ---- | ---- | ----------- | ----- |
540
- | **workflow_tasks_query** | [**WorkflowTasksRequest**](WorkflowTasksRequest.md) | Workflow tasks query | |
541
- | **_limit** | **Integer** | The maximum number of records to return on this one API call. (Default 100, Max 500) | [optional][default to 100] |
542
- | **_offset** | **Integer** | Pagination of the record set. Offset is a zero based index. | [optional][default to 0] |
543
- | **_sort** | **String** | The sort order of the items. See Sorting documentation for examples of using multiple values and sorting by ascending and descending. | [optional] |
544
-
545
- ### Return type
546
-
547
- [**WorkflowTasksResponse**](WorkflowTasksResponse.md)
548
-
549
- ### Authorization
550
-
551
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
552
-
553
- ### HTTP request headers
554
-
555
- - **Content-Type**: application/json
556
- - **Accept**: application/json
557
-
558
-
559
- ## insert_workflow_task
560
-
561
- > <WorkflowTaskResponse> insert_workflow_task(workflow_task)
562
-
563
- Insert a workflow task
564
-
565
- Insert a workflow task
566
-
567
-
568
- ### Examples
569
-
570
- ```ruby
571
- # Internal API. No samples are provided as merchants will never need this api method
572
- ```
573
-
574
-
575
- #### Using the insert_workflow_task_with_http_info variant
576
-
577
- This returns an Array which contains the response data, status code and headers.
578
-
579
- > <Array(<WorkflowTaskResponse>, Integer, Hash)> insert_workflow_task_with_http_info(workflow_task)
580
-
581
- ```ruby
582
- begin
583
- # Insert a workflow task
584
- data, status_code, headers = api_instance.insert_workflow_task_with_http_info(workflow_task)
585
- p status_code # => 2xx
586
- p headers # => { ... }
587
- p data # => <WorkflowTaskResponse>
588
- rescue UltracartClient::ApiError => e
589
- puts "Error when calling WorkflowApi->insert_workflow_task_with_http_info: #{e}"
590
- end
591
- ```
592
-
593
- ### Parameters
594
-
595
- | Name | Type | Description | Notes |
596
- | ---- | ---- | ----------- | ----- |
597
- | **workflow_task** | [**WorkflowTask**](WorkflowTask.md) | workflow task | |
598
-
599
- ### Return type
600
-
601
- [**WorkflowTaskResponse**](WorkflowTaskResponse.md)
602
-
603
- ### Authorization
604
-
605
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
606
-
607
- ### HTTP request headers
608
-
609
- - **Content-Type**: application/json
610
- - **Accept**: application/json
611
-
612
-
613
- ## update_workflow_task
614
-
615
- > <WorkflowTaskResponse> update_workflow_task(task_uuid, workflow_task)
616
-
617
- Update a workflow task
618
-
619
- Update a workflow task
620
-
621
-
622
- ### Examples
623
-
624
- ```ruby
625
- # Internal API. No samples are provided as merchants will never need this api method
626
- ```
627
-
628
-
629
- #### Using the update_workflow_task_with_http_info variant
630
-
631
- This returns an Array which contains the response data, status code and headers.
632
-
633
- > <Array(<WorkflowTaskResponse>, Integer, Hash)> update_workflow_task_with_http_info(task_uuid, workflow_task)
634
-
635
- ```ruby
636
- begin
637
- # Update a workflow task
638
- data, status_code, headers = api_instance.update_workflow_task_with_http_info(task_uuid, workflow_task)
639
- p status_code # => 2xx
640
- p headers # => { ... }
641
- p data # => <WorkflowTaskResponse>
642
- rescue UltracartClient::ApiError => e
643
- puts "Error when calling WorkflowApi->update_workflow_task_with_http_info: #{e}"
644
- end
645
- ```
646
-
647
- ### Parameters
648
-
649
- | Name | Type | Description | Notes |
650
- | ---- | ---- | ----------- | ----- |
651
- | **task_uuid** | **String** | | |
652
- | **workflow_task** | [**WorkflowTask**](WorkflowTask.md) | Workflow task | |
653
-
654
- ### Return type
655
-
656
- [**WorkflowTaskResponse**](WorkflowTaskResponse.md)
657
-
658
- ### Authorization
659
-
660
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
661
-
662
- ### HTTP request headers
663
-
664
- - **Content-Type**: application/json
665
- - **Accept**: application/json
666
-
1
+ # UltracartClient::WorkflowApi
2
+
3
+ All URIs are relative to *https://secure.ultracart.com/rest/v2*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**get_workflow_agent_websocket_authorization**](WorkflowApi.md#get_workflow_agent_websocket_authorization) | **PUT** /workflow/agent/auth | Get agent websocket authorization |
8
+ | [**get_workflow_assignment_groups**](WorkflowApi.md#get_workflow_assignment_groups) | **GET** /workflow/assignment_groups | Retrieve a list of groups that workflow tasks can be assigned to |
9
+ | [**get_workflow_assignment_users**](WorkflowApi.md#get_workflow_assignment_users) | **GET** /workflow/assignment_users | Retrieve a list of users that workflow tasks can be assigned to |
10
+ | [**get_workflow_me**](WorkflowApi.md#get_workflow_me) | **GET** /workflow/me | Retrieve a user object for myself |
11
+ | [**get_workflow_task**](WorkflowApi.md#get_workflow_task) | **GET** /workflow/tasks/{task_uuid} | Retrieve a workflow task |
12
+ | [**get_workflow_task_attachment_upload_url**](WorkflowApi.md#get_workflow_task_attachment_upload_url) | **GET** /workflow/tasks/attachments/{extension} | Get a presigned workflow task attachment upload URL |
13
+ | [**get_workflow_task_by_object_type**](WorkflowApi.md#get_workflow_task_by_object_type) | **GET** /workflow/tasks/by/{object_type}/{object_id} | Retrieve a workflow task by object type and id |
14
+ | [**get_workflow_task_open_count**](WorkflowApi.md#get_workflow_task_open_count) | **GET** /workflow/tasks/open_count | Retrieve workflow task open count |
15
+ | [**get_workflow_task_tags**](WorkflowApi.md#get_workflow_task_tags) | **GET** /workflow/tasks/tags | Get a list of existing workflow task tags |
16
+ | [**get_workflow_tasks**](WorkflowApi.md#get_workflow_tasks) | **POST** /workflow/tasks/search | Search workflow tasks |
17
+ | [**insert_workflow_task**](WorkflowApi.md#insert_workflow_task) | **POST** /workflow/tasks | Insert a workflow task |
18
+ | [**update_workflow_task**](WorkflowApi.md#update_workflow_task) | **PUT** /workflow/tasks/{task_uuid} | Update a workflow task |
19
+
20
+
21
+ ## get_workflow_agent_websocket_authorization
22
+
23
+ > <WorkflowAgentAuthResponse> get_workflow_agent_websocket_authorization
24
+
25
+ Get agent websocket authorization
26
+
27
+ Retrieve a JWT to authorize an agent to make a websocket connection.
28
+
29
+
30
+ ### Examples
31
+
32
+ ```ruby
33
+ # Internal API. No samples are provided as merchants will never need this api method
34
+ ```
35
+
36
+
37
+ #### Using the get_workflow_agent_websocket_authorization_with_http_info variant
38
+
39
+ This returns an Array which contains the response data, status code and headers.
40
+
41
+ > <Array(<WorkflowAgentAuthResponse>, Integer, Hash)> get_workflow_agent_websocket_authorization_with_http_info
42
+
43
+ ```ruby
44
+ begin
45
+ # Get agent websocket authorization
46
+ data, status_code, headers = api_instance.get_workflow_agent_websocket_authorization_with_http_info
47
+ p status_code # => 2xx
48
+ p headers # => { ... }
49
+ p data # => <WorkflowAgentAuthResponse>
50
+ rescue UltracartClient::ApiError => e
51
+ puts "Error when calling WorkflowApi->get_workflow_agent_websocket_authorization_with_http_info: #{e}"
52
+ end
53
+ ```
54
+
55
+ ### Parameters
56
+
57
+ This endpoint does not need any parameter.
58
+
59
+ ### Return type
60
+
61
+ [**WorkflowAgentAuthResponse**](WorkflowAgentAuthResponse.md)
62
+
63
+ ### Authorization
64
+
65
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
66
+
67
+ ### HTTP request headers
68
+
69
+ - **Content-Type**: Not defined
70
+ - **Accept**: application/json
71
+
72
+
73
+ ## get_workflow_assignment_groups
74
+
75
+ > <WorkflowGroupsResponse> get_workflow_assignment_groups(opts)
76
+
77
+ Retrieve a list of groups that workflow tasks can be assigned to
78
+
79
+ Retrieve a list of groups that workflow tasks can be assigned to
80
+
81
+
82
+ ### Examples
83
+
84
+ ```ruby
85
+ # Internal API. No samples are provided as merchants will never need this api method
86
+ ```
87
+
88
+
89
+ #### Using the get_workflow_assignment_groups_with_http_info variant
90
+
91
+ This returns an Array which contains the response data, status code and headers.
92
+
93
+ > <Array(<WorkflowGroupsResponse>, Integer, Hash)> get_workflow_assignment_groups_with_http_info(opts)
94
+
95
+ ```ruby
96
+ begin
97
+ # Retrieve a list of groups that workflow tasks can be assigned to
98
+ data, status_code, headers = api_instance.get_workflow_assignment_groups_with_http_info(opts)
99
+ p status_code # => 2xx
100
+ p headers # => { ... }
101
+ p data # => <WorkflowGroupsResponse>
102
+ rescue UltracartClient::ApiError => e
103
+ puts "Error when calling WorkflowApi->get_workflow_assignment_groups_with_http_info: #{e}"
104
+ end
105
+ ```
106
+
107
+ ### Parameters
108
+
109
+ | Name | Type | Description | Notes |
110
+ | ---- | ---- | ----------- | ----- |
111
+ | **_limit** | **Integer** | The maximum number of records to return on this one API call. (Max 200) | [optional][default to 100] |
112
+ | **_offset** | **Integer** | Pagination of the record set. Offset is a zero based index. | [optional][default to 0] |
113
+
114
+ ### Return type
115
+
116
+ [**WorkflowGroupsResponse**](WorkflowGroupsResponse.md)
117
+
118
+ ### Authorization
119
+
120
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
121
+
122
+ ### HTTP request headers
123
+
124
+ - **Content-Type**: Not defined
125
+ - **Accept**: application/json
126
+
127
+
128
+ ## get_workflow_assignment_users
129
+
130
+ > <WorkflowUsersResponse> get_workflow_assignment_users(opts)
131
+
132
+ Retrieve a list of users that workflow tasks can be assigned to
133
+
134
+ Retrieve a list of users that workflow tasks can be assigned to
135
+
136
+
137
+ ### Examples
138
+
139
+ ```ruby
140
+ # Internal API. No samples are provided as merchants will never need this api method
141
+ ```
142
+
143
+
144
+ #### Using the get_workflow_assignment_users_with_http_info variant
145
+
146
+ This returns an Array which contains the response data, status code and headers.
147
+
148
+ > <Array(<WorkflowUsersResponse>, Integer, Hash)> get_workflow_assignment_users_with_http_info(opts)
149
+
150
+ ```ruby
151
+ begin
152
+ # Retrieve a list of users that workflow tasks can be assigned to
153
+ data, status_code, headers = api_instance.get_workflow_assignment_users_with_http_info(opts)
154
+ p status_code # => 2xx
155
+ p headers # => { ... }
156
+ p data # => <WorkflowUsersResponse>
157
+ rescue UltracartClient::ApiError => e
158
+ puts "Error when calling WorkflowApi->get_workflow_assignment_users_with_http_info: #{e}"
159
+ end
160
+ ```
161
+
162
+ ### Parameters
163
+
164
+ | Name | Type | Description | Notes |
165
+ | ---- | ---- | ----------- | ----- |
166
+ | **_limit** | **Integer** | The maximum number of records to return on this one API call. (Max 200) | [optional][default to 100] |
167
+ | **_offset** | **Integer** | Pagination of the record set. Offset is a zero based index. | [optional][default to 0] |
168
+
169
+ ### Return type
170
+
171
+ [**WorkflowUsersResponse**](WorkflowUsersResponse.md)
172
+
173
+ ### Authorization
174
+
175
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
176
+
177
+ ### HTTP request headers
178
+
179
+ - **Content-Type**: Not defined
180
+ - **Accept**: application/json
181
+
182
+
183
+ ## get_workflow_me
184
+
185
+ > <WorkflowUserResponse> get_workflow_me
186
+
187
+ Retrieve a user object for myself
188
+
189
+ Retrieve a user object for myself
190
+
191
+
192
+ ### Examples
193
+
194
+ ```ruby
195
+ # Internal API. No samples are provided as merchants will never need this api method
196
+ ```
197
+
198
+
199
+ #### Using the get_workflow_me_with_http_info variant
200
+
201
+ This returns an Array which contains the response data, status code and headers.
202
+
203
+ > <Array(<WorkflowUserResponse>, Integer, Hash)> get_workflow_me_with_http_info
204
+
205
+ ```ruby
206
+ begin
207
+ # Retrieve a user object for myself
208
+ data, status_code, headers = api_instance.get_workflow_me_with_http_info
209
+ p status_code # => 2xx
210
+ p headers # => { ... }
211
+ p data # => <WorkflowUserResponse>
212
+ rescue UltracartClient::ApiError => e
213
+ puts "Error when calling WorkflowApi->get_workflow_me_with_http_info: #{e}"
214
+ end
215
+ ```
216
+
217
+ ### Parameters
218
+
219
+ This endpoint does not need any parameter.
220
+
221
+ ### Return type
222
+
223
+ [**WorkflowUserResponse**](WorkflowUserResponse.md)
224
+
225
+ ### Authorization
226
+
227
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
228
+
229
+ ### HTTP request headers
230
+
231
+ - **Content-Type**: Not defined
232
+ - **Accept**: application/json
233
+
234
+
235
+ ## get_workflow_task
236
+
237
+ > <WorkflowTaskResponse> get_workflow_task(task_uuid)
238
+
239
+ Retrieve a workflow task
240
+
241
+ Retrieve a workflow task
242
+
243
+
244
+ ### Examples
245
+
246
+ ```ruby
247
+ # Internal API. No samples are provided as merchants will never need this api method
248
+ ```
249
+
250
+
251
+ #### Using the get_workflow_task_with_http_info variant
252
+
253
+ This returns an Array which contains the response data, status code and headers.
254
+
255
+ > <Array(<WorkflowTaskResponse>, Integer, Hash)> get_workflow_task_with_http_info(task_uuid)
256
+
257
+ ```ruby
258
+ begin
259
+ # Retrieve a workflow task
260
+ data, status_code, headers = api_instance.get_workflow_task_with_http_info(task_uuid)
261
+ p status_code # => 2xx
262
+ p headers # => { ... }
263
+ p data # => <WorkflowTaskResponse>
264
+ rescue UltracartClient::ApiError => e
265
+ puts "Error when calling WorkflowApi->get_workflow_task_with_http_info: #{e}"
266
+ end
267
+ ```
268
+
269
+ ### Parameters
270
+
271
+ | Name | Type | Description | Notes |
272
+ | ---- | ---- | ----------- | ----- |
273
+ | **task_uuid** | **String** | | |
274
+
275
+ ### Return type
276
+
277
+ [**WorkflowTaskResponse**](WorkflowTaskResponse.md)
278
+
279
+ ### Authorization
280
+
281
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
282
+
283
+ ### HTTP request headers
284
+
285
+ - **Content-Type**: Not defined
286
+ - **Accept**: application/json
287
+
288
+
289
+ ## get_workflow_task_attachment_upload_url
290
+
291
+ > <WorkflowAttachmentUploadUrlResponse> get_workflow_task_attachment_upload_url(extension)
292
+
293
+ Get a presigned workflow task attachment upload URL
294
+
295
+ Get a presigned workflow task attachment upload URL
296
+
297
+
298
+ ### Examples
299
+
300
+ ```ruby
301
+ # Internal API. No samples are provided as merchants will never need this api method
302
+ ```
303
+
304
+
305
+ #### Using the get_workflow_task_attachment_upload_url_with_http_info variant
306
+
307
+ This returns an Array which contains the response data, status code and headers.
308
+
309
+ > <Array(<WorkflowAttachmentUploadUrlResponse>, Integer, Hash)> get_workflow_task_attachment_upload_url_with_http_info(extension)
310
+
311
+ ```ruby
312
+ begin
313
+ # Get a presigned workflow task attachment upload URL
314
+ data, status_code, headers = api_instance.get_workflow_task_attachment_upload_url_with_http_info(extension)
315
+ p status_code # => 2xx
316
+ p headers # => { ... }
317
+ p data # => <WorkflowAttachmentUploadUrlResponse>
318
+ rescue UltracartClient::ApiError => e
319
+ puts "Error when calling WorkflowApi->get_workflow_task_attachment_upload_url_with_http_info: #{e}"
320
+ end
321
+ ```
322
+
323
+ ### Parameters
324
+
325
+ | Name | Type | Description | Notes |
326
+ | ---- | ---- | ----------- | ----- |
327
+ | **extension** | **String** | | |
328
+
329
+ ### Return type
330
+
331
+ [**WorkflowAttachmentUploadUrlResponse**](WorkflowAttachmentUploadUrlResponse.md)
332
+
333
+ ### Authorization
334
+
335
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
336
+
337
+ ### HTTP request headers
338
+
339
+ - **Content-Type**: Not defined
340
+ - **Accept**: application/json
341
+
342
+
343
+ ## get_workflow_task_by_object_type
344
+
345
+ > <WorkflowTasksResponse> get_workflow_task_by_object_type(object_type, object_id)
346
+
347
+ Retrieve a workflow task by object type and id
348
+
349
+ Retrieve a workflow task by object type and id
350
+
351
+
352
+ ### Examples
353
+
354
+ ```ruby
355
+ # Internal API. No samples are provided as merchants will never need this api method
356
+ ```
357
+
358
+
359
+ #### Using the get_workflow_task_by_object_type_with_http_info variant
360
+
361
+ This returns an Array which contains the response data, status code and headers.
362
+
363
+ > <Array(<WorkflowTasksResponse>, Integer, Hash)> get_workflow_task_by_object_type_with_http_info(object_type, object_id)
364
+
365
+ ```ruby
366
+ begin
367
+ # Retrieve a workflow task by object type and id
368
+ data, status_code, headers = api_instance.get_workflow_task_by_object_type_with_http_info(object_type, object_id)
369
+ p status_code # => 2xx
370
+ p headers # => { ... }
371
+ p data # => <WorkflowTasksResponse>
372
+ rescue UltracartClient::ApiError => e
373
+ puts "Error when calling WorkflowApi->get_workflow_task_by_object_type_with_http_info: #{e}"
374
+ end
375
+ ```
376
+
377
+ ### Parameters
378
+
379
+ | Name | Type | Description | Notes |
380
+ | ---- | ---- | ----------- | ----- |
381
+ | **object_type** | **String** | | |
382
+ | **object_id** | **String** | | |
383
+
384
+ ### Return type
385
+
386
+ [**WorkflowTasksResponse**](WorkflowTasksResponse.md)
387
+
388
+ ### Authorization
389
+
390
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
391
+
392
+ ### HTTP request headers
393
+
394
+ - **Content-Type**: Not defined
395
+ - **Accept**: application/json
396
+
397
+
398
+ ## get_workflow_task_open_count
399
+
400
+ > <WorkflowTaskOpenCountResponse> get_workflow_task_open_count
401
+
402
+ Retrieve workflow task open count
403
+
404
+ Retrieve workflow task open count
405
+
406
+
407
+ ### Examples
408
+
409
+ ```ruby
410
+ # Internal API. No samples are provided as merchants will never need this api method
411
+ ```
412
+
413
+
414
+ #### Using the get_workflow_task_open_count_with_http_info variant
415
+
416
+ This returns an Array which contains the response data, status code and headers.
417
+
418
+ > <Array(<WorkflowTaskOpenCountResponse>, Integer, Hash)> get_workflow_task_open_count_with_http_info
419
+
420
+ ```ruby
421
+ begin
422
+ # Retrieve workflow task open count
423
+ data, status_code, headers = api_instance.get_workflow_task_open_count_with_http_info
424
+ p status_code # => 2xx
425
+ p headers # => { ... }
426
+ p data # => <WorkflowTaskOpenCountResponse>
427
+ rescue UltracartClient::ApiError => e
428
+ puts "Error when calling WorkflowApi->get_workflow_task_open_count_with_http_info: #{e}"
429
+ end
430
+ ```
431
+
432
+ ### Parameters
433
+
434
+ This endpoint does not need any parameter.
435
+
436
+ ### Return type
437
+
438
+ [**WorkflowTaskOpenCountResponse**](WorkflowTaskOpenCountResponse.md)
439
+
440
+ ### Authorization
441
+
442
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
443
+
444
+ ### HTTP request headers
445
+
446
+ - **Content-Type**: Not defined
447
+ - **Accept**: application/json
448
+
449
+
450
+ ## get_workflow_task_tags
451
+
452
+ > <WorkflowTaskTagsResponse> get_workflow_task_tags
453
+
454
+ Get a list of existing workflow task tags
455
+
456
+ Retrieves a unique list of all the existing workflow task tags.
457
+
458
+
459
+ ### Examples
460
+
461
+ ```ruby
462
+ # Internal API. No samples are provided as merchants will never need this api method
463
+ ```
464
+
465
+
466
+ #### Using the get_workflow_task_tags_with_http_info variant
467
+
468
+ This returns an Array which contains the response data, status code and headers.
469
+
470
+ > <Array(<WorkflowTaskTagsResponse>, Integer, Hash)> get_workflow_task_tags_with_http_info
471
+
472
+ ```ruby
473
+ begin
474
+ # Get a list of existing workflow task tags
475
+ data, status_code, headers = api_instance.get_workflow_task_tags_with_http_info
476
+ p status_code # => 2xx
477
+ p headers # => { ... }
478
+ p data # => <WorkflowTaskTagsResponse>
479
+ rescue UltracartClient::ApiError => e
480
+ puts "Error when calling WorkflowApi->get_workflow_task_tags_with_http_info: #{e}"
481
+ end
482
+ ```
483
+
484
+ ### Parameters
485
+
486
+ This endpoint does not need any parameter.
487
+
488
+ ### Return type
489
+
490
+ [**WorkflowTaskTagsResponse**](WorkflowTaskTagsResponse.md)
491
+
492
+ ### Authorization
493
+
494
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
495
+
496
+ ### HTTP request headers
497
+
498
+ - **Content-Type**: Not defined
499
+ - **Accept**: application/json
500
+
501
+
502
+ ## get_workflow_tasks
503
+
504
+ > <WorkflowTasksResponse> get_workflow_tasks(workflow_tasks_query, opts)
505
+
506
+ Search workflow tasks
507
+
508
+ Retrieves a set of workflow tasks from the account based on a query object.
509
+
510
+
511
+ ### Examples
512
+
513
+ ```ruby
514
+ # Internal API. No samples are provided as merchants will never need this api method
515
+ ```
516
+
517
+
518
+ #### Using the get_workflow_tasks_with_http_info variant
519
+
520
+ This returns an Array which contains the response data, status code and headers.
521
+
522
+ > <Array(<WorkflowTasksResponse>, Integer, Hash)> get_workflow_tasks_with_http_info(workflow_tasks_query, opts)
523
+
524
+ ```ruby
525
+ begin
526
+ # Search workflow tasks
527
+ data, status_code, headers = api_instance.get_workflow_tasks_with_http_info(workflow_tasks_query, opts)
528
+ p status_code # => 2xx
529
+ p headers # => { ... }
530
+ p data # => <WorkflowTasksResponse>
531
+ rescue UltracartClient::ApiError => e
532
+ puts "Error when calling WorkflowApi->get_workflow_tasks_with_http_info: #{e}"
533
+ end
534
+ ```
535
+
536
+ ### Parameters
537
+
538
+ | Name | Type | Description | Notes |
539
+ | ---- | ---- | ----------- | ----- |
540
+ | **workflow_tasks_query** | [**WorkflowTasksRequest**](WorkflowTasksRequest.md) | Workflow tasks query | |
541
+ | **_limit** | **Integer** | The maximum number of records to return on this one API call. (Default 100, Max 500) | [optional][default to 100] |
542
+ | **_offset** | **Integer** | Pagination of the record set. Offset is a zero based index. | [optional][default to 0] |
543
+ | **_sort** | **String** | The sort order of the items. See Sorting documentation for examples of using multiple values and sorting by ascending and descending. | [optional] |
544
+
545
+ ### Return type
546
+
547
+ [**WorkflowTasksResponse**](WorkflowTasksResponse.md)
548
+
549
+ ### Authorization
550
+
551
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
552
+
553
+ ### HTTP request headers
554
+
555
+ - **Content-Type**: application/json
556
+ - **Accept**: application/json
557
+
558
+
559
+ ## insert_workflow_task
560
+
561
+ > <WorkflowTaskResponse> insert_workflow_task(workflow_task)
562
+
563
+ Insert a workflow task
564
+
565
+ Insert a workflow task
566
+
567
+
568
+ ### Examples
569
+
570
+ ```ruby
571
+ # Internal API. No samples are provided as merchants will never need this api method
572
+ ```
573
+
574
+
575
+ #### Using the insert_workflow_task_with_http_info variant
576
+
577
+ This returns an Array which contains the response data, status code and headers.
578
+
579
+ > <Array(<WorkflowTaskResponse>, Integer, Hash)> insert_workflow_task_with_http_info(workflow_task)
580
+
581
+ ```ruby
582
+ begin
583
+ # Insert a workflow task
584
+ data, status_code, headers = api_instance.insert_workflow_task_with_http_info(workflow_task)
585
+ p status_code # => 2xx
586
+ p headers # => { ... }
587
+ p data # => <WorkflowTaskResponse>
588
+ rescue UltracartClient::ApiError => e
589
+ puts "Error when calling WorkflowApi->insert_workflow_task_with_http_info: #{e}"
590
+ end
591
+ ```
592
+
593
+ ### Parameters
594
+
595
+ | Name | Type | Description | Notes |
596
+ | ---- | ---- | ----------- | ----- |
597
+ | **workflow_task** | [**WorkflowTask**](WorkflowTask.md) | workflow task | |
598
+
599
+ ### Return type
600
+
601
+ [**WorkflowTaskResponse**](WorkflowTaskResponse.md)
602
+
603
+ ### Authorization
604
+
605
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
606
+
607
+ ### HTTP request headers
608
+
609
+ - **Content-Type**: application/json
610
+ - **Accept**: application/json
611
+
612
+
613
+ ## update_workflow_task
614
+
615
+ > <WorkflowTaskResponse> update_workflow_task(task_uuid, workflow_task)
616
+
617
+ Update a workflow task
618
+
619
+ Update a workflow task
620
+
621
+
622
+ ### Examples
623
+
624
+ ```ruby
625
+ # Internal API. No samples are provided as merchants will never need this api method
626
+ ```
627
+
628
+
629
+ #### Using the update_workflow_task_with_http_info variant
630
+
631
+ This returns an Array which contains the response data, status code and headers.
632
+
633
+ > <Array(<WorkflowTaskResponse>, Integer, Hash)> update_workflow_task_with_http_info(task_uuid, workflow_task)
634
+
635
+ ```ruby
636
+ begin
637
+ # Update a workflow task
638
+ data, status_code, headers = api_instance.update_workflow_task_with_http_info(task_uuid, workflow_task)
639
+ p status_code # => 2xx
640
+ p headers # => { ... }
641
+ p data # => <WorkflowTaskResponse>
642
+ rescue UltracartClient::ApiError => e
643
+ puts "Error when calling WorkflowApi->update_workflow_task_with_http_info: #{e}"
644
+ end
645
+ ```
646
+
647
+ ### Parameters
648
+
649
+ | Name | Type | Description | Notes |
650
+ | ---- | ---- | ----------- | ----- |
651
+ | **task_uuid** | **String** | | |
652
+ | **workflow_task** | [**WorkflowTask**](WorkflowTask.md) | Workflow task | |
653
+
654
+ ### Return type
655
+
656
+ [**WorkflowTaskResponse**](WorkflowTaskResponse.md)
657
+
658
+ ### Authorization
659
+
660
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
661
+
662
+ ### HTTP request headers
663
+
664
+ - **Content-Type**: application/json
665
+ - **Accept**: application/json
666
+