ultracart_api 4.1.152 → 4.1.154

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f0ea0de2841710ce3dec7e18831851afe0ed6050c7032c7fb438545e70dfd728
4
- data.tar.gz: fdd7b997d12a5ad7e6e554fba251212dc8385dc0f33ab34d8994613dd8edb224
3
+ metadata.gz: 37ac39f21f4d4926dc445c05679cf88a52c25751ae967e68d2a04ce2db104c86
4
+ data.tar.gz: 97a320a75abbf442e767bbc17d549e1f980687e2db385229f6d75dbe11d4482c
5
5
  SHA512:
6
- metadata.gz: 07e8aa7717a139f16a11934a5935d4c373fc14ad444ceb8ee9d239aec4ba0b14e60a5144027001c41db199316ac082ffc0c8228672050bd47efb8d1ee3777bd2
7
- data.tar.gz: 36700814e5460576a8233647604a6a7fcfa744079b364b81ad0ef0785eef69183fcf3db282a7ada0a060baf0ae1b165cc287e938fac601d24c85a6a788777225
6
+ metadata.gz: de44ec246f9b2af49724ae1bb120ce8d2b79a9a68db06e98ffb734fa51c7bc9599f57f2232d63f5a7eae3ad174af5523fd46d6ef0a14c303f00b114a5136dfdf
7
+ data.tar.gz: 0f6a6d5026cd0175acb8da55d748ce4d0a6f6f1ae4ca5ec12052d477e994ef633fbc6d94da1faf3abdd6133df8577d372b79c405f3d75fa023d34a166282b8e6
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.152
10
+ - Package version: 4.1.154
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.152'
19
+ gem 'ultracart_api', '4.1.154'
20
20
  ```
21
21
 
22
22
  install:
@@ -475,16 +475,18 @@ Class | Method | HTTP request | Description
475
475
  *UltracartClient::SfvbApi* | [**compile_sfvb_cjson**](docs/SfvbApi.md#compile_sfvb_cjson) | **POST** /sfvb/cjson/compile | Compile CJSON to Velocity
476
476
  *UltracartClient::SfvbApi* | [**create_sfvb_preview_session**](docs/SfvbApi.md#create_sfvb_preview_session) | **POST** /sfvb/storefronts/{storefront_oid}/preview_sessions | Create a preview session
477
477
  *UltracartClient::SfvbApi* | [**delete_sfvb_file**](docs/SfvbApi.md#delete_sfvb_file) | **DELETE** /sfvb/storefronts/{storefront_oid}/files | Delete a storefront file
478
+ *UltracartClient::SfvbApi* | [**delete_sfvb_page_multimedia**](docs/SfvbApi.md#delete_sfvb_page_multimedia) | **DELETE** /sfvb/storefronts/{storefront_oid}/pages/multimedia | Detach an image from a page
478
479
  *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
479
480
  *UltracartClient::SfvbApi* | [**download_sfvb_file**](docs/SfvbApi.md#download_sfvb_file) | **GET** /sfvb/storefronts/{storefront_oid}/files/download | Read a storefront file's raw bytes
480
481
  *UltracartClient::SfvbApi* | [**duplicate_sfvb_theme**](docs/SfvbApi.md#duplicate_sfvb_theme) | **POST** /sfvb/storefronts/{storefront_oid}/themes/{theme_oid}/duplicate | Duplicate a theme
481
482
  *UltracartClient::SfvbApi* | [**get_sfvb_cjson_used_elements**](docs/SfvbApi.md#get_sfvb_cjson_used_elements) | **POST** /sfvb/cjson/elements | Element types used by a container
482
483
  *UltracartClient::SfvbApi* | [**get_sfvb_container**](docs/SfvbApi.md#get_sfvb_container) | **GET** /sfvb/storefronts/{storefront_oid}/containers/{owner_type}/{owner_object_id} | Read a container stored outside the file system
483
484
  *UltracartClient::SfvbApi* | [**get_sfvb_container_version**](docs/SfvbApi.md#get_sfvb_container_version) | **GET** /sfvb/storefronts/{storefront_oid}/container_versions/{container_history_oid} | Read the CJSON stored in one container history entry
484
- *UltracartClient::SfvbApi* | [**get_sfvb_element**](docs/SfvbApi.md#get_sfvb_element) | **GET** /sfvb/elements/{element_type} | Configuration schema for one element type
485
+ *UltracartClient::SfvbApi* | [**get_sfvb_element**](docs/SfvbApi.md#get_sfvb_element) | **GET** /sfvb/elements/{element_type} | Configuration schema and field card for one element type
485
486
  *UltracartClient::SfvbApi* | [**get_sfvb_file_content**](docs/SfvbApi.md#get_sfvb_file_content) | **GET** /sfvb/storefronts/{storefront_oid}/files/content | Read a storefront file
486
487
  *UltracartClient::SfvbApi* | [**get_sfvb_file_upload_url**](docs/SfvbApi.md#get_sfvb_file_upload_url) | **GET** /sfvb/storefronts/{storefront_oid}/files/upload_url/{extension} | Get a URL to upload a binary asset to
487
488
  *UltracartClient::SfvbApi* | [**get_sfvb_library_entry**](docs/SfvbApi.md#get_sfvb_library_entry) | **GET** /sfvb/storefronts/{storefront_oid}/library/{library_oid} | Read one library entry including its CJSON
489
+ *UltracartClient::SfvbApi* | [**get_sfvb_page**](docs/SfvbApi.md#get_sfvb_page) | **GET** /sfvb/storefronts/{storefront_oid}/pages | Read a page's attributes and images
488
490
  *UltracartClient::SfvbApi* | [**get_sfvb_preview_url**](docs/SfvbApi.md#get_sfvb_preview_url) | **GET** /sfvb/storefronts/{storefront_oid}/preview_sessions/{preview_session_id}/url | URL that renders a preview session
489
491
  *UltracartClient::SfvbApi* | [**get_sfvb_theme**](docs/SfvbApi.md#get_sfvb_theme) | **GET** /sfvb/storefronts/{storefront_oid}/themes/{theme_oid} | Get a theme
490
492
  *UltracartClient::SfvbApi* | [**get_sfvb_theme_attributes**](docs/SfvbApi.md#get_sfvb_theme_attributes) | **GET** /sfvb/storefronts/{storefront_oid}/themes/{theme_oid}/attributes | Read a theme's colors, fonts and settings
@@ -501,6 +503,8 @@ Class | Method | HTTP request | Description
501
503
  *UltracartClient::SfvbApi* | [**list_sfvb_upsell_offers**](docs/SfvbApi.md#list_sfvb_upsell_offers) | **GET** /sfvb/storefronts/{storefront_oid}/upsell_offers | List upsell offers
502
504
  *UltracartClient::SfvbApi* | [**put_sfvb_container**](docs/SfvbApi.md#put_sfvb_container) | **PUT** /sfvb/storefronts/{storefront_oid}/containers/{owner_type}/{owner_object_id} | Write a container stored outside the file system
503
505
  *UltracartClient::SfvbApi* | [**put_sfvb_file_content**](docs/SfvbApi.md#put_sfvb_file_content) | **PUT** /sfvb/storefronts/{storefront_oid}/files/content | Write a storefront file
506
+ *UltracartClient::SfvbApi* | [**put_sfvb_page_attributes**](docs/SfvbApi.md#put_sfvb_page_attributes) | **PUT** /sfvb/storefronts/{storefront_oid}/pages/attributes | Change a page's attributes
507
+ *UltracartClient::SfvbApi* | [**put_sfvb_page_multimedia**](docs/SfvbApi.md#put_sfvb_page_multimedia) | **PUT** /sfvb/storefronts/{storefront_oid}/pages/multimedia | Attach an image to a page
504
508
  *UltracartClient::SfvbApi* | [**put_sfvb_preview_session**](docs/SfvbApi.md#put_sfvb_preview_session) | **PUT** /sfvb/storefronts/{storefront_oid}/preview_sessions/{preview_session_id} | Push containers into a preview session
505
509
  *UltracartClient::SfvbApi* | [**put_sfvb_theme_attributes**](docs/SfvbApi.md#put_sfvb_theme_attributes) | **PUT** /sfvb/storefronts/{storefront_oid}/themes/{theme_oid}/attributes | Change a theme's colors, fonts and settings
506
510
  *UltracartClient::SfvbApi* | [**render_sfvb_widgets**](docs/SfvbApi.md#render_sfvb_widgets) | **POST** /sfvb/storefronts/{storefront_oid}/themes/{theme_oid}/render | Render a CJSON node to HTML
@@ -1754,6 +1758,12 @@ Class | Method | HTTP request | Description
1754
1758
  - [UltracartClient::SfvbLibraryEntry](docs/SfvbLibraryEntry.md)
1755
1759
  - [UltracartClient::SfvbLibraryFacet](docs/SfvbLibraryFacet.md)
1756
1760
  - [UltracartClient::SfvbLibraryResponse](docs/SfvbLibraryResponse.md)
1761
+ - [UltracartClient::SfvbPageAttribute](docs/SfvbPageAttribute.md)
1762
+ - [UltracartClient::SfvbPageAttributeUpdate](docs/SfvbPageAttributeUpdate.md)
1763
+ - [UltracartClient::SfvbPageAttributeUpdateRequest](docs/SfvbPageAttributeUpdateRequest.md)
1764
+ - [UltracartClient::SfvbPageMultimedia](docs/SfvbPageMultimedia.md)
1765
+ - [UltracartClient::SfvbPageMultimediaRequest](docs/SfvbPageMultimediaRequest.md)
1766
+ - [UltracartClient::SfvbPageResponse](docs/SfvbPageResponse.md)
1757
1767
  - [UltracartClient::SfvbPreviewSessionRequest](docs/SfvbPreviewSessionRequest.md)
1758
1768
  - [UltracartClient::SfvbPreviewSessionResponse](docs/SfvbPreviewSessionResponse.md)
1759
1769
  - [UltracartClient::SfvbPreviewUrlResponse](docs/SfvbPreviewUrlResponse.md)
@@ -1942,6 +1952,8 @@ Not every change is committed to every SDK.
1942
1952
 
1943
1953
  | Version | Date | Comments |
1944
1954
  | --: | :-: | --- |
1955
+ | 4.1.154 | 09/14/2026 | sfvb internal testing |
1956
+ | 4.1.153 | 09/14/2026 | sfvb internal testing |
1945
1957
  | 4.1.152 | 09/09/2026 | sfvb - internal testing |
1946
1958
  | 4.1.151 | 09/04/2026 | conversations - added ai agent capabilities |
1947
1959
  | 4.1.150 | 09/04/2026 | conversations - add ai agent capabilities |
data/docs/SfvbApi.md CHANGED
@@ -7,16 +7,18 @@ All URIs are relative to *https://secure.ultracart.com/rest/v2*
7
7
  | [**compile_sfvb_cjson**](SfvbApi.md#compile_sfvb_cjson) | **POST** /sfvb/cjson/compile | Compile CJSON to Velocity |
8
8
  | [**create_sfvb_preview_session**](SfvbApi.md#create_sfvb_preview_session) | **POST** /sfvb/storefronts/{storefront_oid}/preview_sessions | Create a preview session |
9
9
  | [**delete_sfvb_file**](SfvbApi.md#delete_sfvb_file) | **DELETE** /sfvb/storefronts/{storefront_oid}/files | Delete a storefront file |
10
+ | [**delete_sfvb_page_multimedia**](SfvbApi.md#delete_sfvb_page_multimedia) | **DELETE** /sfvb/storefronts/{storefront_oid}/pages/multimedia | Detach an image from a page |
10
11
  | [**delete_sfvb_preview_session**](SfvbApi.md#delete_sfvb_preview_session) | **DELETE** /sfvb/storefronts/{storefront_oid}/preview_sessions/{preview_session_id} | Delete a preview session |
11
12
  | [**download_sfvb_file**](SfvbApi.md#download_sfvb_file) | **GET** /sfvb/storefronts/{storefront_oid}/files/download | Read a storefront file's raw bytes |
12
13
  | [**duplicate_sfvb_theme**](SfvbApi.md#duplicate_sfvb_theme) | **POST** /sfvb/storefronts/{storefront_oid}/themes/{theme_oid}/duplicate | Duplicate a theme |
13
14
  | [**get_sfvb_cjson_used_elements**](SfvbApi.md#get_sfvb_cjson_used_elements) | **POST** /sfvb/cjson/elements | Element types used by a container |
14
15
  | [**get_sfvb_container**](SfvbApi.md#get_sfvb_container) | **GET** /sfvb/storefronts/{storefront_oid}/containers/{owner_type}/{owner_object_id} | Read a container stored outside the file system |
15
16
  | [**get_sfvb_container_version**](SfvbApi.md#get_sfvb_container_version) | **GET** /sfvb/storefronts/{storefront_oid}/container_versions/{container_history_oid} | Read the CJSON stored in one container history entry |
16
- | [**get_sfvb_element**](SfvbApi.md#get_sfvb_element) | **GET** /sfvb/elements/{element_type} | Configuration schema for one element type |
17
+ | [**get_sfvb_element**](SfvbApi.md#get_sfvb_element) | **GET** /sfvb/elements/{element_type} | Configuration schema and field card for one element type |
17
18
  | [**get_sfvb_file_content**](SfvbApi.md#get_sfvb_file_content) | **GET** /sfvb/storefronts/{storefront_oid}/files/content | Read a storefront file |
18
19
  | [**get_sfvb_file_upload_url**](SfvbApi.md#get_sfvb_file_upload_url) | **GET** /sfvb/storefronts/{storefront_oid}/files/upload_url/{extension} | Get a URL to upload a binary asset to |
19
20
  | [**get_sfvb_library_entry**](SfvbApi.md#get_sfvb_library_entry) | **GET** /sfvb/storefronts/{storefront_oid}/library/{library_oid} | Read one library entry including its CJSON |
21
+ | [**get_sfvb_page**](SfvbApi.md#get_sfvb_page) | **GET** /sfvb/storefronts/{storefront_oid}/pages | Read a page's attributes and images |
20
22
  | [**get_sfvb_preview_url**](SfvbApi.md#get_sfvb_preview_url) | **GET** /sfvb/storefronts/{storefront_oid}/preview_sessions/{preview_session_id}/url | URL that renders a preview session |
21
23
  | [**get_sfvb_theme**](SfvbApi.md#get_sfvb_theme) | **GET** /sfvb/storefronts/{storefront_oid}/themes/{theme_oid} | Get a theme |
22
24
  | [**get_sfvb_theme_attributes**](SfvbApi.md#get_sfvb_theme_attributes) | **GET** /sfvb/storefronts/{storefront_oid}/themes/{theme_oid}/attributes | Read a theme's colors, fonts and settings |
@@ -33,6 +35,8 @@ All URIs are relative to *https://secure.ultracart.com/rest/v2*
33
35
  | [**list_sfvb_upsell_offers**](SfvbApi.md#list_sfvb_upsell_offers) | **GET** /sfvb/storefronts/{storefront_oid}/upsell_offers | List upsell offers |
34
36
  | [**put_sfvb_container**](SfvbApi.md#put_sfvb_container) | **PUT** /sfvb/storefronts/{storefront_oid}/containers/{owner_type}/{owner_object_id} | Write a container stored outside the file system |
35
37
  | [**put_sfvb_file_content**](SfvbApi.md#put_sfvb_file_content) | **PUT** /sfvb/storefronts/{storefront_oid}/files/content | Write a storefront file |
38
+ | [**put_sfvb_page_attributes**](SfvbApi.md#put_sfvb_page_attributes) | **PUT** /sfvb/storefronts/{storefront_oid}/pages/attributes | Change a page's attributes |
39
+ | [**put_sfvb_page_multimedia**](SfvbApi.md#put_sfvb_page_multimedia) | **PUT** /sfvb/storefronts/{storefront_oid}/pages/multimedia | Attach an image to a page |
36
40
  | [**put_sfvb_preview_session**](SfvbApi.md#put_sfvb_preview_session) | **PUT** /sfvb/storefronts/{storefront_oid}/preview_sessions/{preview_session_id} | Push containers into a preview session |
37
41
  | [**put_sfvb_theme_attributes**](SfvbApi.md#put_sfvb_theme_attributes) | **PUT** /sfvb/storefronts/{storefront_oid}/themes/{theme_oid}/attributes | Change a theme's colors, fonts and settings |
38
42
  | [**render_sfvb_widgets**](SfvbApi.md#render_sfvb_widgets) | **POST** /sfvb/storefronts/{storefront_oid}/themes/{theme_oid}/render | Render a CJSON node to HTML |
@@ -207,6 +211,62 @@ nil (empty response body)
207
211
  - **Accept**: application/json
208
212
 
209
213
 
214
+ ## delete_sfvb_page_multimedia
215
+
216
+ > <SfvbPageResponse> delete_sfvb_page_multimedia(storefront_oid, path, opts)
217
+
218
+ Detach an image from a page
219
+
220
+ Name exactly one of code or default. Removes the page's copy of the image; the source file in the page folder is left alone. Always needs sfvb_publish.
221
+
222
+
223
+ ### Examples
224
+
225
+
226
+ (No example for this operation).
227
+
228
+
229
+ #### Using the delete_sfvb_page_multimedia_with_http_info variant
230
+
231
+ This returns an Array which contains the response data, status code and headers.
232
+
233
+ > <Array(<SfvbPageResponse>, Integer, Hash)> delete_sfvb_page_multimedia_with_http_info(storefront_oid, path, opts)
234
+
235
+ ```ruby
236
+ begin
237
+ # Detach an image from a page
238
+ data, status_code, headers = api_instance.delete_sfvb_page_multimedia_with_http_info(storefront_oid, path, opts)
239
+ p status_code # => 2xx
240
+ p headers # => { ... }
241
+ p data # => <SfvbPageResponse>
242
+ rescue UltracartClient::ApiError => e
243
+ puts "Error when calling SfvbApi->delete_sfvb_page_multimedia_with_http_info: #{e}"
244
+ end
245
+ ```
246
+
247
+ ### Parameters
248
+
249
+ | Name | Type | Description | Notes |
250
+ | ---- | ---- | ----------- | ----- |
251
+ | **storefront_oid** | **Integer** | | |
252
+ | **path** | **String** | Page path, for example /catalog/dispensers/ | |
253
+ | **code** | **String** | Image code to detach | [optional] |
254
+ | **default** | **Boolean** | True to detach the default image | [optional] |
255
+
256
+ ### Return type
257
+
258
+ [**SfvbPageResponse**](SfvbPageResponse.md)
259
+
260
+ ### Authorization
261
+
262
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
263
+
264
+ ### HTTP request headers
265
+
266
+ - **Content-Type**: Not defined
267
+ - **Accept**: application/json
268
+
269
+
210
270
  ## delete_sfvb_preview_session
211
271
 
212
272
  > delete_sfvb_preview_session(storefront_oid, preview_session_id)
@@ -538,7 +598,9 @@ end
538
598
 
539
599
  > <SfvbElementSchemaResponse> get_sfvb_element(element_type)
540
600
 
541
- Configuration schema for one element type
601
+ Configuration schema and field card for one element type
602
+
603
+ schema is the draft-07 JSON schema for the element config object and doc is the markdown field card, both as strings. Either is omitted when none has been published for the element, which is still a 200. The catalog is published by the visual builder release process, and a republish can take up to an hour to appear here.
542
604
 
543
605
 
544
606
  ### Examples
@@ -555,7 +617,7 @@ This returns an Array which contains the response data, status code and headers.
555
617
 
556
618
  ```ruby
