Create/Update Store Settings
Create or update store settings by altId and altType.
POST
/
store
/
store-setting
Create/Update Store Settings
curl --request POST \
--url https://services.leadconnectorhq.com/store/store-setting \
--header 'Content-Type: application/json' \
--data '
{
"altId": "6578278e879ad2646715ba9c",
"altType": "location",
"shippingOrigin": {
"name": "ABC Store",
"country": "US",
"city": "Tokyo",
"street1": "Street 1",
"zip": "674561",
"state": "VA",
"street2": "Street 2",
"phone": "+1-214-559-6993",
"email": "john@deo.com"
},
"storeAdminOrderNotification": {}
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
altId: '6578278e879ad2646715ba9c',
altType: 'location',
shippingOrigin: {
name: 'ABC Store',
country: 'US',
city: 'Tokyo',
street1: 'Street 1',
zip: '674561',
state: 'VA',
street2: 'Street 2',
phone: '+1-214-559-6993',
email: 'john@deo.com'
},
storeAdminOrderNotification: {}
})
};
fetch('https://services.leadconnectorhq.com/store/store-setting', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://services.leadconnectorhq.com/store/store-setting"
payload = {
"altId": "6578278e879ad2646715ba9c",
"altType": "location",
"shippingOrigin": {
"name": "ABC Store",
"country": "US",
"city": "Tokyo",
"street1": "Street 1",
"zip": "674561",
"state": "VA",
"street2": "Street 2",
"phone": "+1-214-559-6993",
"email": "john@deo.com"
},
"storeAdminOrderNotification": {}
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"status": true,
"data": {
"altId": "6578278e879ad2646715ba9c",
"altType": "location",
"shippingOrigin": {
"name": "ABC Store",
"country": "US",
"city": "Tokyo",
"street1": "Street 1",
"zip": "674561",
"state": "VA",
"street2": "Street 2",
"phone": "+1-214-559-6993",
"email": "john@deo.com"
},
"_id": "655b33a82209e60b6adb87a5",
"createdAt": "2023-12-12T09:27:42.355Z",
"updatedAt": "2023-12-12T09:27:42.355Z",
"storeOrderNotification": {
"enabled": true,
"subject": "Your order is placed !",
"emailTemplateId": "6788d542f0462ffd6bc29bb9",
"defaultEmailTemplateId": "6788d542f0462ffd6bc29bb9"
},
"storeOrderFulfillmentNotification": {
"enabled": true,
"subject": "Order fulfilled",
"emailTemplateId": "6788d542f0462ffd6bc29bb9",
"defaultEmailTemplateId": "6788d542f0462ffd6bc29bb9"
},
"storeAdminOrderNotification": {
"email": {
"enabled": true,
"defaultEmailTemplateId": "6888ca86650bbe97a6548434",
"emailTemplateId": "6888ca86650bbe97a6548434",
"subject": "Order Confirmation for Stores"
},
"sms": {
"enabled": true,
"defaultSmsTemplateId": "default",
"smsTemplateId": "default"
}
}
},
"message": "Successfully created"
}{
"statusCode": 400,
"message": "Bad Request"
}{
"statusCode": 401,
"message": "Invalid token: access token is invalid",
"error": "Unauthorized"
}{
"statusCode": 422,
"message": [
"Unprocessable Entity"
],
"error": "Unprocessable Entity"
}Body
application/json
Last modified on March 8, 2026
Was this page helpful?
Create/Update Store Settings
curl --request POST \
--url https://services.leadconnectorhq.com/store/store-setting \
--header 'Content-Type: application/json' \
--data '
{
"altId": "6578278e879ad2646715ba9c",
"altType": "location",
"shippingOrigin": {
"name": "ABC Store",
"country": "US",
"city": "Tokyo",
"street1": "Street 1",
"zip": "674561",
"state": "VA",
"street2": "Street 2",
"phone": "+1-214-559-6993",
"email": "john@deo.com"
},
"storeAdminOrderNotification": {}
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
altId: '6578278e879ad2646715ba9c',
altType: 'location',
shippingOrigin: {
name: 'ABC Store',
country: 'US',
city: 'Tokyo',
street1: 'Street 1',
zip: '674561',
state: 'VA',
street2: 'Street 2',
phone: '+1-214-559-6993',
email: 'john@deo.com'
},
storeAdminOrderNotification: {}
})
};
fetch('https://services.leadconnectorhq.com/store/store-setting', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://services.leadconnectorhq.com/store/store-setting"
payload = {
"altId": "6578278e879ad2646715ba9c",
"altType": "location",
"shippingOrigin": {
"name": "ABC Store",
"country": "US",
"city": "Tokyo",
"street1": "Street 1",
"zip": "674561",
"state": "VA",
"street2": "Street 2",
"phone": "+1-214-559-6993",
"email": "john@deo.com"
},
"storeAdminOrderNotification": {}
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"status": true,
"data": {
"altId": "6578278e879ad2646715ba9c",
"altType": "location",
"shippingOrigin": {
"name": "ABC Store",
"country": "US",
"city": "Tokyo",
"street1": "Street 1",
"zip": "674561",
"state": "VA",
"street2": "Street 2",
"phone": "+1-214-559-6993",
"email": "john@deo.com"
},
"_id": "655b33a82209e60b6adb87a5",
"createdAt": "2023-12-12T09:27:42.355Z",
"updatedAt": "2023-12-12T09:27:42.355Z",
"storeOrderNotification": {
"enabled": true,
"subject": "Your order is placed !",
"emailTemplateId": "6788d542f0462ffd6bc29bb9",
"defaultEmailTemplateId": "6788d542f0462ffd6bc29bb9"
},
"storeOrderFulfillmentNotification": {
"enabled": true,
"subject": "Order fulfilled",
"emailTemplateId": "6788d542f0462ffd6bc29bb9",
"defaultEmailTemplateId": "6788d542f0462ffd6bc29bb9"
},
"storeAdminOrderNotification": {
"email": {
"enabled": true,
"defaultEmailTemplateId": "6888ca86650bbe97a6548434",
"emailTemplateId": "6888ca86650bbe97a6548434",
"subject": "Order Confirmation for Stores"
},
"sms": {
"enabled": true,
"defaultSmsTemplateId": "default",
"smsTemplateId": "default"
}
}
},
"message": "Successfully created"
}{
"statusCode": 400,
"message": "Bad Request"
}{
"statusCode": 401,
"message": "Invalid token: access token is invalid",
"error": "Unauthorized"
}{
"statusCode": 422,
"message": [
"Unprocessable Entity"
],
"error": "Unprocessable Entity"
}