curl --request POST \
--url https://services.leadconnectorhq.com/store/shopify/{altId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"syncConfig": {
"orderReceivedTrigger": true,
"paymentReceivedTrigger": true,
"contacts": true,
"products": true,
"orders": true,
"transactions": true,
"collections": true
},
"importConfig": {
"orderReceivedTrigger": true,
"paymentReceivedTrigger": true,
"contacts": true,
"products": true,
"orders": true,
"transactions": true,
"collections": true
}
}
'{
"status": true,
"message": "Successfully created"
}Method to trigger and toggle the shopify import and sync
curl --request POST \
--url https://services.leadconnectorhq.com/store/shopify/{altId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"syncConfig": {
"orderReceivedTrigger": true,
"paymentReceivedTrigger": true,
"contacts": true,
"products": true,
"orders": true,
"transactions": true,
"collections": true
},
"importConfig": {
"orderReceivedTrigger": true,
"paymentReceivedTrigger": true,
"contacts": true,
"products": true,
"orders": true,
"transactions": true,
"collections": true
}
}
'{
"status": true,
"message": "Successfully created"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Was this page helpful?