557
619
  begin
558
- # Configuration schema for one element type
620
+ # Configuration schema and field card for one element type
559
621
  data, status_code, headers = api_instance.get_sfvb_element_with_http_info(element_type)
560
622
  p status_code # => 2xx
561
623
  p headers # => { ... }
@@ -748,6 +810,60 @@ end
748
810
  - **Accept**: application/json
749
811
 
750
812
 
813
+ ## get_sfvb_page
814
+
815
+ > <SfvbPageResponse> get_sfvb_page(storefront_oid, path)
816
+
817
+ Read a page's attributes and images
818
+
819
+ What the pageattribute and pageimage elements render for this page. These are not in any file, which is why a page folder can be empty and its elements still render something. Attributes and image codes a template declares but nothing has set are included, so the response describes what the page can show rather than only what has been saved.
820
+
821
+
822
+ ### Examples
823
+
824
+
825
+ (No example for this operation).
826
+
827
+
828
+ #### Using the get_sfvb_page_with_http_info variant
829
+
830
+ This returns an Array which contains the response data, status code and headers.
831
+
832
+ > <Array(<SfvbPageResponse>, Integer, Hash)> get_sfvb_page_with_http_info(storefront_oid, path)
833
+
834
+ ```ruby
835
+ begin
836
+ # Read a page's attributes and images
837
+ data, status_code, headers = api_instance.get_sfvb_page_with_http_info(storefront_oid, path)
838
+ p status_code # => 2xx
839
+ p headers # => { ... }
840
+ p data # => <SfvbPageResponse>
841
+ rescue UltracartClient::ApiError => e
842
+ puts "Error when calling SfvbApi->get_sfvb_page_with_http_info: #{e}"
843
+ end
844
+ ```
845
+
846
+ ### Parameters
847
+
848
+ | Name | Type | Description | Notes |
849
+ | ---- | ---- | ----------- | ----- |
850
+ | **storefront_oid** | **Integer** | | |
851
+ | **path** | **String** | Page path, for example /catalog/dispensers/ | |
852
+
853
+ ### Return type
854
+
855
+ [**SfvbPageResponse**](SfvbPageResponse.md)
856
+
857
+ ### Authorization
858
+
859
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
860
+
861
+ ### HTTP request headers
862
+
863
+ - **Content-Type**: Not defined
864
+ - **Accept**: application/json
865
+
866
+
751
867
  ## get_sfvb_preview_url
