Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

UpdateProduct

Updates a product in Shopify

Task version: 1.1.0

Required Frends version: 5.7+

Required .NET version: 8.0

Compatible Agents: Crossplatform

Task Parameters

Name
Description

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

Name
Description

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

Name
Description

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

Name
Description

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?