Skip to content

Commit db6eb8f

Browse files
authored
@W-20224267 feat: Shopper Login v1.43.0 (#271)
* Add Shopper Login OAS v1.43.0 API specification and YAML file
1 parent ff8901f commit db6eb8f

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

apis/shopper-login-oas-1.42.2/exchange.json renamed to apis/shopper-login-oas-1.43.0/exchange.json

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

apis/shopper-login-oas-1.42.2/shopper-login-oas-v1-public.yaml renamed to apis/shopper-login-oas-1.43.0/shopper-login-oas-v1-public.yaml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ info:
33
x-api-type: Shopper
44
x-api-family: Shopper
55
title: Shopper Login
6-
version: 1.42.2
6+
version: 1.43.0
77
description: |-
88
[Download API specification](https://developer.salesforce.com/static/commercecloud/commerce-api/shopper-login/shopper-login-oas-v1-public.yaml)
99
@@ -892,7 +892,7 @@ paths:
892892
type: string
893893
/organizations/{organizationId}/oauth2/session-bridge/token:
894894
post:
895-
summary: Get a shopper JWT access token for a registered customer using session bridging.
895+
summary: Get a shopper JWT access token for a customer using session bridging.
896896
description: |-
897897
For public client ID requests, you must set the grant_type to `session_bridge`.
898898
@@ -2604,7 +2604,7 @@ components:
26042604
- email
26052605
locale:
26062606
type: string
2607-
description: The locale of the template. Not needed for the `callback` mode
2607+
description: The locale of the template. Required when the mode is `email` or `sms`.
26082608
example: en-us
26092609
usid:
26102610
type: string
@@ -2642,6 +2642,11 @@ components:
26422642
type: string
26432643
description: "The user's phone number. Optional when `register_customer` is `true`. \nThe `phone_number` parameter is not used when `register_customer` parameter is not added or is `false`."
26442644
example: 17776665555
2645+
customer_no:
2646+
maxLength: 100
2647+
type: string
2648+
description: "The customer number assigned to the shopper profile when `register_customer` is set to `true`. \nIf the `customer_no` already exists, the request fails. \nThe `customer_no` parameter is optional and only used when `register_customer` is set to `true`."
2649+
example: 123456789
26452650
description: A request for a passwordless login token. This is only available for registered users using B2C Commerce.
26462651
TokenType:
26472652
type: string
@@ -3031,7 +3036,7 @@ components:
30313036
example: RefArch
30323037
locale:
30333038
type: string
3034-
description: The locale of the template.
3039+
description: The locale of the template. Required when the mode is `email` or `sms`.
30353040
example: en-us
30363041
client_id:
30373042
maxLength: 40
@@ -3362,7 +3367,6 @@ components:
33623367
required:
33633368
- client_id
33643369
- channel_id
3365-
- user_id
33663370
properties:
33673371
tenant_id:
33683372
type: string

0 commit comments

Comments
 (0)