752
868
 
753
869
  > <SfvbPreviewUrlResponse> get_sfvb_preview_url(storefront_oid, preview_session_id, opts)
@@ -1604,6 +1720,116 @@ end
1604
1720
  - **Accept**: application/json
1605
1721
 
1606
1722
 
1723
+ ## put_sfvb_page_attributes
1724
+
1725
+ > <SfvbPageResponse> put_sfvb_page_attributes(storefront_oid, path, page_attribute_update_request)
1726
+
1727
+ Change a page's attributes
1728
+
1729
+ A partial update. Only the attributes you name are changed. Every entry is checked before any is written. List, slider, item set, page collection and video list attributes are refused - edit those in the page editor. Always needs sfvb_publish, because a page's attributes are shared by every theme and there is no dormant copy to change instead.
1730
+
1731
+
1732
+ ### Examples
1733
+
1734
+
1735
+ (No example for this operation).
1736
+
1737
+
1738
+ #### Using the put_sfvb_page_attributes_with_http_info variant
1739
+
1740
+ This returns an Array which contains the response data, status code and headers.
1741
+
1742
+ > <Array(<SfvbPageResponse>, Integer, Hash)> put_sfvb_page_attributes_with_http_info(storefront_oid, path, page_attribute_update_request)
1743
+
1744
+ ```ruby
1745
+ begin
1746
+ # Change a page's attributes
1747
+ data, status_code, headers = api_instance.put_sfvb_page_attributes_with_http_info(storefront_oid, path, page_attribute_update_request)
1748
+ p status_code # => 2xx
1749
+ p headers # => { ... }
1750
+ p data # => <SfvbPageResponse>
1751
+ rescue UltracartClient::ApiError => e
1752
+ puts "Error when calling SfvbApi->put_sfvb_page_attributes_with_http_info: #{e}"
1753
+ end
1754
+ ```
1755
+
1756
+ ### Parameters
1757
+
1758
+ | Name | Type | Description | Notes |
1759
+ | ---- | ---- | ----------- | ----- |
1760
+ | **storefront_oid** | **Integer** | | |
1761
+ | **path** | **String** | Page path, for example /catalog/dispensers/ | |
1762
+ | **page_attribute_update_request** | [**SfvbPageAttributeUpdateRequest**](SfvbPageAttributeUpdateRequest.md) | Attributes to change | |
1763
+
1764
+ ### Return type
1765
+
1766
+ [**SfvbPageResponse**](SfvbPageResponse.md)
1767
+
1768
+ ### Authorization
1769
+
1770
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
1771
+
1772
+ ### HTTP request headers
1773
+
1774
+ - **Content-Type**: application/json
1775
+ - **Accept**: application/json
1776
+
1777
+
1778
+ ## put_sfvb_page_multimedia
1779
+
1780
+ > <SfvbPageResponse> put_sfvb_page_multimedia(storefront_oid, path, page_multimedia_request)
1781
+
1782
+ Attach an image to a page
1783
+
1784
+ Upload the image with files/upload to the page path followed by a filename first, then name that filename here as either the default image or an image code. The default image is what a pageimage element with no pageImageCode renders, and what a subgroup tile shows. Replaces whatever that slot held. Always needs sfvb_publish.
1785
+
1786
+
1787
+ ### Examples
1788
+
1789
+
1790
+ (No example for this operation).
1791
+
1792
+
1793
+ #### Using the put_sfvb_page_multimedia_with_http_info variant
1794
+
1795
+ This returns an Array which contains the response data, status code and headers.
1796
+
1797
+ > <Array(<SfvbPageResponse>, Integer, Hash)> put_sfvb_page_multimedia_with_http_info(storefront_oid, path, page_multimedia_request)
1798
+
1799
+ ```ruby
1800
+ begin
1801
+ # Attach an image to a page
1802
+ data, status_code, headers = api_instance.put_sfvb_page_multimedia_with_http_info(storefront_oid, path, page_multimedia_request)
1803
+ p status_code # => 2xx
1804
+ p headers # => { ... }
1805
+ p data # => <SfvbPageResponse>
1806
+ rescue UltracartClient::ApiError => e
1807
+ puts "Error when calling SfvbApi->put_sfvb_page_multimedia_with_http_info: #{e}"
1808
+ end
1809
+ ```
1810
+
1811
+ ### Parameters
1812
+
1813
+ | Name | Type | Description | Notes |
1814
+ | ---- | ---- | ----------- | ----- |
1815
+ | **storefront_oid** | **Integer** | | |
1816
+ | **path** | **String** | Page path, for example /catalog/dispensers/ | |
1817
+ | **page_multimedia_request** | [**SfvbPageMultimediaRequest**](SfvbPageMultimediaRequest.md) | Image to attach | |
1818
+
1819
+ ### Return type
1820
+
1821
+ [**SfvbPageResponse**](SfvbPageResponse.md)
1822
+
1823
+ ### Authorization
1824
+
1825
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
1826
+
1827
+ ### HTTP request headers
1828
+
1829
+ - **Content-Type**: application/json
1830
+ - **Accept**: application/json
1831
+
1832
+
1607
1833
  ## put_sfvb_preview_session
