Compare commits
No commits in common. "6435a014c33c90f714fa6a73f49600aa7aec19e2" and "4e1b3b89636d24997f8af42fb698074ac6105eef" have entirely different histories.
6435a014c3
...
4e1b3b8963
@ -173,10 +173,8 @@ app.post('/create-order', async (req, res) => {
|
||||
customer: {
|
||||
first_name: customerData.first_name,
|
||||
last_name: customerData.last_name,
|
||||
email: customerData.email
|
||||
// Note: phone is omitted from the customer profile block to prevent Shopify
|
||||
// "customer.phone_number has already been taken" 400 errors.
|
||||
// The phone number is still fully stored and used in billing_address and shipping_address.
|
||||
email: customerData.email,
|
||||
phone: customerData.phone
|
||||
},
|
||||
billing_address: {
|
||||
first_name: customerData.first_name,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user