Update product
documentedUpdate a product.
PUT /3dCartWebAPI/v1/Products/{productId}Productsno implementation yet0 runsNo 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/Products/{{$productId}}" \
-X PUT \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "SecureURL: {{SHIFT4SHOP_SECURE_URL}}" \
-H "PrivateKey: {{SHIFT4SHOP_PRIVATE_KEY}}" \
-H "Token: {{SHIFT4SHOP_TOKEN}}" \
-d '{"SKUInfo": {"CatalogID": {{$productId}}, "SKU": "{{$sku}}", "Name": "{{$title}}", "Cost": {{$cost}}, "Price": {{$price}}, "RetailPrice": {{$retailPrice}}, "Stock": {{$stock}}, "OnSale": {{$onsale}}, "Currency": "{{$currency}}"}}'