1608
1834
 
1609
1835
  > <SfvbPreviewSessionResponse> put_sfvb_preview_session(storefront_oid, preview_session_id, preview_session, opts)
data/docs/SfvbElement.md CHANGED
@@ -4,6 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **doc_available** | **Boolean** | True when a markdown field card for this element is available from elements/{element_type}. | [optional] |
7
8
  | **schema_available** | **Boolean** | True when a per element configuration schema is available from elements/{element_type}. | [optional] |
8
9
  | **type** | **String** | The element type as it appears in the type property of a CJSON node. | [optional] |
9
10
 
@@ -13,6 +14,7 @@
13
14
  require 'ultracart_api'
14
15
 
15
16
  instance = UltracartClient::SfvbElement.new(
17
+ doc_available: null,
16
18
  schema_available: null,
17
19
  type: null
18
20
  )
@@ -4,7 +4,8 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **schema** | **String** | JSON schema for this element&#39;s config object, as a JSON string. Null when no schema has been published for this element yet. | [optional] |
7
+ | **doc** | **String** | Markdown field card for this element, as a string. Omitted when no field card has been published for this element. | [optional] |
8
+ | **schema** | **String** | Draft-07 JSON schema for this element&#39;s config object, as a JSON string. Omitted when no schema has been published for this element. | [optional] |
8
9
  | **type** | **String** | The element type. | [optional] |
