Sign in

Update product image

documented

Update a product image.

PUT /3dCartWebAPI/v1/ProductImages/{imageId}Productsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://apirest.3dcart.com/3dCartWebAPI/v1/ProductImages/{{$imageId}}" \
  -X PUT \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -H "SecureURL: {{SHIFT4SHOP_SECURE_URL}}" \
  -H "PrivateKey: {{SHIFT4SHOP_PRIVATE_KEY}}" \
  -H "Token: {{SHIFT4SHOP_TOKEN}}" \
  -d '{"ImageURL": "{{$image_url}}", "AltText": "{{$alt_text}}", "Caption": "{{$caption}}", "SortOrder": {{$sort_order}}, "IsMainImage": {{$is_main}}}'