UpdateProduct
Updates a product in Shopify
Task version: 1.1.0
Required Frends version: 5.7+
Required .NET version: 8.0
Compatible Agents: Crossplatform
Source code: https://github.com/FrendsPlatform/Frends.Shopify/tree/main/Frends.Shopify.UpdateProduct
Task Parameters
ProductId : String
The unique identifier of the product to be updated.
Default: -
Example: 1234567890123
ProductData : JObject
A JSON object representing the fields to update (e.g., title, body_html, variants, images, etc.).
Default: -
Example: new JObject { ["title"] = "Test Product", ["body_html"] = "Product Description", ["vendor"] = "Test Vendor", ["product_type"] = "Test Type", ["variants"] = new JArray { new JObject { ["option1"] = "Default", ["price"] = "9.99", ["sku"] = "PROD-001" } } }
ShopName : String
The subdomain of the Shopify store (e.g., myshop for myshop.myshopify.com).
Default: -
Example: myshop
🗝AccessToken : String
Shopify Admin API access token for authenticating requests.
Default: -
Example: Private: shpat_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx OAuth: shpca_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
ApiVersion : String
The version of Shopify API to use
Default: -
Example: 2025-07
ThrowErrorOnFailure : Boolean
Whether to throw an error on failure. True by default.
Default: True
Example: false
ErrorMessageOnFailure : String
Overrides the error message on failure.
Default: -
Example: Failed to update product.
Task Result
Success : Boolean
Indicates if the task completed successfully.
Example: true
Error : Error
Error that occurred during task execution.
Example: object { string Message, object { Exception Exception } AdditionalInfo }
Error.Message : String
Summary of the error.
Error.AdditionalInfo : Exception
Additional information about the error.
Example: object { Exception Exception }
Task Changelog
Changelog for Task Frends.Shopify.UpdateProduct.
[1.1.0] - 2025-07-17
Changed
Refactored to use real API in tests rather than mocks
[1.0.0] - 2025-06-19
Changed
Initial implementation
Last updated
Was this helpful?

