Sets the full list of Shopify connections used for product syncs. Currently only a list containing a single connection is supported anything else is rejected with 422. Setting a connection kicks off a product sync. If a sync is already in progress it is allowed to finish, after which a sync for the newly chosen connection runs.
Security
bearerToken
- Productionhttps://api-v2.dash.app/shopify-product-sync-settings
- Staginghttps://api-v2.dashstaging.app/shopify-product-sync-settings
curl -i -X PUT \
https://api-v2.dash.app/shopify-product-sync-settings \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"shopifyDomains": [
"slurm.myshopify.com"
]
}'Response
{ "result": { "shopifyDomains": [ … ] }, "permittedActions": [ { … } ] }