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

CreateProduct

Creates 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

ProductData : JObject

A JSON object containing the product details to create.

Default: - Example: Example test product with variants: new JObject { ["title"] = "Test Product", ["body_html"] = "Test description", ["vendor"] = "Test Vendor", ["product_type"] = "Test Type", ["variants"] = new JArray { new JObject { ["option1"] = "Size", ["price"] = "10.99", ["sku"] = "TEST-SIZE" } } }

Task Result

Name
Description

Success : Boolean

Indicates whether the retrieval was successful. Example: true

CreatedProduct : JObject

The created product object returned by Shopify. Example: { "id": 1234567890123, "title": "Example Product", "body_html": "Example Description", "vendor": "Example Vendor", "product_type": "Example Type", "status": "active", "variants": [ { "id": 987654321, "title": "Default Title", "price": "19.99", "sku": "EX-001" } ], "options": [ { "name": "Title", "values": ["Default Title"] } ] }

Error : Error

Error that occurred during task execution. Example: object { string Message, object { Exception Exception } AdditionalInfo }

Task Changelog

Changelog for Task Frends.Shopify.CreateProduct.

[1.1.0] - 2025-07-16

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?