ultracart_api 4.1.191 → 4.1.192
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 +33 -2
- data/docs/SfvbApi.md +782 -2
- data/docs/SfvbNotFoundEntry.md +38 -0
- data/docs/SfvbNotFoundEntryResponse.md +20 -0
- data/docs/SfvbNotFoundHit.md +24 -0
- data/docs/SfvbNotFoundPage.md +28 -0
- data/docs/SfvbNotFoundResponse.md +20 -0
- data/docs/SfvbRedirect.md +42 -0
- data/docs/SfvbRedirectCheckResponse.md +26 -0
- data/docs/SfvbRedirectImportRequest.md +20 -0
- data/docs/SfvbRedirectImportResponse.md +32 -0
- data/docs/SfvbRedirectImportRow.md +22 -0
- data/docs/SfvbRedirectImportRowResult.md +26 -0
- data/docs/SfvbRedirectRequest.md +26 -0
- data/docs/SfvbRedirectResolveResponse.md +28 -0
- data/docs/SfvbRedirectResolveStep.md +22 -0
- data/docs/SfvbRedirectResponse.md +20 -0
- data/docs/SfvbRedirectsResponse.md +22 -0
- data/docs/SfvbRenderRequest.md +1 -1
- data/lib/ultracart_api/api/sfvb_api.rb +1132 -98
- data/lib/ultracart_api/models/sfvb_not_found_entry.rb +322 -0
- data/lib/ultracart_api/models/sfvb_not_found_entry_response.rb +231 -0
- data/lib/ultracart_api/models/sfvb_not_found_hit.rb +250 -0
- data/lib/ultracart_api/models/sfvb_not_found_page.rb +270 -0
- data/lib/ultracart_api/models/sfvb_not_found_response.rb +232 -0
- data/lib/ultracart_api/models/sfvb_redirect.rb +340 -0
- data/lib/ultracart_api/models/sfvb_redirect_check_response.rb +264 -0
- data/lib/ultracart_api/models/sfvb_redirect_import_request.rb +232 -0
- data/lib/ultracart_api/models/sfvb_redirect_import_response.rb +292 -0
- data/lib/ultracart_api/models/sfvb_redirect_import_row.rb +240 -0
- data/lib/ultracart_api/models/sfvb_redirect_import_row_result.rb +264 -0
- data/lib/ultracart_api/models/sfvb_redirect_request.rb +260 -0
- data/lib/ultracart_api/models/sfvb_redirect_resolve_response.rb +272 -0
- data/lib/ultracart_api/models/sfvb_redirect_resolve_step.rb +240 -0
- data/lib/ultracart_api/models/sfvb_redirect_response.rb +231 -0
- data/lib/ultracart_api/models/sfvb_redirects_response.rb +242 -0
- data/lib/ultracart_api/models/sfvb_render_request.rb +1 -1
- data/lib/ultracart_api/version.rb +1 -1
- data/lib/ultracart_api.rb +16 -0
- metadata +33 -1
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# UltracartClient::SfvbNotFoundEntry
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **bot_hits** | **Integer** | Bot hits since bot counting began on this entry. Empty when not yet counted. | [optional] |
|
|
8
|
+
| **bot_share** | **Object** | bot_hits divided by counted_hits, 0 to 1. Empty when not yet counted. | [optional] |
|
|
9
|
+
| **counted_hits** | **Integer** | Hits since bot counting began, the base for bot_share. | [optional] |
|
|
10
|
+
| **first_seen_dts** | **String** | First hit, ISO 8601. | [optional] |
|
|
11
|
+
| **hits** | **Integer** | Every recorded hit, bots included. | [optional] |
|
|
12
|
+
| **ignored** | **Boolean** | True when the entry is ignored and no longer counts. | [optional] |
|
|
13
|
+
| **last_seen_dts** | **String** | Latest hit, ISO 8601. | [optional] |
|
|
14
|
+
| **not_found_id** | **String** | The entry's id. | [optional] |
|
|
15
|
+
| **path** | **String** | The path, without its query string. Token-like segments show as {token} unless asked for. | [optional] |
|
|
16
|
+
| **redirected_to** | **String** | Where a redirect rule now sends this path, when one does. | [optional] |
|
|
17
|
+
| **referrer_hosts** | **Array<String>** | Hosts of the pages that linked to it. | [optional] |
|
|
18
|
+
|
|
19
|
+
## Example
|
|
20
|
+
|
|
21
|
+
```ruby
|
|
22
|
+
require 'ultracart_api'
|
|
23
|
+
|
|
24
|
+
instance = UltracartClient::SfvbNotFoundEntry.new(
|
|
25
|
+
bot_hits: null,
|
|
26
|
+
bot_share: null,
|
|
27
|
+
counted_hits: null,
|
|
28
|
+
first_seen_dts: null,
|
|
29
|
+
hits: null,
|
|
30
|
+
ignored: null,
|
|
31
|
+
last_seen_dts: null,
|
|
32
|
+
not_found_id: null,
|
|
33
|
+
path: null,
|
|
34
|
+
redirected_to: null,
|
|
35
|
+
referrer_hosts: null
|
|
36
|
+
)
|
|
37
|
+
```
|
|
38
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# UltracartClient::SfvbNotFoundEntryResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **entry** | [**SfvbNotFoundEntry**](SfvbNotFoundEntry.md) | | [optional] |
|
|
8
|
+
| **hits** | [**Array<SfvbNotFoundHit>**](SfvbNotFoundHit.md) | The most recent hits, up to 100. | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'ultracart_api'
|
|
14
|
+
|
|
15
|
+
instance = UltracartClient::SfvbNotFoundEntryResponse.new(
|
|
16
|
+
entry: null,
|
|
17
|
+
hits: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# UltracartClient::SfvbNotFoundHit
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **bot** | **Boolean** | True when the hit was from a bot. | [optional] |
|
|
8
|
+
| **referrer_host** | **String** | Host of the linking page. | [optional] |
|
|
9
|
+
| **request_dts** | **String** | When, ISO 8601. | [optional] |
|
|
10
|
+
| **user_agent** | **String** | The browser or bot. | [optional] |
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'ultracart_api'
|
|
16
|
+
|
|
17
|
+
instance = UltracartClient::SfvbNotFoundHit.new(
|
|
18
|
+
bot: null,
|
|
19
|
+
referrer_host: null,
|
|
20
|
+
request_dts: null,
|
|
21
|
+
user_agent: null
|
|
22
|
+
)
|
|
23
|
+
```
|
|
24
|
+
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# UltracartClient::SfvbNotFoundPage
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **exists** | **Boolean** | False when the theme has no site_404.vm and the plain fallback is served. | [optional] |
|
|
8
|
+
| **fallback** | **String** | What is served when the template is missing. | [optional] |
|
|
9
|
+
| **status** | **Integer** | The HTTP status the page is served with, always 404. | [optional] |
|
|
10
|
+
| **template_path** | **String** | The site_404.vm the storefront uses, relative to the theme. | [optional] |
|
|
11
|
+
| **theme_oid** | **Integer** | The active theme. | [optional] |
|
|
12
|
+
| **theme_path** | **String** | The theme's folder. | [optional] |
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```ruby
|
|
17
|
+
require 'ultracart_api'
|
|
18
|
+
|
|
19
|
+
instance = UltracartClient::SfvbNotFoundPage.new(
|
|
20
|
+
exists: null,
|
|
21
|
+
fallback: null,
|
|
22
|
+
status: null,
|
|
23
|
+
template_path: null,
|
|
24
|
+
theme_oid: null,
|
|
25
|
+
theme_path: null
|
|
26
|
+
)
|
|
27
|
+
```
|
|
28
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# UltracartClient::SfvbNotFoundResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **entries** | [**Array<SfvbNotFoundEntry>**](SfvbNotFoundEntry.md) | The entries, most hits first unless sorted otherwise. | [optional] |
|
|
8
|
+
| **scanned** | **Integer** | How many entries were read to build the list. Filters apply within them. | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'ultracart_api'
|
|
14
|
+
|
|
15
|
+
instance = UltracartClient::SfvbNotFoundResponse.new(
|
|
16
|
+
entries: null,
|
|
17
|
+
scanned: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# UltracartClient::SfvbRedirect
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **created_dts** | **String** | When SFVB created the rule, ISO 8601. Empty for rules created in the admin. | [optional] |
|
|
8
|
+
| **exclude_from_sitemap** | **Boolean** | Whether the source is left out of the generated sitemap. | [optional] |
|
|
9
|
+
| **hash_sha256** | **String** | Send back as If-Match to update or delete the rule. | [optional] |
|
|
10
|
+
| **modified_dts** | **String** | When SFVB last changed the rule, ISO 8601. | [optional] |
|
|
11
|
+
| **note** | **String** | Why the rule exists. | [optional] |
|
|
12
|
+
| **pinned_page_path** | **String** | When the rule is pinned to a page, that page's current path. The target follows the page. | [optional] |
|
|
13
|
+
| **redirect_id** | **Integer** | The rule's id. | [optional] |
|
|
14
|
+
| **source** | **String** | The path the rule catches, as stored. A trailing /* catches everything below it. | [optional] |
|
|
15
|
+
| **status** | **String** | 301, 302 (to another site, admin rules only) or rewrite (an admin rule serving the target at the source with a 200). Rules written through SFVB are always 301. | [optional] |
|
|
16
|
+
| **target** | **String** | Where the rule sends the shopper. | [optional] |
|
|
17
|
+
| **target_invalid** | **Boolean** | True when the target is a page or item that does not exist. | [optional] |
|
|
18
|
+
| **target_invalid_message** | **String** | Why the target is invalid. | [optional] |
|
|
19
|
+
| **type** | **String** | exact or pattern. | [optional] |
|
|
20
|
+
|
|
21
|
+
## Example
|
|
22
|
+
|
|
23
|
+
```ruby
|
|
24
|
+
require 'ultracart_api'
|
|
25
|
+
|
|
26
|
+
instance = UltracartClient::SfvbRedirect.new(
|
|
27
|
+
created_dts: null,
|
|
28
|
+
exclude_from_sitemap: null,
|
|
29
|
+
hash_sha256: null,
|
|
30
|
+
modified_dts: null,
|
|
31
|
+
note: null,
|
|
32
|
+
pinned_page_path: null,
|
|
33
|
+
redirect_id: null,
|
|
34
|
+
source: null,
|
|
35
|
+
status: null,
|
|
36
|
+
target: null,
|
|
37
|
+
target_invalid: null,
|
|
38
|
+
target_invalid_message: null,
|
|
39
|
+
type: null
|
|
40
|
+
)
|
|
41
|
+
```
|
|
42
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# UltracartClient::SfvbRedirectCheckResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **errors** | [**Array<SfvbErrorDetail>**](SfvbErrorDetail.md) | Findings that block the rule. | [optional] |
|
|
8
|
+
| **source** | **String** | The source as it matches, lower case without a trailing index.html. | [optional] |
|
|
9
|
+
| **type** | **String** | exact or pattern. | [optional] |
|
|
10
|
+
| **valid** | **Boolean** | True when nothing blocks the rule. | [optional] |
|
|
11
|
+
| **warnings** | [**Array<SfvbErrorDetail>**](SfvbErrorDetail.md) | Findings that do not block it. A chain carries the final target as its suggestion. | [optional] |
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```ruby
|
|
16
|
+
require 'ultracart_api'
|
|
17
|
+
|
|
18
|
+
instance = UltracartClient::SfvbRedirectCheckResponse.new(
|
|
19
|
+
errors: null,
|
|
20
|
+
source: null,
|
|
21
|
+
type: null,
|
|
22
|
+
valid: null,
|
|
23
|
+
warnings: null
|
|
24
|
+
)
|
|
25
|
+
```
|
|
26
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# UltracartClient::SfvbRedirectImportRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **plan_hash** | **String** | From the dry run. Required to apply. | [optional] |
|
|
8
|
+
| **rows** | [**Array<SfvbRedirectImportRow>**](SfvbRedirectImportRow.md) | The rows, up to 5,000. | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'ultracart_api'
|
|
14
|
+
|
|
15
|
+
instance = UltracartClient::SfvbRedirectImportRequest.new(
|
|
16
|
+
plan_hash: null,
|
|
17
|
+
rows: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# UltracartClient::SfvbRedirectImportResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **applied** | **Boolean** | True when the rows were written. | [optional] |
|
|
8
|
+
| **blocked** | **Integer** | How many rows have a blocking finding. Any blocked row means nothing is applied. | [optional] |
|
|
9
|
+
| **flagged** | **Integer** | How many rows have only warnings. | [optional] |
|
|
10
|
+
| **limit** | **Integer** | The most rules a storefront may have through SFVB. | [optional] |
|
|
11
|
+
| **plan_hash** | **String** | Send back with the same rows to apply exactly this plan. | [optional] |
|
|
12
|
+
| **rows** | [**Array<SfvbRedirectImportRowResult>**](SfvbRedirectImportRowResult.md) | The rows with findings. | [optional] |
|
|
13
|
+
| **rule_count** | **Integer** | How many rules the storefront has, or would have after applying. | [optional] |
|
|
14
|
+
| **total** | **Integer** | How many rows were sent. | [optional] |
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```ruby
|
|
19
|
+
require 'ultracart_api'
|
|
20
|
+
|
|
21
|
+
instance = UltracartClient::SfvbRedirectImportResponse.new(
|
|
22
|
+
applied: null,
|
|
23
|
+
blocked: null,
|
|
24
|
+
flagged: null,
|
|
25
|
+
limit: null,
|
|
26
|
+
plan_hash: null,
|
|
27
|
+
rows: null,
|
|
28
|
+
rule_count: null,
|
|
29
|
+
total: null
|
|
30
|
+
)
|
|
31
|
+
```
|
|
32
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# UltracartClient::SfvbRedirectImportRow
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **note** | **String** | Why the rule exists. | [optional] |
|
|
8
|
+
| **source** | **String** | The path to catch. | [optional] |
|
|
9
|
+
| **target** | **String** | Where to send it. | [optional] |
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'ultracart_api'
|
|
15
|
+
|
|
16
|
+
instance = UltracartClient::SfvbRedirectImportRow.new(
|
|
17
|
+
note: null,
|
|
18
|
+
source: null,
|
|
19
|
+
target: null
|
|
20
|
+
)
|
|
21
|
+
```
|
|
22
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# UltracartClient::SfvbRedirectImportRowResult
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **errors** | [**Array<SfvbErrorDetail>**](SfvbErrorDetail.md) | Findings that block the import. | [optional] |
|
|
8
|
+
| **row** | **Integer** | The row's position, starting at 1. | [optional] |
|
|
9
|
+
| **source** | **String** | The row's source. | [optional] |
|
|
10
|
+
| **target** | **String** | The row's target. | [optional] |
|
|
11
|
+
| **warnings** | [**Array<SfvbErrorDetail>**](SfvbErrorDetail.md) | Findings that do not block it. | [optional] |
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```ruby
|
|
16
|
+
require 'ultracart_api'
|
|
17
|
+
|
|
18
|
+
instance = UltracartClient::SfvbRedirectImportRowResult.new(
|
|
19
|
+
errors: null,
|
|
20
|
+
row: null,
|
|
21
|
+
source: null,
|
|
22
|
+
target: null,
|
|
23
|
+
warnings: null
|
|
24
|
+
)
|
|
25
|
+
```
|
|
26
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# UltracartClient::SfvbRedirectRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **note** | **String** | Why the rule exists, up to 500 characters. | [optional] |
|
|
8
|
+
| **over_live_page** | **Boolean** | Allow a source that is a live, visible page or item, which the rule then hides. | [optional] |
|
|
9
|
+
| **source** | **String** | The path to catch, starting with /. End it with /* to catch everything below. | [optional] |
|
|
10
|
+
| **status** | **String** | Updates only. 301 turns an admin rule into a permanent redirect. Leave empty to keep the rule's status. New rules are always 301. | [optional] |
|
|
11
|
+
| **target** | **String** | A path on the storefront, or a URL on one of its own hosts. | [optional] |
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```ruby
|
|
16
|
+
require 'ultracart_api'
|
|
17
|
+
|
|
18
|
+
instance = UltracartClient::SfvbRedirectRequest.new(
|
|
19
|
+
note: null,
|
|
20
|
+
over_live_page: null,
|
|
21
|
+
source: null,
|
|
22
|
+
status: null,
|
|
23
|
+
target: null
|
|
24
|
+
)
|
|
25
|
+
```
|
|
26
|
+
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# UltracartClient::SfvbRedirectResolveResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **final_path** | **String** | Where the shopper ends up. The storefront sends them straight there in one redirect. | [optional] |
|
|
8
|
+
| **final_status** | **String** | The status the shopper gets, 301, 302, rewrite, or none when no rule matches. | [optional] |
|
|
9
|
+
| **lands_on** | **String** | live_page, hidden_page, item, not_found or other (a file or system path). | [optional] |
|
|
10
|
+
| **path** | **String** | The path asked about. | [optional] |
|
|
11
|
+
| **steps** | [**Array<SfvbRedirectResolveStep>**](SfvbRedirectResolveStep.md) | Each redirect followed, in order. Empty when no rule matches. | [optional] |
|
|
12
|
+
| **too_long** | **Boolean** | True when the chain is longer than the storefront follows. | [optional] |
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```ruby
|
|
17
|
+
require 'ultracart_api'
|
|
18
|
+
|
|
19
|
+
instance = UltracartClient::SfvbRedirectResolveResponse.new(
|
|
20
|
+
final_path: null,
|
|
21
|
+
final_status: null,
|
|
22
|
+
lands_on: null,
|
|
23
|
+
path: null,
|
|
24
|
+
steps: null,
|
|
25
|
+
too_long: null
|
|
26
|
+
)
|
|
27
|
+
```
|
|
28
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# UltracartClient::SfvbRedirectResolveStep
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **from** | **String** | The path requested. | [optional] |
|
|
8
|
+
| **status** | **String** | 301, 302 or rewrite. | [optional] |
|
|
9
|
+
| **to** | **String** | Where the rule sends it. | [optional] |
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'ultracart_api'
|
|
15
|
+
|
|
16
|
+
instance = UltracartClient::SfvbRedirectResolveStep.new(
|
|
17
|
+
from: null,
|
|
18
|
+
status: null,
|
|
19
|
+
to: null
|
|
20
|
+
)
|
|
21
|
+
```
|
|
22
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# UltracartClient::SfvbRedirectResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **redirect** | [**SfvbRedirect**](SfvbRedirect.md) | | [optional] |
|
|
8
|
+
| **warnings** | [**Array<SfvbErrorDetail>**](SfvbErrorDetail.md) | Findings that did not block the write, such as a chain. | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'ultracart_api'
|
|
14
|
+
|
|
15
|
+
instance = UltracartClient::SfvbRedirectResponse.new(
|
|
16
|
+
redirect: null,
|
|
17
|
+
warnings: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# UltracartClient::SfvbRedirectsResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **count** | **Integer** | How many rules the storefront has. | [optional] |
|
|
8
|
+
| **limit** | **Integer** | The most rules a storefront may have through SFVB. | [optional] |
|
|
9
|
+
| **redirects** | [**Array<SfvbRedirect>**](SfvbRedirect.md) | The rules. | [optional] |
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'ultracart_api'
|
|
15
|
+
|
|
16
|
+
instance = UltracartClient::SfvbRedirectsResponse.new(
|
|
17
|
+
count: null,
|
|
18
|
+
limit: null,
|
|
19
|
+
redirects: null
|
|
20
|
+
)
|
|
21
|
+
```
|
|
22
|
+
|
data/docs/SfvbRenderRequest.md
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
| **context_page_number** | **String** | Page number for paginated elements. Defaults to 1. | [optional] |
|
|
16
16
|
| **context_upsell_offer_oid** | **Integer** | Upsell offer oid for the rendering context. | [optional] |
|
|
17
17
|
| **edit_mode** | **Boolean** | True renders every branch the way the builder shows it, for styling content a shopper only sometimes sees. Omitted or false renders what a shopper sees, with conditions, prices and sale state evaluated against the context item. | [optional] |
|
|
18
|
-
| **language_iso_code** | **String** |
|
|
18
|
+
| **language_iso_code** | **String** | Three-letter ISO 639-2 language code in the bibliographic form (GER, FRE, CHI), with UltraCart exceptions such as ESP for Spanish. Must be enabled on the storefront. Defaults to ENG. | [optional] |
|
|
19
19
|
| **uri** | **String** | Storefront URI the node would appear on. Affects rendering of anything page relative. | [optional] |
|
|
20
20
|
|
|
21
21
|
## Example
|