Skip to content

Instantly share code, notes, and snippets.

@z1haze
z1haze / passwordless-login-with-merge-basket.sh
Created January 29, 2024 16:31
passwordless-login-with-merge-basket.sh
#!/bin/bash
# Passwordless Login with Merge Basket!
# https://developer.salesforce.com/docs/commerce/commerce-api/references?meta=shopper-login:authorizePasswordlessCustomer
# Client needs additional scope `sfcc.pwdless_login`.
set -euo pipefail
CODE='kv7kzm78'
ORG='f_ecom_zzrf_001'
CLIENT='d125886c-c45a-49f5-acf5-08e48617b66b'
SECRET=