Releases: SalesforceCommerceCloud/commerce-sdk
Releases · SalesforceCommerceCloud/commerce-sdk
v3.0.0
v3.0.0
API Changes
Shopper Customers
- Removal of deprecated endpoints:
invalidateCustomerAuth
authorizeCustomer
authorizeTrustedSystem
Shopper Orders
Endpoint Name | Description |
---|---|
guestOrderLookup | Lookup a guest order |
Customers
Endpoint Name | Description |
---|---|
searchCustomerGroup | Search for customer groups in a given Site Id |
Coupons
Endpoint Name | Description |
---|---|
redeemCoupon | Redeems a coupon code for an existing coupon within the selected site. The coupon code must be redeemable. |
Enchancements
- Add helper function
customApiHelper.callCustomEndpoint
to call Custom APIs - #402
Other Changes
- Removal of deprecated helper function
getShopperToken
v2.15.0
v2.15.0
API Changes
- Update APIs for Shopper Search
-
New Endpoints
Endpoint Name Description getWafManagedRulesets Retrieves WAFv2 managed rulesets. updateWafManagedRuleset Updates WAFv2 managed ruleset.
v2.14.0
v2.14.0
API Changes
- Shopper SEO API*
New Endpoints
Endpoint Name | Description |
---|---|
getUrlMapping | Gets URL mapping information for a URL that a shopper clicked or typed in. The mapping information is based on URL rules and redirects set up in Business Manager. For more information about prerequisites and sample usage, see URL Resolution. You can customize the behavior of this endpoint by using hooks. See the hooks for getUrlMapping in the Hook List. |
v2.13.0
v2.12.0
v2.11.2
v2.11.2
Bug fixes
- Mark
expand
query parameter forgetProduct
endpoint as optional instead of required
v2.11.1
v2.11.1
Bug fixes
- Fix
expand
query parameter forshopper-products
- Remove
retrieveCredQualityUserInfo
endpoint fromshopper-login
as this functionality was removed from SLAS
v2.11.0
v2.11.0
API Changes
CDN Zones API
-
New Endpoints
Endpoint Name Description getSecuritySettings Retrieve security settings for a zone updateSecuritySettings Update security settings for a zone deleteCertificate This action deletes a custom hostname and the certificate associated with it. Note that a valid certificate is necessary for a site to remain operational. DELETING AN IN-USE CERTIFICATE MAY RESULT IN DOWNTIME createMrtRules Create MRT rules updateMrtRuleset Update the MRT hostname or add MRT rules to the ruleset getMrtRules Get MRT rules associated with a zone deleteMrtRuleset Delete the MRT ruleset specified for that particular zone deleteMrtRule elete an MRT rule in the specified ruleset updateMrtRule Update the expression and enable or disable an MRT rule createLogpushOwnership Create Logpush ownership token file createLogpushJob Create Logpush job listLogpushJob List Logpush job getLogpushJob Get Logpush job details updateLogpushJob Update Logpush job deleteLogpushJob Delete Logpush job by job ID createCustomRule Creates a custom rule getCustomRules Retrieves existing custom rules updateOrderOfCustomRules Updates the order of all existing custom rules getCustomRule Retrieves a specific custom rule updateCustomRule Updates a specific custom rule deleteCustomRule Deletes a specific custom rule createRateLimitingRule Creates a rate limiting rule getRateLimitingRules Retrieves existing rate limiting rules getRateLimitingRule Retrieves a specific rate limiting rule updateRateLimitingRule Updates a specific rate limiting rule deleteRateLimitingRule Deletes a specific rate limiting rule
Shopper Baskets API
-
New Endpoints
Endpoint Name Description updateAsAgentBasket Marks a basket as an agent basket addPriceAdjustmentToBasket Adds a custom manual price adjustment to the basket removePriceAdjustmentFromBasket Removes a custom manual price adjustment from the basket updatePriceAdjustmentInBasket Updates a custom manual price adjustment on the basket. Only the following path values are considered for the update ( discount
,itemText
,reasonCode
,custom properties
); all other attributes are ignored. The discounttype
of a price adjustment cannot be updated and therefore, the value of the existing type must be passed. For an adjustment of typepercentage
, thepercentage
attribute is mandatory. For adjustments of typeamount
andfixed_price
, theamount
attribute is mandatory.updateAsStorefrontBasket Marks a basket as a storefront basket
SLAS Admin API
-
New Endpoints
Endpoint Name Description retrievePwdlessTemplate Retrieve/get a password action template registerPwdlessTemplate Create or update a password action template deletePwdlessTemplate Delete a password action template -
Removed Endpoints
retrieveCredQuailtyStats
andretrieveCredQuailtyUserStats
endpoints have been removed as that functionality has been eliminated from SLAS and no customers were using these operations.
Documentation
- Admin API examples have been updated in the generated documentation site
v2.10.1
v2.10.1
Bug Fixes
- Fixes
nanoid
dependency issue
v2.10.0
v2.10.0
API Changes
CDN Zones API
-
New Endpoints
Endpoint Name Description validateCustomHostname Restart the validation checks for a given custom hostname for a particular zone
Shopper Login
-
New Endpoints
Endpoint Name Description getSessionBridgeAccessToken Get a shopper JWT access token for a registered customer using session bridge getTrustedAgentAuthorizationToken Obtains a new agent on behalf authorization token for a registered customer getTrustedAgentAccessToken Get a shopper JWT access token for a registered customer using a trusted agent (Merchant)