hj commented on How do you use Shopify to Auth private app?
Hello Andres,do you want to (1) provide single-sign-on for the shop customers? Or (2) should the shop admins be able to login to the other site?for (1), take a look at Multipass Loginfor (2), take a...
View ArticleOverwrite product in XML API by Super Discount Daily
Hi Guys,I am new to shopify, and after several hours / days of trying to work it out, I have finally got our private app working to create new product, using shopify xml api. (got the sample code from...
View ArticleMaarten van Grootel commented on Overwrite product in XML API
There is no way to overwrite an existing object when you use an create action, for that you have to use the update action.So instead of doing a POST to '/admin/products.json' you do a PUT to...
View ArticleSuper Discount Daily commented on Overwrite product in XML API
Hello,Thanks for the quick turnaround! Yes, I will be moving to json as well, but we just needed to start getting the products in as much as we could.So, currently using XML, and I am using CURL (code...
View ArticleMaarten van Grootel commented on Overwrite product in XML API
There is no way to overwrite via CREATEs, you can only change products (or any object) via UPDATEs and it always needs an id. This is how REST-like APIs work. The HTTP method tells us what you want to...
View ArticleChris Ryland commented on providing license codes via webhook
OK, thanks. But can these scripts run an Ajax call to our server to generate the license code?
View ArticleChris Saunders commented on providing license codes via webhook
You should be able to yeah. Just make sure your server responds to JSONP and you should be good to go. You can probably do something like pass in the order token or something which is available on the...
View ArticleSuper Discount Daily commented on Overwrite product in XML API
Okay, I think I got it. Thanks for explaining in detail.To clarify as well, all our previous products were created via CSV import, so the product ids were generated internally by shopify, when the...
View ArticleJames Marks commented on [API Deprecation Notice] Fulfillments --...
Is it possible this could break old orders with existing fulfillments? I'm getting a fulfillment object from Shopify that has singular and plural references to tracking. I can't seem to cancel or...
View ArticleMaarten van Grootel commented on Overwrite product in XML API
There is no other way to get a list of all products ids then doing GET /admin/products.json?fields=id (limited to 250 per page).XML and JSON is not that different except the endpoints end in '.json'...
View ArticleSuper Discount Daily commented on Overwrite product in XML API
Great, thank you again - I should have thought of that too.So, instead of all "xmlsrc" data via xml in my script, just use json_encode data - right? I can look up all the info you have provided and try...
View ArticleChris Saunders commented on [API Deprecation Notice] Fulfillments --...
How are you trying to close the order? What is the data you are sending to the API? What shop are you working with and whats the order_id?You should be using tracking_numbers and tracking_urls from...
View ArticleAndres Hermosilla commented on How do you use Shopify to Auth private app?
Let me clarify my question a bit. When a user logs into Shopify I want them to be simultaneously logged ( or receive a temporary auth token ) in to a separate app. 1) Multipass seems good for...
View ArticleQuyet Nguyen commented on Fulfillment servive and carrier service question
Pumps...Isn't it cold here :(
View ArticleShopify API - Update details for a customer - Error: Required parameter...
Hi, good day,I'm trying to update an existing customer, but I always get an error: Required parameter missing.Any ideas what's missing or what's wrong with my code?Thank you for your help.Here is my...
View ArticleMaarten van Grootel commented on Shopify API - Update details for a customer...
The error says that the required parameter "customer" is missing, which means that the resulting JSON probably doesn't start with 'customer'. Which is odd seeing your code. Can you post the resulting...
View ArticleEzyVA commented on Shopify API - Update details for a customer - Error:...
This is what I get after using json_decode() and var_dump on the cURL's response:array(1) { ["errors"]=> array(1) { ["customer"]=> string(26) "Required parameter missing" } }Is this what you're...
View ArticleMaarten van Grootel commented on Shopify API - Update details for a customer...
No I meant the resulting json that you send to Shopify. So the result of "json_encode($data)"
View ArticleEzyVA commented on Shopify API - Update details for a customer - Error:...
This is what I've got when I tried to echo json_encode($data)...
View ArticleMaarten van Grootel commented on Shopify API - Update details for a customer...
One thing that is wrong is the fact that you put the customer ID in the addresses. A customer address has its own ID (in your case 234165565, see...
View Article