Salla · Arazzo Workflow
Salla Upsert Customer
Version 1.0.0
Find a customer in a page of results and update them, otherwise create a new customer.
View Spec
View on GitHub
ArabicE-CommerceGCCHeadless CommerceMerchantMENAOnline StoresRetailSaudi ArabiaSMBStorefrontArazzoWorkflows
Provider
Workflows
upsert-customer
Upsert a customer into the store directory.
Reads a page of customers and either updates the first existing customer or creates a new one when the directory is empty.
1
findCustomer
listCustomers
Read the first page of customers to determine whether the directory already holds a customer to update.
2
updateExisting
updateCustomer
Update the first matched customer with the supplied contact details.
3
createNew
createCustomer
Create a new customer record when the directory held no customer to update.