ultracart_api 4.1.201 → 4.1.203
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 +19 -2
- data/docs/OauthApi.md +1 -1
- data/docs/SfvbApi.md +378 -1
- data/docs/SfvbEvent.md +2 -2
- data/docs/SfvbItemMultimedia.md +9 -1
- data/docs/SfvbItemMultimediaDescriptionRequest.md +26 -0
- data/docs/SfvbSecretHandle.md +32 -0
- data/docs/SfvbSecretKind.md +30 -0
- data/docs/SfvbSecretKindsResponse.md +20 -0
- data/docs/SfvbSecretRequest.md +54 -0
- data/docs/SfvbSecretRequestCreate.md +30 -0
- data/docs/SfvbSecretRequestsResponse.md +18 -0
- data/docs/SfvbSecretSink.md +24 -0
- data/lib/ultracart_api/api/oauth_api.rb +2 -2
- data/lib/ultracart_api/api/sfvb_api.rb +460 -2
- data/lib/ultracart_api/models/sfvb_event.rb +2 -2
- data/lib/ultracart_api/models/sfvb_item_multimedia.rb +54 -2
- data/lib/ultracart_api/models/sfvb_item_multimedia_description_request.rb +260 -0
- data/lib/ultracart_api/models/sfvb_secret_handle.rb +324 -0
- data/lib/ultracart_api/models/sfvb_secret_kind.rb +280 -0
- data/lib/ultracart_api/models/sfvb_secret_kinds_response.rb +234 -0
- data/lib/ultracart_api/models/sfvb_secret_request.rb +440 -0
- data/lib/ultracart_api/models/sfvb_secret_request_create.rb +284 -0
- data/lib/ultracart_api/models/sfvb_secret_requests_response.rb +222 -0
- data/lib/ultracart_api/models/sfvb_secret_sink.rb +250 -0
- data/lib/ultracart_api/version.rb +1 -1
- data/lib/ultracart_api.rb +8 -0
- metadata +18 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 00666a9bf01ef4230812762f575d67f10482bba350bd40952ba485c405ebde29
|
|
4
|
+
data.tar.gz: b2a50501d6cad4f28cb8f98beaeb379f19df30d8185bfad75d7775ffd5478205
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: eab1417ea0f102c391989bbf39a7356175d9070c18b710474f09c911ce9fcb12086e38de37b1f343f897afeab6a2fc2fb3861e0224fa18248d14b5f7eb08c862
|
|
7
|
+
data.tar.gz: 25d9f4c87f0d91cec8b10f02f15db07e10c408700c1a62f5563374ab436cfc74e1d1e207996132bf7122c2a4af04da0fcf626c8307183ecccea7853268e1f5cb
|
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.203
|
|
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.203'
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
install:
|
|
@@ -496,6 +496,7 @@ Class | Method | HTTP request | Description
|
|
|
496
496
|
*UltracartClient::SfvbApi* | [**delete_sfvb_preview_session**](docs/SfvbApi.md#delete_sfvb_preview_session) | **DELETE** /sfvb/storefronts/{storefront_oid}/preview_sessions/{preview_session_id} | Delete a preview session
|
|
497
497
|
*UltracartClient::SfvbApi* | [**delete_sfvb_redirect**](docs/SfvbApi.md#delete_sfvb_redirect) | **DELETE** /sfvb/storefronts/{storefront_oid}/redirects/{redirect_id} | Delete a redirect rule
|
|
498
498
|
*UltracartClient::SfvbApi* | [**delete_sfvb_redirects**](docs/SfvbApi.md#delete_sfvb_redirects) | **POST** /sfvb/storefronts/{storefront_oid}/redirects/delete | Delete up to 5,000 redirect rules in one call
|
|
499
|
+
*UltracartClient::SfvbApi* | [**delete_sfvb_secret_request**](docs/SfvbApi.md#delete_sfvb_secret_request) | **DELETE** /sfvb/secrets/{request_id} | Cancel a pending secret request
|
|
499
500
|
*UltracartClient::SfvbApi* | [**detach_sfvb_blog_post_image**](docs/SfvbApi.md#detach_sfvb_blog_post_image) | **POST** /sfvb/storefronts/{storefront_oid}/blog_posts/{blog_post_oid}/images/detach | Detach an image from a blog post
|
|
500
501
|
*UltracartClient::SfvbApi* | [**disable_sfvb_i18n_language**](docs/SfvbApi.md#disable_sfvb_i18n_language) | **POST** /sfvb/storefronts/{storefront_oid}/i18n/languages/{code}/disable | Disable a language
|
|
501
502
|
*UltracartClient::SfvbApi* | [**disable_sfvb_upsell_offer**](docs/SfvbApi.md#disable_sfvb_upsell_offer) | **POST** /sfvb/storefronts/{storefront_oid}/upsell_offers/{upsell_offer_oid}/disable | Disable an upsell offer
|
|
@@ -554,6 +555,9 @@ Class | Method | HTTP request | Description
|
|
|
554
555
|
*UltracartClient::SfvbApi* | [**get_sfvb_recording_settings**](docs/SfvbApi.md#get_sfvb_recording_settings) | **GET** /sfvb/storefronts/{storefront_oid}/recording_settings | Get the storefront's screen recording settings
|
|
555
556
|
*UltracartClient::SfvbApi* | [**get_sfvb_redirect**](docs/SfvbApi.md#get_sfvb_redirect) | **GET** /sfvb/storefronts/{storefront_oid}/redirects/{redirect_id} | Read one redirect rule
|
|
556
557
|
*UltracartClient::SfvbApi* | [**get_sfvb_redirects**](docs/SfvbApi.md#get_sfvb_redirects) | **GET** /sfvb/storefronts/{storefront_oid}/redirects | List the storefront's redirect rules
|
|
558
|
+
*UltracartClient::SfvbApi* | [**get_sfvb_secret_kinds**](docs/SfvbApi.md#get_sfvb_secret_kinds) | **GET** /sfvb/secrets/kinds | List the secrets this server collects
|
|
559
|
+
*UltracartClient::SfvbApi* | [**get_sfvb_secret_request**](docs/SfvbApi.md#get_sfvb_secret_request) | **GET** /sfvb/secrets/{request_id} | Read one secret request
|
|
560
|
+
*UltracartClient::SfvbApi* | [**get_sfvb_secret_requests**](docs/SfvbApi.md#get_sfvb_secret_requests) | **GET** /sfvb/secrets | List this sign-in's secret requests
|
|
557
561
|
*UltracartClient::SfvbApi* | [**get_sfvb_server_log**](docs/SfvbApi.md#get_sfvb_server_log) | **GET** /sfvb/storefronts/{storefront_oid}/logs/{log_id} | Get one storefront render log
|
|
558
562
|
*UltracartClient::SfvbApi* | [**get_sfvb_site_attributes**](docs/SfvbApi.md#get_sfvb_site_attributes) | **GET** /sfvb/storefronts/{storefront_oid}/attributes | Read a storefront's site attributes
|
|
559
563
|
*UltracartClient::SfvbApi* | [**get_sfvb_test_orders**](docs/SfvbApi.md#get_sfvb_test_orders) | **GET** /sfvb/storefronts/{storefront_oid}/test_orders | List recent test orders
|
|
@@ -570,6 +574,7 @@ Class | Method | HTTP request | Description
|
|
|
570
574
|
*UltracartClient::SfvbApi* | [**insert_sfvb_blog_post**](docs/SfvbApi.md#insert_sfvb_blog_post) | **POST** /sfvb/storefronts/{storefront_oid}/blog_posts | Create a blog post
|
|
571
575
|
*UltracartClient::SfvbApi* | [**insert_sfvb_page**](docs/SfvbApi.md#insert_sfvb_page) | **POST** /sfvb/storefronts/{storefront_oid}/pages | Create a page
|
|
572
576
|
*UltracartClient::SfvbApi* | [**insert_sfvb_redirect**](docs/SfvbApi.md#insert_sfvb_redirect) | **POST** /sfvb/storefronts/{storefront_oid}/redirects | Create a 301 redirect rule
|
|
577
|
+
*UltracartClient::SfvbApi* | [**insert_sfvb_secret_request**](docs/SfvbApi.md#insert_sfvb_secret_request) | **POST** /sfvb/secrets | Ask a person to enter secret values
|
|
573
578
|
*UltracartClient::SfvbApi* | [**insert_sfvb_upsell_offer**](docs/SfvbApi.md#insert_sfvb_upsell_offer) | **POST** /sfvb/storefronts/{storefront_oid}/upsell_offers | Create an upsell offer
|
|
574
579
|
*UltracartClient::SfvbApi* | [**insert_sfvb_upsell_path**](docs/SfvbApi.md#insert_sfvb_upsell_path) | **POST** /sfvb/storefronts/{storefront_oid}/upsell_paths | Create an upsell path
|
|
575
580
|
*UltracartClient::SfvbApi* | [**install_sfvb_library_entry**](docs/SfvbApi.md#install_sfvb_library_entry) | **POST** /sfvb/storefronts/{storefront_oid}/library/{library_oid}/install | Install a library entry into a storefront
|
|
@@ -599,6 +604,7 @@ Class | Method | HTTP request | Description
|
|
|
599
604
|
*UltracartClient::SfvbApi* | [**put_sfvb_item_attributes**](docs/SfvbApi.md#put_sfvb_item_attributes) | **PUT** /sfvb/storefronts/{storefront_oid}/items/attributes | Change some of an item's attributes
|
|
600
605
|
*UltracartClient::SfvbApi* | [**put_sfvb_item_content**](docs/SfvbApi.md#put_sfvb_item_content) | **PUT** /sfvb/storefronts/{storefront_oid}/items/content | Change an item's title or long description
|
|
601
606
|
*UltracartClient::SfvbApi* | [**put_sfvb_item_multimedia**](docs/SfvbApi.md#put_sfvb_item_multimedia) | **PUT** /sfvb/storefronts/{storefront_oid}/items/multimedia | Attach an image to an item
|
|
607
|
+
*UltracartClient::SfvbApi* | [**put_sfvb_item_multimedia_description**](docs/SfvbApi.md#put_sfvb_item_multimedia_description) | **PUT** /sfvb/storefronts/{storefront_oid}/items/multimedia/description | Change an item image's description
|
|
602
608
|
*UltracartClient::SfvbApi* | [**put_sfvb_item_pricing**](docs/SfvbApi.md#put_sfvb_item_pricing) | **PUT** /sfvb/storefronts/{storefront_oid}/items/pricing | Change what an item charges
|
|
603
609
|
*UltracartClient::SfvbApi* | [**put_sfvb_item_related**](docs/SfvbApi.md#put_sfvb_item_related) | **PUT** /sfvb/storefronts/{storefront_oid}/items/related | Replace an item's related items
|
|
604
610
|
*UltracartClient::SfvbApi* | [**put_sfvb_item_seo**](docs/SfvbApi.md#put_sfvb_item_seo) | **PUT** /sfvb/storefronts/{storefront_oid}/items/seo | Change an item's search metadata
|
|
@@ -621,6 +627,7 @@ Class | Method | HTTP request | Description
|
|
|
621
627
|
*UltracartClient::SfvbApi* | [**resolve_sfvb_template**](docs/SfvbApi.md#resolve_sfvb_template) | **GET** /sfvb/storefronts/{storefront_oid}/templates/resolve | Resolve a template name to the file a page renders
|
|
622
628
|
*UltracartClient::SfvbApi* | [**revert_sfvb_container**](docs/SfvbApi.md#revert_sfvb_container) | **POST** /sfvb/storefronts/{storefront_oid}/containers/{owner_type}/{owner_object_id}/revert | Revert a container stored outside the file system
|
|
623
629
|
*UltracartClient::SfvbApi* | [**revert_sfvb_file**](docs/SfvbApi.md#revert_sfvb_file) | **POST** /sfvb/storefronts/{storefront_oid}/files/revert | Revert a storefront file to an earlier version
|
|
630
|
+
*UltracartClient::SfvbApi* | [**revoke_sfvb_secret_request**](docs/SfvbApi.md#revoke_sfvb_secret_request) | **POST** /sfvb/secrets/{request_id}/revoke | Revoke a fulfilled request's unused handles
|
|
624
631
|
*UltracartClient::SfvbApi* | [**search_sfvb_files**](docs/SfvbApi.md#search_sfvb_files) | **POST** /sfvb/storefronts/{storefront_oid}/files/search | Search storefront files
|
|
625
632
|
*UltracartClient::SfvbApi* | [**search_sfvb_library**](docs/SfvbApi.md#search_sfvb_library) | **GET** /sfvb/storefronts/{storefront_oid}/library | Search the element library
|
|
626
633
|
*UltracartClient::SfvbApi* | [**set_sfvb_library_screenshot**](docs/SfvbApi.md#set_sfvb_library_screenshot) | **PUT** /sfvb/storefronts/{storefront_oid}/library/{library_oid}/screenshot | Set a library entry's screenshot
|
|
@@ -1937,6 +1944,7 @@ Class | Method | HTTP request | Description
|
|
|
1937
1944
|
- [UltracartClient::SfvbItemContainersResponse](docs/SfvbItemContainersResponse.md)
|
|
1938
1945
|
- [UltracartClient::SfvbItemContentRequest](docs/SfvbItemContentRequest.md)
|
|
1939
1946
|
- [UltracartClient::SfvbItemMultimedia](docs/SfvbItemMultimedia.md)
|
|
1947
|
+
- [UltracartClient::SfvbItemMultimediaDescriptionRequest](docs/SfvbItemMultimediaDescriptionRequest.md)
|
|
1940
1948
|
- [UltracartClient::SfvbItemMultimediaRequest](docs/SfvbItemMultimediaRequest.md)
|
|
1941
1949
|
- [UltracartClient::SfvbItemPricing](docs/SfvbItemPricing.md)
|
|
1942
1950
|
- [UltracartClient::SfvbItemPricingRequest](docs/SfvbItemPricingRequest.md)
|
|
@@ -2035,6 +2043,13 @@ Class | Method | HTTP request | Description
|
|
|
2035
2043
|
- [UltracartClient::SfvbRedirectsResponse](docs/SfvbRedirectsResponse.md)
|
|
2036
2044
|
- [UltracartClient::SfvbRenderRequest](docs/SfvbRenderRequest.md)
|
|
2037
2045
|
- [UltracartClient::SfvbRenderResponse](docs/SfvbRenderResponse.md)
|
|
2046
|
+
- [UltracartClient::SfvbSecretHandle](docs/SfvbSecretHandle.md)
|
|
2047
|
+
- [UltracartClient::SfvbSecretKind](docs/SfvbSecretKind.md)
|
|
2048
|
+
- [UltracartClient::SfvbSecretKindsResponse](docs/SfvbSecretKindsResponse.md)
|
|
2049
|
+
- [UltracartClient::SfvbSecretRequest](docs/SfvbSecretRequest.md)
|
|
2050
|
+
- [UltracartClient::SfvbSecretRequestCreate](docs/SfvbSecretRequestCreate.md)
|
|
2051
|
+
- [UltracartClient::SfvbSecretRequestsResponse](docs/SfvbSecretRequestsResponse.md)
|
|
2052
|
+
- [UltracartClient::SfvbSecretSink](docs/SfvbSecretSink.md)
|
|
2038
2053
|
- [UltracartClient::SfvbServerLog](docs/SfvbServerLog.md)
|
|
2039
2054
|
- [UltracartClient::SfvbServerLogDetail](docs/SfvbServerLogDetail.md)
|
|
2040
2055
|
- [UltracartClient::SfvbServerLogEntry](docs/SfvbServerLogEntry.md)
|
|
@@ -2250,6 +2265,8 @@ Not every change is committed to every SDK.
|
|
|
2250
2265
|
|
|
2251
2266
|
| Version | Date | Comments |
|
|
2252
2267
|
| --: | :-: | --- |
|
|
2268
|
+
| 4.1.203 | 10/15/2026 | sfvb internal testing |
|
|
2269
|
+
| 4.1.202 | 10/13/2026 | sfvb internal testing |
|
|
2253
2270
|
| 4.1.201 | 10/12/2026 | sfvb internal testing |
|
|
2254
2271
|
| 4.1.200 | 10/09/2026 | sfvb internal testing |
|
|
2255
2272
|
| 4.1.199 | 10/08/2026 | sfvb internal testing |
|
data/docs/OauthApi.md
CHANGED
|
@@ -294,7 +294,7 @@ end
|
|
|
294
294
|
| Name | Type | Description | Notes |
|
|
295
295
|
| ---- | ---- | ----------- | ----- |
|
|
296
296
|
| **client_id** | **String** | The OAuth application client_id. | |
|
|
297
|
-
| **token** | **String** | The OAuth access token that is to be revoked
|
|
297
|
+
| **token** | **String** | The OAuth access token or refresh token that is to be revoked. | |
|
|
298
298
|
|
|
299
299
|
### Return type
|
|
300
300
|
|
data/docs/SfvbApi.md
CHANGED
|
@@ -24,6 +24,7 @@ All URIs are relative to *https://secure.ultracart.com/rest/v2*
|
|
|
24
24
|
| [**delete_sfvb_preview_session**](SfvbApi.md#delete_sfvb_preview_session) | **DELETE** /sfvb/storefronts/{storefront_oid}/preview_sessions/{preview_session_id} | Delete a preview session |
|
|
25
25
|
| [**delete_sfvb_redirect**](SfvbApi.md#delete_sfvb_redirect) | **DELETE** /sfvb/storefronts/{storefront_oid}/redirects/{redirect_id} | Delete a redirect rule |
|
|
26
26
|
| [**delete_sfvb_redirects**](SfvbApi.md#delete_sfvb_redirects) | **POST** /sfvb/storefronts/{storefront_oid}/redirects/delete | Delete up to 5,000 redirect rules in one call |
|
|
27
|
+
| [**delete_sfvb_secret_request**](SfvbApi.md#delete_sfvb_secret_request) | **DELETE** /sfvb/secrets/{request_id} | Cancel a pending secret request |
|
|
27
28
|
| [**detach_sfvb_blog_post_image**](SfvbApi.md#detach_sfvb_blog_post_image) | **POST** /sfvb/storefronts/{storefront_oid}/blog_posts/{blog_post_oid}/images/detach | Detach an image from a blog post |
|
|
28
29
|
| [**disable_sfvb_i18n_language**](SfvbApi.md#disable_sfvb_i18n_language) | **POST** /sfvb/storefronts/{storefront_oid}/i18n/languages/{code}/disable | Disable a language |
|
|
29
30
|
| [**disable_sfvb_upsell_offer**](SfvbApi.md#disable_sfvb_upsell_offer) | **POST** /sfvb/storefronts/{storefront_oid}/upsell_offers/{upsell_offer_oid}/disable | Disable an upsell offer |
|
|
@@ -82,6 +83,9 @@ All URIs are relative to *https://secure.ultracart.com/rest/v2*
|
|
|
82
83
|
| [**get_sfvb_recording_settings**](SfvbApi.md#get_sfvb_recording_settings) | **GET** /sfvb/storefronts/{storefront_oid}/recording_settings | Get the storefront's screen recording settings |
|
|
83
84
|
| [**get_sfvb_redirect**](SfvbApi.md#get_sfvb_redirect) | **GET** /sfvb/storefronts/{storefront_oid}/redirects/{redirect_id} | Read one redirect rule |
|
|
84
85
|
| [**get_sfvb_redirects**](SfvbApi.md#get_sfvb_redirects) | **GET** /sfvb/storefronts/{storefront_oid}/redirects | List the storefront's redirect rules |
|
|
86
|
+
| [**get_sfvb_secret_kinds**](SfvbApi.md#get_sfvb_secret_kinds) | **GET** /sfvb/secrets/kinds | List the secrets this server collects |
|
|
87
|
+
| [**get_sfvb_secret_request**](SfvbApi.md#get_sfvb_secret_request) | **GET** /sfvb/secrets/{request_id} | Read one secret request |
|
|
88
|
+
| [**get_sfvb_secret_requests**](SfvbApi.md#get_sfvb_secret_requests) | **GET** /sfvb/secrets | List this sign-in's secret requests |
|
|
85
89
|
| [**get_sfvb_server_log**](SfvbApi.md#get_sfvb_server_log) | **GET** /sfvb/storefronts/{storefront_oid}/logs/{log_id} | Get one storefront render log |
|
|
86
90
|
| [**get_sfvb_site_attributes**](SfvbApi.md#get_sfvb_site_attributes) | **GET** /sfvb/storefronts/{storefront_oid}/attributes | Read a storefront's site attributes |
|
|
87
91
|
| [**get_sfvb_test_orders**](SfvbApi.md#get_sfvb_test_orders) | **GET** /sfvb/storefronts/{storefront_oid}/test_orders | List recent test orders |
|
|
@@ -98,6 +102,7 @@ All URIs are relative to *https://secure.ultracart.com/rest/v2*
|
|
|
98
102
|
| [**insert_sfvb_blog_post**](SfvbApi.md#insert_sfvb_blog_post) | **POST** /sfvb/storefronts/{storefront_oid}/blog_posts | Create a blog post |
|
|
99
103
|
| [**insert_sfvb_page**](SfvbApi.md#insert_sfvb_page) | **POST** /sfvb/storefronts/{storefront_oid}/pages | Create a page |
|
|
100
104
|
| [**insert_sfvb_redirect**](SfvbApi.md#insert_sfvb_redirect) | **POST** /sfvb/storefronts/{storefront_oid}/redirects | Create a 301 redirect rule |
|
|
105
|
+
| [**insert_sfvb_secret_request**](SfvbApi.md#insert_sfvb_secret_request) | **POST** /sfvb/secrets | Ask a person to enter secret values |
|
|
101
106
|
| [**insert_sfvb_upsell_offer**](SfvbApi.md#insert_sfvb_upsell_offer) | **POST** /sfvb/storefronts/{storefront_oid}/upsell_offers | Create an upsell offer |
|
|
102
107
|
| [**insert_sfvb_upsell_path**](SfvbApi.md#insert_sfvb_upsell_path) | **POST** /sfvb/storefronts/{storefront_oid}/upsell_paths | Create an upsell path |
|
|
103
108
|
| [**install_sfvb_library_entry**](SfvbApi.md#install_sfvb_library_entry) | **POST** /sfvb/storefronts/{storefront_oid}/library/{library_oid}/install | Install a library entry into a storefront |
|
|
@@ -127,6 +132,7 @@ All URIs are relative to *https://secure.ultracart.com/rest/v2*
|
|
|
127
132
|
| [**put_sfvb_item_attributes**](SfvbApi.md#put_sfvb_item_attributes) | **PUT** /sfvb/storefronts/{storefront_oid}/items/attributes | Change some of an item's attributes |
|
|
128
133
|
| [**put_sfvb_item_content**](SfvbApi.md#put_sfvb_item_content) | **PUT** /sfvb/storefronts/{storefront_oid}/items/content | Change an item's title or long description |
|
|
129
134
|
| [**put_sfvb_item_multimedia**](SfvbApi.md#put_sfvb_item_multimedia) | **PUT** /sfvb/storefronts/{storefront_oid}/items/multimedia | Attach an image to an item |
|
|
135
|
+
| [**put_sfvb_item_multimedia_description**](SfvbApi.md#put_sfvb_item_multimedia_description) | **PUT** /sfvb/storefronts/{storefront_oid}/items/multimedia/description | Change an item image's description |
|
|
130
136
|
| [**put_sfvb_item_pricing**](SfvbApi.md#put_sfvb_item_pricing) | **PUT** /sfvb/storefronts/{storefront_oid}/items/pricing | Change what an item charges |
|
|
131
137
|
| [**put_sfvb_item_related**](SfvbApi.md#put_sfvb_item_related) | **PUT** /sfvb/storefronts/{storefront_oid}/items/related | Replace an item's related items |
|
|
132
138
|
| [**put_sfvb_item_seo**](SfvbApi.md#put_sfvb_item_seo) | **PUT** /sfvb/storefronts/{storefront_oid}/items/seo | Change an item's search metadata |
|
|
@@ -149,6 +155,7 @@ All URIs are relative to *https://secure.ultracart.com/rest/v2*
|
|
|
149
155
|
| [**resolve_sfvb_template**](SfvbApi.md#resolve_sfvb_template) | **GET** /sfvb/storefronts/{storefront_oid}/templates/resolve | Resolve a template name to the file a page renders |
|
|
150
156
|
| [**revert_sfvb_container**](SfvbApi.md#revert_sfvb_container) | **POST** /sfvb/storefronts/{storefront_oid}/containers/{owner_type}/{owner_object_id}/revert | Revert a container stored outside the file system |
|
|
151
157
|
| [**revert_sfvb_file**](SfvbApi.md#revert_sfvb_file) | **POST** /sfvb/storefronts/{storefront_oid}/files/revert | Revert a storefront file to an earlier version |
|
|
158
|
+
| [**revoke_sfvb_secret_request**](SfvbApi.md#revoke_sfvb_secret_request) | **POST** /sfvb/secrets/{request_id}/revoke | Revoke a fulfilled request's unused handles |
|
|
152
159
|
| [**search_sfvb_files**](SfvbApi.md#search_sfvb_files) | **POST** /sfvb/storefronts/{storefront_oid}/files/search | Search storefront files |
|
|
153
160
|
| [**search_sfvb_library**](SfvbApi.md#search_sfvb_library) | **GET** /sfvb/storefronts/{storefront_oid}/library | Search the element library |
|
|
154
161
|
| [**set_sfvb_library_screenshot**](SfvbApi.md#set_sfvb_library_screenshot) | **PUT** /sfvb/storefronts/{storefront_oid}/library/{library_oid}/screenshot | Set a library entry's screenshot |
|
|
@@ -611,7 +618,7 @@ end
|
|
|
611
618
|
|
|
612
619
|
One time link that opens a preview in a browser with no UltraCart login
|
|
613
620
|
|
|
614
|
-
The preview URL only works in a browser already signed in to UltraCart on the storefront's own host, and an agent's built in browser never is. This returns a single use access_url on the storefront host instead. Opening it gets past the storefront lock, shows the requested theme and applies the requested preview session for the rest of that browser session, then redirects to path. It expires two minutes after issue or on first use.
|
|
621
|
+
The preview URL only works in a browser already signed in to UltraCart on the storefront's own host, and an agent's built in browser never is. This returns a single use access_url on the storefront host instead. Opening it gets past the storefront lock, shows the requested theme and applies the requested preview session for the rest of that browser session, then redirects to path. It expires two minutes after issue or on first use. With a preview session, pages opened afterwards carry an X-UltraCart-Preview header of applied or not-applied. Without one, the pages are the live content and carry no X-UltraCart-Preview header. Requires a token that resolves to a user, so use the device authorization flow.
|
|
615
622
|
|
|
616
623
|
|
|
617
624
|
### Examples
|
|
@@ -1264,6 +1271,59 @@ end
|
|
|
1264
1271
|
- **Accept**: application/json
|
|
1265
1272
|
|
|
1266
1273
|
|
|
1274
|
+
## delete_sfvb_secret_request
|
|
1275
|
+
|
|
1276
|
+
> <SfvbSecretRequest> delete_sfvb_secret_request(request_id)
|
|
1277
|
+
|
|
1278
|
+
Cancel a pending secret request
|
|
1279
|
+
|
|
1280
|
+
Withdraws a request nobody has filled in yet, with its handles, which frees one of the five pending slots a sign-in has. A fulfilled request cannot be cancelled; revoke its handles instead.
|
|
1281
|
+
|
|
1282
|
+
|
|
1283
|
+
### Examples
|
|
1284
|
+
|
|
1285
|
+
|
|
1286
|
+
(No example for this operation).
|
|
1287
|
+
|
|
1288
|
+
|
|
1289
|
+
#### Using the delete_sfvb_secret_request_with_http_info variant
|
|
1290
|
+
|
|
1291
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1292
|
+
|
|
1293
|
+
> <Array(<SfvbSecretRequest>, Integer, Hash)> delete_sfvb_secret_request_with_http_info(request_id)
|
|
1294
|
+
|
|
1295
|
+
```ruby
|
|
1296
|
+
begin
|
|
1297
|
+
# Cancel a pending secret request
|
|
1298
|
+
data, status_code, headers = api_instance.delete_sfvb_secret_request_with_http_info(request_id)
|
|
1299
|
+
p status_code # => 2xx
|
|
1300
|
+
p headers # => { ... }
|
|
1301
|
+
p data # => <SfvbSecretRequest>
|
|
1302
|
+
rescue UltracartClient::ApiError => e
|
|
1303
|
+
puts "Error when calling SfvbApi->delete_sfvb_secret_request_with_http_info: #{e}"
|
|
1304
|
+
end
|
|
1305
|
+
```
|
|
1306
|
+
|
|
1307
|
+
### Parameters
|
|
1308
|
+
|
|
1309
|
+
| Name | Type | Description | Notes |
|
|
1310
|
+
| ---- | ---- | ----------- | ----- |
|
|
1311
|
+
| **request_id** | **String** | | |
|
|
1312
|
+
|
|
1313
|
+
### Return type
|
|
1314
|
+
|
|
1315
|
+
[**SfvbSecretRequest**](SfvbSecretRequest.md)
|
|
1316
|
+
|
|
1317
|
+
### Authorization
|
|
1318
|
+
|
|
1319
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
|
1320
|
+
|
|
1321
|
+
### HTTP request headers
|
|
1322
|
+
|
|
1323
|
+
- **Content-Type**: Not defined
|
|
1324
|
+
- **Accept**: application/json
|
|
1325
|
+
|
|
1326
|
+
|
|
1267
1327
|
## detach_sfvb_blog_post_image
|
|
1268
1328
|
|
|
1269
1329
|
> <SfvbBlogPostDetail> detach_sfvb_blog_post_image(storefront_oid, blog_post_oid, blog_post_image_request)
|
|
@@ -4417,6 +4477,161 @@ end
|
|
|
4417
4477
|
- **Accept**: application/json
|
|
4418
4478
|
|
|
4419
4479
|
|
|
4480
|
+
## get_sfvb_secret_kinds
|
|
4481
|
+
|
|
4482
|
+
> <SfvbSecretKindsResponse> get_sfvb_secret_kinds
|
|
4483
|
+
|
|
4484
|
+
List the secrets this server collects
|
|
4485
|
+
|
|
4486
|
+
The kinds of secret value, with what each looks like, and the secret fields (sinks) a handle can be written to. Request a handle for a sink with POST secrets.
|
|
4487
|
+
|
|
4488
|
+
|
|
4489
|
+
### Examples
|
|
4490
|
+
|
|
4491
|
+
|
|
4492
|
+
(No example for this operation).
|
|
4493
|
+
|
|
4494
|
+
|
|
4495
|
+
#### Using the get_sfvb_secret_kinds_with_http_info variant
|
|
4496
|
+
|
|
4497
|
+
This returns an Array which contains the response data, status code and headers.
|
|
4498
|
+
|
|
4499
|
+
> <Array(<SfvbSecretKindsResponse>, Integer, Hash)> get_sfvb_secret_kinds_with_http_info
|
|
4500
|
+
|
|
4501
|
+
```ruby
|
|
4502
|
+
begin
|
|
4503
|
+
# List the secrets this server collects
|
|
4504
|
+
data, status_code, headers = api_instance.get_sfvb_secret_kinds_with_http_info
|
|
4505
|
+
p status_code # => 2xx
|
|
4506
|
+
p headers # => { ... }
|
|
4507
|
+
p data # => <SfvbSecretKindsResponse>
|
|
4508
|
+
rescue UltracartClient::ApiError => e
|
|
4509
|
+
puts "Error when calling SfvbApi->get_sfvb_secret_kinds_with_http_info: #{e}"
|
|
4510
|
+
end
|
|
4511
|
+
```
|
|
4512
|
+
|
|
4513
|
+
### Parameters
|
|
4514
|
+
|
|
4515
|
+
This endpoint does not need any parameter.
|
|
4516
|
+
|
|
4517
|
+
### Return type
|
|
4518
|
+
|
|
4519
|
+
[**SfvbSecretKindsResponse**](SfvbSecretKindsResponse.md)
|
|
4520
|
+
|
|
4521
|
+
### Authorization
|
|
4522
|
+
|
|
4523
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
|
4524
|
+
|
|
4525
|
+
### HTTP request headers
|
|
4526
|
+
|
|
4527
|
+
- **Content-Type**: Not defined
|
|
4528
|
+
- **Accept**: application/json
|
|
4529
|
+
|
|
4530
|
+
|
|
4531
|
+
## get_sfvb_secret_request
|
|
4532
|
+
|
|
4533
|
+
> <SfvbSecretRequest> get_sfvb_secret_request(request_id)
|
|
4534
|
+
|
|
4535
|
+
Read one secret request
|
|
4536
|
+
|
|
4537
|
+
Poll this every interval_seconds after making a request. status is pending until a person enters the values, then fulfilled, and expired if nobody does within 24 hours. handles lists each handle with its own status, and a fingerprint (the last few characters as a mask shows them) once its value is entered. Never a value.
|
|
4538
|
+
|
|
4539
|
+
|
|
4540
|
+
### Examples
|
|
4541
|
+
|
|
4542
|
+
|
|
4543
|
+
(No example for this operation).
|
|
4544
|
+
|
|
4545
|
+
|
|
4546
|
+
#### Using the get_sfvb_secret_request_with_http_info variant
|
|
4547
|
+
|
|
4548
|
+
This returns an Array which contains the response data, status code and headers.
|
|
4549
|
+
|
|
4550
|
+
> <Array(<SfvbSecretRequest>, Integer, Hash)> get_sfvb_secret_request_with_http_info(request_id)
|
|
4551
|
+
|
|
4552
|
+
```ruby
|
|
4553
|
+
begin
|
|
4554
|
+
# Read one secret request
|
|
4555
|
+
data, status_code, headers = api_instance.get_sfvb_secret_request_with_http_info(request_id)
|
|
4556
|
+
p status_code # => 2xx
|
|
4557
|
+
p headers # => { ... }
|
|
4558
|
+
p data # => <SfvbSecretRequest>
|
|
4559
|
+
rescue UltracartClient::ApiError => e
|
|
4560
|
+
puts "Error when calling SfvbApi->get_sfvb_secret_request_with_http_info: #{e}"
|
|
4561
|
+
end
|
|
4562
|
+
```
|
|
4563
|
+
|
|
4564
|
+
### Parameters
|
|
4565
|
+
|
|
4566
|
+
| Name | Type | Description | Notes |
|
|
4567
|
+
| ---- | ---- | ----------- | ----- |
|
|
4568
|
+
| **request_id** | **String** | | |
|
|
4569
|
+
|
|
4570
|
+
### Return type
|
|
4571
|
+
|
|
4572
|
+
[**SfvbSecretRequest**](SfvbSecretRequest.md)
|
|
4573
|
+
|
|
4574
|
+
### Authorization
|
|
4575
|
+
|
|
4576
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
|
4577
|
+
|
|
4578
|
+
### HTTP request headers
|
|
4579
|
+
|
|
4580
|
+
- **Content-Type**: Not defined
|
|
4581
|
+
- **Accept**: application/json
|
|
4582
|
+
|
|
4583
|
+
|
|
4584
|
+
## get_sfvb_secret_requests
|
|
4585
|
+
|
|
4586
|
+
> <SfvbSecretRequestsResponse> get_sfvb_secret_requests
|
|
4587
|
+
|
|
4588
|
+
List this sign-in's secret requests
|
|
4589
|
+
|
|
4590
|
+
Requests made with this sign-in in the last 24 hours, newest first, at most 50, without their handles. Read one request for its handles.
|
|
4591
|
+
|
|
4592
|
+
|
|
4593
|
+
### Examples
|
|
4594
|
+
|
|
4595
|
+
|
|
4596
|
+
(No example for this operation).
|
|
4597
|
+
|
|
4598
|
+
|
|
4599
|
+
#### Using the get_sfvb_secret_requests_with_http_info variant
|
|
4600
|
+
|
|
4601
|
+
This returns an Array which contains the response data, status code and headers.
|
|
4602
|
+
|
|
4603
|
+
> <Array(<SfvbSecretRequestsResponse>, Integer, Hash)> get_sfvb_secret_requests_with_http_info
|
|
4604
|
+
|
|
4605
|
+
```ruby
|
|
4606
|
+
begin
|
|
4607
|
+
# List this sign-in's secret requests
|
|
4608
|
+
data, status_code, headers = api_instance.get_sfvb_secret_requests_with_http_info
|
|
4609
|
+
p status_code # => 2xx
|
|
4610
|
+
p headers # => { ... }
|
|
4611
|
+
p data # => <SfvbSecretRequestsResponse>
|
|
4612
|
+
rescue UltracartClient::ApiError => e
|
|
4613
|
+
puts "Error when calling SfvbApi->get_sfvb_secret_requests_with_http_info: #{e}"
|
|
4614
|
+
end
|
|
4615
|
+
```
|
|
4616
|
+
|
|
4617
|
+
### Parameters
|
|
4618
|
+
|
|
4619
|
+
This endpoint does not need any parameter.
|
|
4620
|
+
|
|
4621
|
+
### Return type
|
|
4622
|
+
|
|
4623
|
+
[**SfvbSecretRequestsResponse**](SfvbSecretRequestsResponse.md)
|
|
4624
|
+
|
|
4625
|
+
### Authorization
|
|
4626
|
+
|
|
4627
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
|
4628
|
+
|
|
4629
|
+
### HTTP request headers
|
|
4630
|
+
|
|
4631
|
+
- **Content-Type**: Not defined
|
|
4632
|
+
- **Accept**: application/json
|
|
4633
|
+
|
|
4634
|
+
|
|
4420
4635
|
## get_sfvb_server_log
|
|
4421
4636
|
|
|
4422
4637
|
> <SfvbServerLogDetail> get_sfvb_server_log(storefront_oid, log_id, opts)
|
|
@@ -5283,6 +5498,59 @@ end
|
|
|
5283
5498
|
- **Accept**: application/json
|
|
5284
5499
|
|
|
5285
5500
|
|
|
5501
|
+
## insert_sfvb_secret_request
|
|
5502
|
+
|
|
5503
|
+
> <SfvbSecretRequest> insert_sfvb_secret_request(secret_request)
|
|
5504
|
+
|
|
5505
|
+
Ask a person to enter secret values
|
|
5506
|
+
|
|
5507
|
+
Never ask for a credential in the conversation. This makes a handle for each sink (and each key, for a bulk request) at once, pending until a person enters the values on request_url. Show the person request_url and user_code and never open or fill in the page yourself. Poll GET secrets/{request_id} every interval_seconds until status is fulfilled, then send each handle in its secret field. The server writes the value in its place. A handle works only for this sign-in, its sink and its target, for ttl_seconds and uses writes. A request lapses after 24 hours, and shares the five pending requests a sign-in has with approvals. Asking again for the same thing returns the pending request (200) rather than a new one (201). Requires a token that resolves to a user, so use the device authorization flow. A secret request is never an approval.
|
|
5508
|
+
|
|
5509
|
+
|
|
5510
|
+
### Examples
|
|
5511
|
+
|
|
5512
|
+
|
|
5513
|
+
(No example for this operation).
|
|
5514
|
+
|
|
5515
|
+
|
|
5516
|
+
#### Using the insert_sfvb_secret_request_with_http_info variant
|
|
5517
|
+
|
|
5518
|
+
This returns an Array which contains the response data, status code and headers.
|
|
5519
|
+
|
|
5520
|
+
> <Array(<SfvbSecretRequest>, Integer, Hash)> insert_sfvb_secret_request_with_http_info(secret_request)
|
|
5521
|
+
|
|
5522
|
+
```ruby
|
|
5523
|
+
begin
|
|
5524
|
+
# Ask a person to enter secret values
|
|
5525
|
+
data, status_code, headers = api_instance.insert_sfvb_secret_request_with_http_info(secret_request)
|
|
5526
|
+
p status_code # => 2xx
|
|
5527
|
+
p headers # => { ... }
|
|
5528
|
+
p data # => <SfvbSecretRequest>
|
|
5529
|
+
rescue UltracartClient::ApiError => e
|
|
5530
|
+
puts "Error when calling SfvbApi->insert_sfvb_secret_request_with_http_info: #{e}"
|
|
5531
|
+
end
|
|
5532
|
+
```
|
|
5533
|
+
|
|
5534
|
+
### Parameters
|
|
5535
|
+
|
|
5536
|
+
| Name | Type | Description | Notes |
|
|
5537
|
+
| ---- | ---- | ----------- | ----- |
|
|
5538
|
+
| **secret_request** | [**SfvbSecretRequestCreate**](SfvbSecretRequestCreate.md) | The request | |
|
|
5539
|
+
|
|
5540
|
+
### Return type
|
|
5541
|
+
|
|
5542
|
+
[**SfvbSecretRequest**](SfvbSecretRequest.md)
|
|
5543
|
+
|
|
5544
|
+
### Authorization
|
|
5545
|
+
|
|
5546
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
|
5547
|
+
|
|
5548
|
+
### HTTP request headers
|
|
5549
|
+
|
|
5550
|
+
- **Content-Type**: application/json; charset=UTF-8
|
|
5551
|
+
- **Accept**: application/json
|
|
5552
|
+
|
|
5553
|
+
|
|
5286
5554
|
## insert_sfvb_upsell_offer
|
|
5287
5555
|
|
|
5288
5556
|
> <SfvbUpsellOffer> insert_sfvb_upsell_offer(storefront_oid, upsell_offer)
|
|
@@ -6894,6 +7162,62 @@ end
|
|
|
6894
7162
|
- **Accept**: application/json
|
|
6895
7163
|
|
|
6896
7164
|
|
|
7165
|
+
## put_sfvb_item_multimedia_description
|
|
7166
|
+
|
|
7167
|
+
> <SfvbItemResponse> put_sfvb_item_multimedia_description(storefront_oid, item_multimedia_description_request, opts)
|
|
7168
|
+
|
|
7169
|
+
Change an item image's description
|
|
7170
|
+
|
|
7171
|
+
Changes the description (alt text) of one image already attached to the item, in place. The image is not touched. Name it by merchant_item_multimedia_oid, or by exactly one of code or default; gallery images often have no code. An empty description clears it, so the render falls back again. Send the description_sha256 you read as current_sha256 so a change made since is not overwritten. A description written here takes the place of the machine description, and image recognition never overwrites it.
|
|
7172
|
+
|
|
7173
|
+
|
|
7174
|
+
### Examples
|
|
7175
|
+
|
|
7176
|
+
|
|
7177
|
+
(No example for this operation).
|
|
7178
|
+
|
|
7179
|
+
|
|
7180
|
+
#### Using the put_sfvb_item_multimedia_description_with_http_info variant
|
|
7181
|
+
|
|
7182
|
+
This returns an Array which contains the response data, status code and headers.
|
|
7183
|
+
|
|
7184
|
+
> <Array(<SfvbItemResponse>, Integer, Hash)> put_sfvb_item_multimedia_description_with_http_info(storefront_oid, item_multimedia_description_request, opts)
|
|
7185
|
+
|
|
7186
|
+
```ruby
|
|
7187
|
+
begin
|
|
7188
|
+
# Change an item image's description
|
|
7189
|
+
data, status_code, headers = api_instance.put_sfvb_item_multimedia_description_with_http_info(storefront_oid, item_multimedia_description_request, opts)
|
|
7190
|
+
p status_code # => 2xx
|
|
7191
|
+
p headers # => { ... }
|
|
7192
|
+
p data # => <SfvbItemResponse>
|
|
7193
|
+
rescue UltracartClient::ApiError => e
|
|
7194
|
+
puts "Error when calling SfvbApi->put_sfvb_item_multimedia_description_with_http_info: #{e}"
|
|
7195
|
+
end
|
|
7196
|
+
```
|
|
7197
|
+
|
|
7198
|
+
### Parameters
|
|
7199
|
+
|
|
7200
|
+
| Name | Type | Description | Notes |
|
|
7201
|
+
| ---- | ---- | ----------- | ----- |
|
|
7202
|
+
| **storefront_oid** | **Integer** | | |
|
|
7203
|
+
| **item_multimedia_description_request** | [**SfvbItemMultimediaDescriptionRequest**](SfvbItemMultimediaDescriptionRequest.md) | The image and its new description | |
|
|
7204
|
+
| **merchant_item_id** | **String** | | [optional] |
|
|
7205
|
+
| **merchant_item_oid** | **Integer** | | [optional] |
|
|
7206
|
+
|
|
7207
|
+
### Return type
|
|
7208
|
+
|
|
7209
|
+
[**SfvbItemResponse**](SfvbItemResponse.md)
|
|
7210
|
+
|
|
7211
|
+
### Authorization
|
|
7212
|
+
|
|
7213
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
|
7214
|
+
|
|
7215
|
+
### HTTP request headers
|
|
7216
|
+
|
|
7217
|
+
- **Content-Type**: application/json
|
|
7218
|
+
- **Accept**: application/json
|
|
7219
|
+
|
|
7220
|
+
|
|
6897
7221
|
## put_sfvb_item_pricing
|
|
6898
7222
|
|
|
6899
7223
|
> <SfvbItemPricing> put_sfvb_item_pricing(storefront_oid, if_match, item_pricing_request, opts)
|
|
@@ -8112,6 +8436,59 @@ end
|
|
|
8112
8436
|
- **Accept**: application/json
|
|
8113
8437
|
|
|
8114
8438
|
|
|
8439
|
+
## revoke_sfvb_secret_request
|
|
8440
|
+
|
|
8441
|
+
> <SfvbSecretRequest> revoke_sfvb_secret_request(request_id)
|
|
8442
|
+
|
|
8443
|
+
Revoke a fulfilled request's unused handles
|
|
8444
|
+
|
|
8445
|
+
Every handle of the request that no write has used up stops working at once, and its value is deleted. A handle a write is using right now is left to that write. Use it when the plan changed, or a handle may have leaked.
|
|
8446
|
+
|
|
8447
|
+
|
|
8448
|
+
### Examples
|
|
8449
|
+
|
|
8450
|
+
|
|
8451
|
+
(No example for this operation).
|
|
8452
|
+
|
|
8453
|
+
|
|
8454
|
+
#### Using the revoke_sfvb_secret_request_with_http_info variant
|
|
8455
|
+
|
|
8456
|
+
This returns an Array which contains the response data, status code and headers.
|
|
8457
|
+
|
|
8458
|
+
> <Array(<SfvbSecretRequest>, Integer, Hash)> revoke_sfvb_secret_request_with_http_info(request_id)
|
|
8459
|
+
|
|
8460
|
+
```ruby
|
|
8461
|
+
begin
|
|
8462
|
+
# Revoke a fulfilled request's unused handles
|
|
8463
|
+
data, status_code, headers = api_instance.revoke_sfvb_secret_request_with_http_info(request_id)
|
|
8464
|
+
p status_code # => 2xx
|
|
8465
|
+
p headers # => { ... }
|
|
8466
|
+
p data # => <SfvbSecretRequest>
|
|
8467
|
+
rescue UltracartClient::ApiError => e
|
|
8468
|
+
puts "Error when calling SfvbApi->revoke_sfvb_secret_request_with_http_info: #{e}"
|
|
8469
|
+
end
|
|
8470
|
+
```
|
|
8471
|
+
|
|
8472
|
+
### Parameters
|
|
8473
|
+
|
|
8474
|
+
| Name | Type | Description | Notes |
|
|
8475
|
+
| ---- | ---- | ----------- | ----- |
|
|
8476
|
+
| **request_id** | **String** | | |
|
|
8477
|
+
|
|
8478
|
+
### Return type
|
|
8479
|
+
|
|
8480
|
+
[**SfvbSecretRequest**](SfvbSecretRequest.md)
|
|
8481
|
+
|
|
8482
|
+
### Authorization
|
|
8483
|
+
|
|
8484
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
|
8485
|
+
|
|
8486
|
+
### HTTP request headers
|
|
8487
|
+
|
|
8488
|
+
- **Content-Type**: Not defined
|
|
8489
|
+
- **Accept**: application/json
|
|
8490
|
+
|
|
8491
|
+
|
|
8115
8492
|
## search_sfvb_files
|
|
8116
8493
|
|
|
8117
8494
|
> <SfvbFileSearchResponse> search_sfvb_files(storefront_oid, search_request)
|
data/docs/SfvbEvent.md
CHANGED
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
| **event_dts** | **String** | When it happened, ISO 8601. | [optional] |
|
|
8
8
|
| **event_id** | **String** | Time-ordered id. Pass the last one seen as after to replay what came since. | [optional] |
|
|
9
9
|
| **object_id** | **String** | The id of what changed, such as the approval_id. | [optional] |
|
|
10
|
-
| **object_type** | **String** | What changed, such as approval. | [optional] |
|
|
10
|
+
| **object_type** | **String** | What changed, such as approval or secret_sink. | [optional] |
|
|
11
11
|
| **storefront_oid** | **Integer** | The storefront it concerns. Empty for merchant-level objects. | [optional] |
|
|
12
|
-
| **type** | **String** | approval.decided (approved, denied, cancelled or refused by the script review)
|
|
12
|
+
| **type** | **String** | approval.decided (approved, denied, cancelled or refused by the script review), approval.ready (the review finished and the person can decide) or secret_sink.completed (a person entered the values of a secret request; object_id is the request id). | [optional] |
|
|
13
13
|
|
|
14
14
|
## Example
|
|
15
15
|
|
data/docs/SfvbItemMultimedia.md
CHANGED
|
@@ -7,10 +7,14 @@
|
|
|
7
7
|
| **code** | **String** | The image code, which is what an itemimage element's itemImageCode refers to. Empty for the default image. | [optional] |
|
|
8
8
|
| **declared** | **Boolean** | True when a template declares this code. A slot that is attached but not declared is an image nothing on the page is asking for. | [optional] |
|
|
9
9
|
| **default** | **Boolean** | True for the image an itemimage element with no code renders. Default is per media type, so an item may have one default image and one default PDF at the same time. | [optional] |
|
|
10
|
-
| **description** | **String** |
|
|
10
|
+
| **description** | **String** | The merchant's description, stored with the image and rendered as its alt text. When it is empty the render falls back to rekognition_description or to text built from the item's title, depending on the element, so an empty value here is not an empty alt attribute. | [optional] |
|
|
11
|
+
| **description_sha256** | **String** | SHA-256 of description (empty when there is none). Send it as current_sha256 when changing the description so a change made since you read it is not overwritten. | [optional] |
|
|
12
|
+
| **description_source** | **String** | Where the alt text comes from now. merchant when description is set, rekognition when only rekognition_description is, none otherwise. | [optional] |
|
|
11
13
|
| **dimensions** | **String** | Width x height in pixels, when the storage measured the file. | [optional] |
|
|
12
14
|
| **exclude_from_gallery** | **Boolean** | True when the storage marks this image as kept out of the item gallery. | [optional] |
|
|
13
15
|
| **filename** | **String** | The stored file's name. Empty when the slot is declared and nothing is attached. | [optional] |
|
|
16
|
+
| **merchant_item_multimedia_oid** | **Integer** | The stored image's id. Name it to change this image's description when it has no code. | [optional] |
|
|
17
|
+
| **rekognition_description** | **String** | The machine description image recognition produced for the stored image, if any. It is used only while description is empty, and a description written here or in the admin always takes its place. | [optional] |
|
|
14
18
|
| **type** | **String** | The media type the storage recorded. | [optional] |
|
|
15
19
|
| **view_url** | **String** | Where the stored image is served. Absent when nothing is attached to the slot. | [optional] |
|
|
16
20
|
|
|
@@ -24,9 +28,13 @@ instance = UltracartClient::SfvbItemMultimedia.new(
|
|
|
24
28
|
declared: null,
|
|
25
29
|
default: null,
|
|
26
30
|
description: null,
|
|
31
|
+
description_sha256: null,
|
|
32
|
+
description_source: null,
|
|
27
33
|
dimensions: null,
|
|
28
34
|
exclude_from_gallery: null,
|
|
29
35
|
filename: null,
|
|
36
|
+
merchant_item_multimedia_oid: null,
|
|
37
|
+
rekognition_description: null,
|
|
30
38
|
type: null,
|
|
31
39
|
view_url: null
|
|
32
40
|
)
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# UltracartClient::SfvbItemMultimediaDescriptionRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **code** | **String** | The image code, the value an itemimage element's itemImageCode names. | [optional] |
|
|
8
|
+
| **current_sha256** | **String** | The description_sha256 you read. When it is sent and the description has changed since, nothing is written and the call fails with a version conflict. | [optional] |
|
|
9
|
+
| **default** | **Boolean** | The item's default image, which an itemimage element with no code renders. | [optional] |
|
|
10
|
+
| **description** | **String** | The new description, rendered as the image's alt text. An empty string clears it, so the image falls back to the machine description or the element's own fallback. Longer text is cut to 500 characters. | [optional] |
|
|
11
|
+
| **merchant_item_multimedia_oid** | **Integer** | The stored image's id, as an item read reports it. Name this, or one of code or default. | [optional] |
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```ruby
|
|
16
|
+
require 'ultracart_api'
|
|
17
|
+
|
|
18
|
+
instance = UltracartClient::SfvbItemMultimediaDescriptionRequest.new(
|
|
19
|
+
code: null,
|
|
20
|
+
current_sha256: null,
|
|
21
|
+
default: null,
|
|
22
|
+
description: null,
|
|
23
|
+
merchant_item_multimedia_oid: null
|
|
24
|
+
)
|
|
25
|
+
```
|
|
26
|
+
|