Skip to content

Set the Shopify connection used for product syncs

Request

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
Bodyapplication/jsonrequired
shopifyDomainsArray of stringsrequired

The full list of Shopify store domains to use for product syncs. Only an empty list (clear the configured connection) or a single connection is supported; more than one is rejected.

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"
    ]
  }'

Responses

Success

Bodyapplication/json
resultobjectrequired
permittedActionsArray of objectsrequired
Response
{ "result": { "shopifyDomains": [] }, "permittedActions": [ {} ] }