Title Replies Last Post
Add to cart using Node.js

I've a chatbot in which some shopify products are displayed. Chatbot is handled using Node.js as a webhook. I'm getting product id of a shopify product from the chatbot. Could anyone please suggest me any API which I can use to add that product to cart from Node.js using that product ID.

Dec 13 2018 by Sushant Keni
Include locations from where a product variant can be stocked at creation

Hi all, i'm trying to develop a solution for multiocation stores with capabilities to import products (together with their variants) at demand using the REST API. Then, inventory levels are managed via Graph API using the inventoryBulkAdjustQuantityAtLocation mutation but i'm currently getting the following error: Quantity couldn't be adjusted because this product isn't stocked at <l...

Dec 13 2018 by Carlos
Blocking API requests to Shopify from a certain URL?

Hi Guys, We installed the ShippingEasy Shopify app.  Problem is, the app updates the Shopify order status and other related fields.  I was hoping to block any updates from ShippingEasy pushed over to Shopify.   Does anyone know the proper way to block requests from Shopify standpoint?  Or if there is even a way to do this from the Shopify API? Any suggestions will be much appreciated!

Dec 13 2018 by developer8971
HMAC validation issues

Hello, I was wondering if there have been any changes regarding HMAC validation recently?  My code for validating them, which I've used for the past year or more, all of a sudden isn't working properly. I've also tried re-generating secret keys for my apps in case that was an issue, which didn't resolve the problem. One thing I did notice is that the URLs now include a parameter annota...

Dec 12 2018 by Clement
Create custom app to modify product price based on arbitrary rules

I have the need to modify prices of all products based on a database of rules from a separate source. The rules are based on sku, customer email, start/end dates, quantity discounts, customer tags, etc.  These prices need to be applied automatically, without a coupon, and are specific to each customer login. At a minumum I was thinking of a webhook that when each product is shown, it can ...

Dec 12 2018 by Steve Robbins
Billing API

Hi, We received an email from the Shopify apps team saying that we have to use the billing API. We are already using the billing API for our app. I wanted to see if anyone else received a similar email. Thanks for your help.

Dec 12 2018 by Shopify App Devel...
Create Product Variant not working

please find the below request json when posting data to   https://{{api_key}}:{{api_password}}@{{store_name}}.myshopify.com/admin/products/{{product_id}}/variants.json please point me where am i going wrong? {"variant":{   "Barcode": null,   "CompareAtPrice": null,   "CreatedAt": null,   "FulfillmentService": "manual",   "Grams": 0,   "Weight": null,   "WeightUnit": "kg",   "Id...

Dec 12 2018 by Ryan O
GET Requests to External Endpoints

My company uses NetSuite for our ERP and we're looking to migrate our sites to Shopify from Magento. Is it possible from the client side to have a button on the cart page that makes a request to NetSuite. I would like to pass to NetSuite the items in the cart and have NetSuite respond with a shipping rate for a given courier and I'd like to do this securely. 

Dec 12 2018 by Karl Offenberger
Issuing Refunds with Multi Currency Update (Shop Currency vs. Presentmen...

We have build a refund management interface that utilized what was consider the shop currency before the multi-currency was implemented. This provided a way for our clients to manage the refund in the currency that the retailers shop resides in (in most cases USD). In its simplest form the retailer is able to adjust deductions + fees, discounts, taxes, etc... before issuing the refund via the i...

Dec 12 2018 by Jamie M
Javascript Buy SDK with Reports/Dashboard

Hi, I plan to create a custom storefront using the shopify API. is it possible to have data such as Unique Visitors, Added to Cart , Reached Checkout, and Purchased statistics reflected from an external website? What do I lose from moving away from a storefront hosted on shopify versus a Node server using the Shopify API for products/checkout?

Dec 12 2018 by Sushant Keni
Payment Details on transaction API when order is not paid by Shopify Pay...

Hello there I'm trying to retrieve the payment information like credit card flag and payment type of the order. Looking at the API documentation in the Transaction section we have the payment_details property, but when I make a call to this endpoint the response didn't come with this property. It is because I'm not using the Shopify Payments as the payment gateway? We are using Paypal an...

Dec 12 2018 by Pedro Prado
Digital Downloads - Something in an API to indicate if a product is a di...

Hi I was just wondering if anyone knew if there's something in an api response to indicate if a product is a digital download? It doesn't appear in the metafields and I don't want to rely on keeping a list of SKUs in my private app?   Cheers :)

Dec 12 2018 by Karl Offenberger
cancellation order with reason

hi i am unable to update the reason when cancellation the order , using curl php $ch = curl_init();             curl_setopt($ch, CURLOPT_URL, "https://XXX:XXX@XXX.myshopify.com/admin/orders/757932425286/cancel.json");             curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);             curl_setopt($ch, CURLOPT_POST, true);                          $fulfillment = array(              ...

Dec 12 2018 by Karl Offenberger
Using shopify as back-end only

We have an ecommerce design already in place.  We'd like to use the Shopify API to simply send orders to the shopify back-end (where they will go to the merchant gateway as usual, etc.) Is this possible?  if yes, what is the main API we should be looking at?  We noticed the JS-Buy-SDK, but shopify does not seem to officially support it.

Dec 12 2018 by Don
Order with customer has null location_id.

Hi, everyone! I get paid order by API and see one thing: the order swithout customer have location_id as default location but orders with selected customers have null location_id. Is it correct behaviour?    

Dec 12 2018 by Ludmila Dokhnenko
Getting payments settings using API.

Hi there I wonder if its possible to get info if store captures payments manually or automatically. I checked Store Property APIs and i see nothing like that.  Would much appreciate any help.   

Dec 12 2018 by Karl Offenberger
API - Get products

Hi there, I'm having a little bit of an issue with the get products function on the Shopify API. It seems to only pull back a certain amount of products although I've 100+ on the store? The cost I'm doing for the GET is the following; <?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => "URL/admin/products.json", CURLOPT_RETURNTRANSFER => true, ...

Dec 12 2018 by Brandon Jones
Creating custom checkout and payment

Hi, I'm new to developing for Shopify and I'm trying to figure out what is the shortest way to create a checkout for a single shop that doesn't sit on the Shopify default domain and without redirecting to the Shopify domain in the checkout page (I want to always stay on the same domain). Any advice would be much appreciated.  

Dec 12 2018 by Elad Ab
Order Cancellations

Hello, When someone refunds an order in the Shopify admin portal, we can send a refund reason through, but with a cancellation, a refund is automatically processed but there's no option to enter a refund reason. Why is this?   Ben

Dec 12 2018 by prateek
Difference between /cart/add.js & /cart/update.js?

I see add.js doesn't allow multiple variant ids in the same call, yet update.js does, does anyone know if there is a reason for this?

Dec 11 2018 by Marriott Perez