Skip to content

Commit 970cc56

Browse files
authored
Merge branch 'main' into ju/update-apis-script
2 parents 4ce075d + 0b658af commit 970cc56

File tree

103 files changed

+3387
-1058
lines changed

Some content is hidden

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

103 files changed

+3387
-1058
lines changed

CHANGELOG.md

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

3+
## v5.1.0
4+
5+
### API Versions
6+
7+
New API:
8+
- Shopper Configuration
9+
10+
| API Name | API Version |
11+
|----------|-------------|
12+
| assignments | 1.0.36 |
13+
| campaigns | 1.0.38 |
14+
| catalogs | 1.0.43 |
15+
| cdn-api-process-apis | 1.0.40 |
16+
| cors-preferences | 1.0.7 |
17+
| coupons | 1.0.40 |
18+
| customers | 1.0.33 |
19+
| gift-certificates | 1.0.40 |
20+
| orders | 1.4.11 |
21+
| preferences | 1.1.4 |
22+
| products | 1.0.41 |
23+
| promotions | 1.0.34 |
24+
| shopper-baskets | 1.9.1 |
25+
| shopper-baskets | 2.1.1 |
26+
| shopper-configurations | 1.0.0 |
27+
| shopper-consents | 1.1.2 |
28+
| shopper-context | 1.1.2 |
29+
| shopper-customers | 1.1.2 |
30+
| shopper-experience | 1.0.9 |
31+
| shopper-gift-certificates | 1.0.27 |
32+
| shopper-login | 1.40.0 |
33+
| shopper-orders | 1.5.1 |
34+
| shopper-products | 1.0.39 |
35+
| shopper-promotions | 1.0.37 |
36+
| shopper-search | 1.5.1 |
37+
| shopper-seo | 1.0.14 |
38+
| shopper-stores | 1.0.18 |
39+
| slas-admin | 1.12.31 |
40+
| source-code-groups | 1.0.38 |
41+
42+
### Bug Fixes
43+
- Fix incorrect encoding of multi-segment endpoint paths in `callCustomEndpoint` [#435](https://github.com/SalesforceCommerceCloud/commerce-sdk/pull/435)
44+
345
## v5.0.0
446

547
### API Versions

apis/assignments-oas-1.0.35/assignments-oas-v1-public.yaml renamed to apis/assignments-oas-1.0.36/assignments-oas-v1-public.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
openapi: 3.0.3
22
info:
33
title: Assignments
4-
version: v1
5-
description: "# API Overview\n\nUse the Assignments API to search for promotions associated with campaigns.\n\nFor more information, see [Campaigns and Promotions](https://documentation.b2c.commercecloud.salesforce.com/DOC1/topic/com.demandware.dochelp/Promotions/CampaignsandPromotions.html) in the Salesforce B2C Commerce Infocenter.\n\n## Authentication & Authorization\n\nThe client requesting the promotion information must have access to the Promotion resource. For resource access, you must use a client ID and client secret from Account Manager to request an access token. The access token is used as a bearer token and added to the Authorization header of your API request. The client must first authenticate against Account Manager to log in.\n\nYou must include the relevant scope(s) in the client ID used to generate the token. For details, see [Authorization Scopes Catalog.](https://developer.salesforce.com/docs/commerce/commerce-api/guide/auth-z-scope-catalog.html)\n\nFor detailed setup instructions, see [Authorization for Admin APIs](https://developer.salesforce.com/docs/commerce/commerce-api/guide/authorization-for-admin-apis.html).\n\n## Use Cases\n\n### Find All Associated Promotions\n\nUse the Assignments API to find all associated promotions for a given campaign. "
4+
version: 1.0.36
5+
description: "[Download API specification](https://developer.salesforce.com/static/commercecloud/commerce-api/assignments/assignments-oas-v1-public.yaml)\n\n# API Overview\n\nUse the Assignments API to search for promotions associated with campaigns.\n\nFor more information, see [Campaigns and Promotions](https://documentation.b2c.commercecloud.salesforce.com/DOC1/topic/com.demandware.dochelp/Promotions/CampaignsandPromotions.html) in the Salesforce B2C Commerce Infocenter.\n\n## Authentication & Authorization\n\nThe client requesting the promotion information must have access to the Promotion resource. For resource access, you must use a client ID and client secret from Account Manager to request an access token. The access token is used as a bearer token and added to the Authorization header of your API request. The client must first authenticate against Account Manager to log in.\n\nYou must include the relevant scope(s) in the client ID used to generate the token. For details, see [Authorization Scopes Catalog.](https://developer.salesforce.com/docs/commerce/commerce-api/guide/auth-z-scope-catalog.html)\n\nFor detailed setup instructions, see [Authorization for Admin APIs](https://developer.salesforce.com/docs/commerce/commerce-api/guide/authorization-for-admin-apis.html).\n\n## Use Cases\n\n### Find All Associated Promotions\n\nUse the Assignments API to find all associated promotions for a given campaign. "
66
servers:
77
- url: https://{shortCode}.api.commercecloud.salesforce.com/pricing/assignments/v1
88
variables:
@@ -545,7 +545,7 @@ components:
545545
Offset:
546546
default: 0
547547
minimum: 0
548-
format: int64
548+
format: int32
549549
description: The zero-based index of the first hit/data to include in the result.
550550
type: integer
551551
example: 0
@@ -573,7 +573,7 @@ components:
573573
Total:
574574
default: 0
575575
minimum: 0
576-
format: int64
576+
format: int32
577577
description: The total number of hits that match the search's criteria. This can be greater than the number of results returned as search results are pagenated.
578578
type: integer
579579
example: 10
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "Assignments OAS",
44
"groupId": "893f605e-10e2-423a-bdb4-f952f56eb6d8",
55
"assetId": "assignments-oas",
6-
"version": "1.0.35",
6+
"version": "1.0.36",
77
"classifier": "oas",
88
"tags": [],
99
"descriptorVersion": "1.0.0",

apis/campaigns-oas-1.0.37/campaigns-oas-v1-public.yaml renamed to apis/campaigns-oas-1.0.38/campaigns-oas-v1-public.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
openapi: 3.0.3
22
info:
33
title: Campaigns
4-
version: v1
4+
version: 1.0.38
55
description: |-
6+
[Download API specification](https://developer.salesforce.com/static/commercecloud/commerce-api/campaigns/campaigns-oas-v1-public.yaml)
7+
68
# API Overview
79
810
Campaigns enable experiences based on an optional schedule and qualifying criteria.
@@ -751,7 +753,7 @@ components:
751753
Offset:
752754
default: 0
753755
minimum: 0
754-
format: int64
756+
format: int32
755757
description: The zero-based index of the first hit/data to include in the result.
756758
type: integer
757759
example: 0
@@ -779,7 +781,7 @@ components:
779781
Total:
780782
default: 0
781783
minimum: 0
782-
format: int64
784+
format: int32
783785
description: The total number of hits that match the search's criteria. This can be greater than the number of results returned as search results are pagenated.
784786
type: integer
785787
example: 10
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "Campaigns OAS",
44
"groupId": "893f605e-10e2-423a-bdb4-f952f56eb6d8",
55
"assetId": "campaigns-oas",
6-
"version": "1.0.37",
6+
"version": "1.0.38",
77
"classifier": "oas",
88
"tags": [],
99
"descriptorVersion": "1.0.0",

apis/catalogs-oas-1.0.42/catalogs-oas-v1-public.yaml renamed to apis/catalogs-oas-1.0.43/catalogs-oas-v1-public.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
openapi: 3.0.3
22
info:
3+
x-api-type: Admin
4+
x-api-family: Product
35
title: Catalogs
4-
version: v1
6+
version: 1.0.43
57
description: |-
8+
[Download API specification](https://developer.salesforce.com/static/commercecloud/commerce-api/catalogs/catalogs-oas-v1-public.yaml)
9+
610
# API Overview
711
812
With the Catalogs API, you can:
@@ -2019,7 +2023,7 @@ components:
20192023
Total:
20202024
default: 0
20212025
minimum: 0
2022-
format: int64
2026+
format: int32
20232027
description: The total number of hits that match the search's criteria. This can be greater than the number of results returned as search results are pagenated.
20242028
type: integer
20252029
example: 10
@@ -2039,7 +2043,7 @@ components:
20392043
Offset:
20402044
default: 0
20412045
minimum: 0
2042-
format: int64
2046+
format: int32
20432047
description: The zero-based index of the first hit/data to include in the result.
20442048
type: integer
20452049
example: 0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "Catalogs OAS",
44
"groupId": "893f605e-10e2-423a-bdb4-f952f56eb6d8",
55
"assetId": "catalogs-oas",
6-
"version": "1.0.42",
6+
"version": "1.0.43",
77
"classifier": "oas",
88
"tags": [],
99
"descriptorVersion": "1.0.0",

0 commit comments

Comments
 (0)