Skip to content

Commit 8f92b7f

Browse files
Release v5.0.0 (@W-20718643@) (#268)
* Release/20260119 5.0.0 preview - for ECOM 26.2 (#266) * update for 5.0.0 release * update docs * handle case for unique items --------- Co-authored-by: Alex Vuong <alex.vuong@salesforce.com>
1 parent 923dd9e commit 8f92b7f

File tree

110 files changed

+16274
-4154
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

110 files changed

+16274
-4154
lines changed

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,28 @@
11
# CHANGELOG
22

3+
## v5.0.0
4+
5+
### API Versions
6+
7+
| API Name | API Version |
8+
|----------|-------------|
9+
| shopper-baskets | 1.9.4 |
10+
| shopper-baskets | 2.3.3 |
11+
| shopper-configurations | 1.0.2 |
12+
| shopper-consents | 1.1.4 |
13+
| shopper-context | 1.1.3 |
14+
| shopper-customers | 1.3.2 |
15+
| shopper-experience | 1.1.2 |
16+
| shopper-gift-certificates | 1.0.29 |
17+
| shopper-login | 1.42.2 |
18+
| shopper-orders | 1.10.0 |
19+
| shopper-payments | 1.2.3 |
20+
| shopper-products | 1.1.3 |
21+
| shopper-promotions | 1.0.39 |
22+
| shopper-search | 1.5.4 |
23+
| shopper-seo | 1.0.17 |
24+
| shopper-stores | 1.0.19 |
25+
326
## v4.2.0
427

528
### API Versions

api-versions.txt

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
1-
shopper-baskets-oas-v1=1.9.1
2-
shopper-baskets-oas-v2=2.1.1
1+
shopper-baskets-oas-v1=1.9.4
2+
shopper-baskets-oas-v2=2.3.3
3+
shopper-configurations-oas-v1=1.0.2
34
shopper-consents-oas-v1=1.1.4
45
shopper-context-oas-v1=1.1.3
5-
shopper-customers-oas-v1=1.2.1
6+
shopper-customers-oas-v1=1.3.2
67
shopper-experience-oas-v1=1.1.2
78
shopper-gift-certificates-oas-v1=1.0.29
89
shopper-login-oas-v1=1.42.2
9-
shopper-orders-oas-v1=1.6.0
10-
shopper-products-oas-v1=1.1.2
10+
shopper-orders-oas-v1=1.10.0
11+
shopper-payments-oas-v1=1.2.3
12+
shopper-products-oas-v1=1.1.3
1113
shopper-promotions-oas-v1=1.0.39
1214
shopper-search-oas-v1=1.5.4
13-
shopper-seo-oas-v1=1.0.16
15+
shopper-seo-oas-v1=1.0.17
1416
shopper-stores-oas-v1=1.0.19

apis/shopper-baskets-oas-1.9.1/exchange.json renamed to apis/shopper-baskets-oas-1.9.4/exchange.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "Shopper Baskets OAS",
44
"groupId": "893f605e-10e2-423a-bdb4-f952f56eb6d8",
55
"assetId": "shopper-baskets-oas",
6-
"version": "1.9.1",
6+
"version": "1.9.4",
77
"classifier": "oas",
88
"tags": [],
99
"descriptorVersion": "1.0.0",

apis/shopper-baskets-oas-1.9.1/shopper-baskets-oas-v1-public.yaml renamed to apis/shopper-baskets-oas-1.9.4/shopper-baskets-oas-v1-public.yaml

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ info:
33
x-api-type: Shopper
44
x-api-family: Checkout
55
title: Shopper Baskets
6-
version: 1.9.1
6+
version: 1.9.4
77
description: |-
88
[Download API specification](https://developer.salesforce.com/static/commercecloud/commerce-api/shopper-baskets/shopper-baskets-oas-v1-public.yaml)
99
@@ -44,7 +44,7 @@ info:
4444
4545
For details on how to request a shopper access token from SLAS, see the guest user flows for [public clients](https://developer.salesforce.com/docs/commerce/commerce-api/guide/slas-public-client.html#guest-user) and [private clients](https://developer.salesforce.com/docs/commerce/commerce-api/guide/slas-private-client.html#guest-user) in the SLAS guides.
4646
47-
You must include the relevant scope(s) in the client ID used to generate the SLAS token. For details, see the [Authorization Scopes Catalog.](https://developer.salesforce.com/docs/commerce/commerce-api/guide/auth-z-scope-catalog.html)
47+
You must include `sfcc.shopper-baskets-orders` or `sfcc.shopper-baskets-orders.rw` in the client ID used to generate the SLAS token. For a full list of permissions, see the [Authorization Scopes Catalog.](https://developer.salesforce.com/docs/commerce/commerce-api/guide/auth-z-scope-catalog.html)
4848
4949
The following resources require an Account Manager OAuth token with a client ID:
5050
@@ -119,7 +119,8 @@ paths:
119119
120120
The created basket is initialized with default values. Optional JSON data provided in the request body is populated into the created basket. It can be updated with other endpoints offered by the Shopper Baskets API.
121121
122-
Each customer can have just one open basket. When a basket is created, it is said to be open. It remains open until either an order is created from it or it is deleted.
122+
Each shopper is limited to one open basket at a time. Attempting to create a second basket for the same customer will result in a 400 Bad Request error with the message: "Customer Baskets Quota Exceeded".
123+
A basket is considered "open" upon creation and remains in this state until it is either converted into an order or explicitly deleted. For implementation best practices, see [Hybrid Storefront Best Practices for Working with Baskets](https://developer.salesforce.com/docs/commerce/commerce-api/guide/hybrid-storefront-baskets.html#hybrid-storefront-best-practices-for-working-with-baskets).
123124
operationId: createBasket
124125
summary: Create a new basket.
125126
security:
@@ -2171,9 +2172,8 @@ components:
21712172
DefaultFallback:
21722173
default: default
21732174
description: A specialized value indicating the system default values for locales.
2175+
pattern: ^default$
21742176
example: default
2175-
enum:
2176-
- default
21772177
type: string
21782178
LocaleCode:
21792179
description: A descriptor for a geographical region by both a language and country code. By combining these two, regional differences in a language can be addressed, such as with the request header parameter `Accept-Language` following [RFC 2616](https://tools.ietf.org/html/rfc2616) & [RFC 1766](https://tools.ietf.org/html/rfc1766). This can also just refer to a language code, also RFC 2616/1766 compliant, as a default if there is no specific match for a country. Finally, can also be used to define default behavior if there is no locale specified.
@@ -2379,24 +2379,11 @@ components:
23792379
type: boolean
23802380
required:
23812381
- code
2382-
ISOCurrency:
2383-
pattern: ^[A-Z][A-Z][A-Z]$
2384-
description: A three letter uppercase currency code conforming to the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.
2385-
example: USD
2386-
type: string
2387-
NoValue:
2388-
default: N/A
2389-
description: A specialized value indicating the lack of definition of a currency, for example, if the value of the monetary value of the currency is an undefined number.
2390-
example: N/A
2391-
enum:
2392-
- N/A
2393-
type: string
23942382
CurrencyCode:
23952383
description: A three letter uppercase currency code conforming to the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard, or the string `N/A` indicating that a currency is not applicable.
2384+
pattern: ^([A-Z][A-Z][A-Z]|N/A)$
23962385
example: USD
2397-
oneOf:
2398-
- $ref: '#/components/schemas/ISOCurrency'
2399-
- $ref: '#/components/schemas/NoValue'
2386+
type: string
24002387
CustomerInfo:
24012388
additionalProperties:
24022389
title: Additional Property Support

apis/shopper-baskets-oas-2.1.1/exchange.json renamed to apis/shopper-baskets-oas-2.3.3/exchange.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "Shopper Baskets OAS",
44
"groupId": "893f605e-10e2-423a-bdb4-f952f56eb6d8",
55
"assetId": "shopper-baskets-oas",
6-
"version": "2.1.1",
6+
"version": "2.3.3",
77
"classifier": "oas",
88
"tags": [],
99
"descriptorVersion": "1.0.0",

0 commit comments

Comments
 (0)