9
10
 
10
11
  ## Example
@@ -13,6 +14,7 @@
13
14
  require 'ultracart_api'
14
15
 
15
16
  instance = UltracartClient::SfvbElementSchemaResponse.new(
17
+ doc: null,
16
18
  schema: null,
17
19
  type: null
18
20
  )
@@ -0,0 +1,32 @@
1
+ # UltracartClient::SfvbPageAttribute
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **deprecated** | **Boolean** | True when the active theme marks this attribute as on its way out. Prefer not to build on it. | [optional] |
8
+ | **name** | **String** | Attribute name, as the template&#39;s uc page-attribute directive spells it. Compare case insensitively. This is the value pageAttributeName refers to. | [optional] |
9
+ | **type** | **String** | What kind of attribute this is, taken from the template that declares it rather than from the stored row. orphan means no template declares it. reserved covers the page SEO fields. | [optional] |
10
+ | **undeclared** | **Boolean** | True when no template references this name. Writing such a name is allowed, but if you did not mean to create one this is a misspelling and nothing on the page will show it. | [optional] |
11
+ | **used_by** | **String** | The other themes that declare this attribute, when the active theme does not. | [optional] |
12
+ | **used_by_current_theme** | **Boolean** | True when a template in the active theme declares this attribute. | [optional] |
13
+ | **value** | **String** | The stored value. Empty when a template declares the attribute and nothing has set it. | [optional] |
14
+ | **writable** | **Boolean** | True when this API will change the value. List, slider, item set, page collection and video list values are structured documents carrying their own translation references and derived data, so they are shown here but must be edited in the page editor. | [optional] |
15
+
16
+ ## Example
17
+
18
+ ```ruby
19
+ require 'ultracart_api'
20
+
21
+ instance = UltracartClient::SfvbPageAttribute.new(
22
+ deprecated: null,
23
+ name: null,
24
+ type: null,
25
+ undeclared: null,
26
+ used_by: null,
27
+ used_by_current_theme: null,
28
+ value: null,
29
+ writable: null
30
+ )
31
+ ```
32
+
@@ -0,0 +1,22 @@
1
+ # UltracartClient::SfvbPageAttributeUpdate
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | Attribute name. Matched without regard to case against what the page already has, so you do not have to reproduce the exact casing. A name nothing matches creates a new attribute. | [optional] |
8
+ | **type** | **String** | Only consulted when creating an attribute no template declares. For a declared attribute the template&#39;s type always wins, because the templates decide it and not the caller. | [optional] |
9
+ | **value** | **String** | The value to store. An empty string clears it. For html the markup is stored as given and rendered as given. For boolean send the text true or false. | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'ultracart_api'
15
+
16
+ instance = UltracartClient::SfvbPageAttributeUpdate.new(
17
+ name: null,
18
+ type: null,
19
+ value: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,18 @@
1
+ # UltracartClient::SfvbPageAttributeUpdateRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **attributes** | [**Array&lt;SfvbPageAttributeUpdate&gt;**](SfvbPageAttributeUpdate.md) | The attributes to change. Every entry is checked before any is written, so a request naming one attribute this API will not change writes nothing rather than part of what it asked for. | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'ultracart_api'
13
+
14
+ instance = UltracartClient::SfvbPageAttributeUpdateRequest.new(
15
+ attributes: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,30 @@
1
+ # UltracartClient::SfvbPageMultimedia
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **code** | **String** | The image code, which is what pageImageCode refers to. Empty for the default image. | [optional] |
8
+ | **declared** | **Boolean** | True when a template declares this code. An attached image whose code nothing declares renders nowhere unless a pageimage element names it. | [optional] |
9
+ | **default** | **Boolean** | True for the page&#39;s default image, which a pageimage element with no pageImageCode renders. This is the thumbnail a subgroup tile shows. | [optional] |
10
+ | **description** | **String** | What the slot is for, as the declaring template describes it, otherwise the description stored with the image. Rendered as the alt text. | [optional] |
11
+ | **dimensions** | **String** | Width x height in pixels, when the attached file is an image. | [optional] |
12
+ | **filename** | **String** | The attached file&#39;s name within the page&#39;s folder. Empty when nothing is attached. | [optional] |
13
+ | **public_url** | **String** | Where the source file is served on the storefront. Absent when nothing is attached. | [optional] |
14
+
15
+ ## Example
16
+
17
+ ```ruby
18
+ require 'ultracart_api'
19
+
20
+ instance = UltracartClient::SfvbPageMultimedia.new(
21
+ code: null,
22
+ declared: null,
23
+ default: null,
24
+ description: null,
25
+ dimensions: null,
26
+ filename: null,
27
+ public_url: null
28
+ )
29
+ ```
30
+
@@ -0,0 +1,24 @@
1
+ # UltracartClient::SfvbPageMultimediaRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **code** | **String** | Attach under this image code, the value a pageimage element&#39;s pageImageCode names. | [optional] |
8
+ | **default** | **Boolean** | True to make this the page&#39;s default image, which a pageimage element with no pageImageCode renders and a subgroup tile shows. Replaces any existing default. | [optional] |
9
+ | **description** | **String** | Stored with the image and rendered as its alt text. Optional. | [optional] |
10
+ | **filename** | **String** | Name of a raster image already stored directly in the page&#39;s folder, for example thumb.png for a file uploaded to the page path followed by thumb.png. | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'ultracart_api'
16
+
17
+ instance = UltracartClient::SfvbPageMultimediaRequest.new(
18
+ code: null,
19
+ default: null,
20
+ description: null,
21
+ filename: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,22 @@
1
+ # UltracartClient::SfvbPageResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **attributes** | [**Array&lt;SfvbPageAttribute&gt;**](SfvbPageAttribute.md) | Every attribute this page has, including ones a template declares but nothing has set yet. These are what the pageattribute element renders. Sorted by name. | [optional] |
8
+ | **multimedia** | [**Array&lt;SfvbPageMultimedia&gt;**](SfvbPageMultimedia.md) | The page&#39;s images, including codes a template declares but nothing has attached yet. These are what the pageimage element renders - the default image when pageImageCode is empty, otherwise the image with that code. The default image comes first. | [optional] |
9
+ | **path** | **String** | The page path, normalized to begin and end with a slash. | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'ultracart_api'
15
+
16
+ instance = UltracartClient::SfvbPageResponse.new(
17
+ attributes: null,
18
+ multimedia: null,
19
+ path: null
20
+ )
21
+ ```
22
+
@@ -6,7 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **complete** | **Boolean** | True once the job has stopped, whether it succeeded or failed. | [optional] |
8
8
  | **description** | **String** | Human readable description of the job. | [optional] |
9
- | **error_message** | **String** | Failure detail. Populated only when status is error. | [optional] |
9
+ | **error_message** | **String** | What to do next when the job did not produce a theme. The internal cause is not returned; it is recorded against the job id in the server log. | [optional] |
10
10
  | **finished_dts** | **String** | When the job stopped. Null until it does. | [optional] |
11
11
  | **job_id** | **Integer** | Job handle. Poll getSfvbThemeJob with this. | [optional] |
12
12
  | **progress** | **Integer** | Percent complete, 0-100. | [optional] |