Skip to main content
PATCH
/
v1
/
partner
/
products
/
:productId
/
sync
Update Shopify sync preferences
curl --request PATCH \
  --url http://localhost:3000/v1/partner/products/:productId/sync \
  --header 'Content-Type: application/json' \
  --data '
{
  "sync_name": true,
  "sync_description": true,
  "sync_images": true,
  "sync_retail_price": true,
  "sync_barcode": true,
  "sync_size": true,
  "is_enabled": true,
  "clear_locally_modified": [
    "<string>"
  ]
}
'
{
  "sync": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "scraped_product_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "shopify_store_domain": "<string>",
    "shopify_handle": "<string>",
    "sync_name": true,
    "sync_description": true,
    "sync_images": true,
    "sync_retail_price": true,
    "sync_barcode": true,
    "sync_size": true,
    "is_enabled": true,
    "last_sync_at": "<string>",
    "last_sync_status": "success",
    "last_sync_error": "<string>",
    "locally_modified_fields": [
      "<string>"
    ],
    "created_at": "<string>",
    "updated_at": "<string>"
  }
}

Path Parameters

productId
string<uuid>
required

Body

application/json
sync_name
boolean
sync_description
boolean
sync_images
boolean
sync_retail_price
boolean
sync_barcode
boolean
sync_size
boolean
is_enabled
boolean
clear_locally_modified
string[]

Response

Sync configuration updated

sync
object
required