We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am using the latest version of package, and when trying to create a product like its written in the documentation:
// Create a product $product = $shopify->createProduct([ 'title' => 'Adidas Shoe, Pink', ]); // returns a ProductResource
it returns me an error: Undefined array key "product"?
Undefined array key "product"
The text was updated successfully, but these errors were encountered:
I am using the latest version of package, and when trying to create a product like its written in the documentation: // Create a product $product = $shopify->createProduct([ 'title' => 'Adidas Shoe, Pink', ]); // returns a ProductResource it returns me an error: Undefined array key "product"?
It looks like you missing the detail from the official Shopify documentation. Since this package is mostly wrapper, the expected payload shall comply with the docs. Refer here https://shopify.dev/docs/api/admin-rest/2023-07/resources/product#post-products. It requires product key as the root index.
product
Sorry, something went wrong.
No branches or pull requests
I am using the latest version of package, and when trying to create a product like its written in the documentation:
it returns me an error:
Undefined array key "product"
?The text was updated successfully, but these errors were encountered: