Title Replies Last Post
Please post your Liquid and AJAX API questions in the Design forum

Please post your Liquid, AJAX, and all theme-related questions in the Design forum:http://forums.shopify.com/categories/2

1
Sep 18 2014 by priyagupta
New API Announcements Forum

We have created a separateforum wherewe will postall official announcements concerning the Shopify API. Things likenewfeatures and endpoints, upcomingdeprecations and changes orplanned maintenance that might affect your app.Go check it out!https://ecommerce.shopify.com/c/api-announcementsWe recommend subscribing to that forumto make sure you are always hear aboutthe changes that might affect yo...

0
Apr 7 2014 by Maarten van Grootel
Please read before posting!

Hello developers! Before posting to the Shopify API forums, please take a moment to consider your question. First, read over our API troubleshooting guideand see if your question can be answered with some exploration. Be sure to explain what you've already tried. Are there solutions online that you've already found, which haven't worked? Include enough detail so that answers provided will be...

0
Feb 11 2013 by Lydia Krupp-Hunter
Create Draft order via Order API

Hi, I understand one can create a "draft" order via the admin console, would this also be possible via the Order API? Thanks in advance.

10
Jan 8 2016 by Alyssa Tilston
Ways to speed up getting all products

Right now I am this code to get an array of all products in the users store: # Write loop to get all if more than 1 page @store_products = [] page = 1 while 1 products = ShopifyAPI::Product.find(:all, :params => {:limit => 250, :page => page, :fields=> "id,title,images"}) break if products.length == 0 product...

0
Yesterday by gabe
Update Shopify Order

Hi, I would like to update an order's tracking number and status in Shopify. https://docs.shopify.com/api/order#update Is there a way to find a Shopify order by the order number, instead of the id number?

0
Yesterday by JOSEPH ANDERSON
metafields_global_title_tag not returned when querying for products?

hi there, I'm using the php SDK to get a list of products to export for goog merchant and to make a long story short it seems metafields_global_title_tag is not returned when querying for products in a specific collection? $products = $shopify('GET /admin/products.json?collection_id=XXX'); I tried as well querying for a specific product (that has the SEO description set) bu...

0
Yesterday by Xavier
What are the browser support requirements for shopify apps?

I'm trying to find the browser support requirements for shopify apps but can't find it anywhere in the docs. Can someone point me to this information? thanks

0
Yesterday by Halley Carleton
Shopify api products.json?collection_id= not get product from collection

I try get a product from specific collection byGET /admin/products.json?collection_id=841564295 but it get all product. Help me please. Thank you.

0
Yesterday by KnP Easy
update Product options

I tried to update the name of an option via PUT request but always getting an 'unprocessable entity' error. payload: $payload = array( "product" => array( "title" => 'test', 'product_id' => '4350185030', "options" => array( array( "name" =>...

1
Yesterday by Rolf Richter
Script Tag with Liquid

Hi all, I developed an app that uses the script tag functionality, and we deliver this script tag via an app proxy to be able to render liquid into this script. Now I need to have the product ID in my script, and even though I'm on a product page the {{ product.ID }} returns empty. (also other variable as shop.title etc don't return a vlaue). I can see that the liquid parser is co...

0
Yesterday by Oliver Schönbett
Edit contents of a theme

What parts of the theme can I modify and re-publish? Am I able to make changes to the liquid templates and publish them?

4
Yesterday by Oliver Schönbett
How the pagination works in shopify product API ?

Hello, my_store_url.myshopify.com/admin/products/count.json?published_status=published returns 423 products my_store_url/admin/products.json?published_status=published&fields=title,vendor,product_type,id&limit=250&page=1 returns 250 lines, with 1 line for headings and 249 products and my_store_url/admin/products.json?published_status=published&fields=title,vendor,produc...

1
Yesterday by Jason
Use API to get daily/weekly sales total

When you go to the Home Page in Admin, there is a widget called "Today's Sales" which tells me the total sales for the day. Can you think of a way to fetch the total sales amount using the API? I couldn't find anything in the API documentation that would help. The closest is to fetch all the orders for a given period and write code to iterate through each and every order ...

0
Yesterday by Lorraine Woolf
Providing discounts per item and getting in API response

Hi, Whenever any discount code is applied to an order its always at the order level and we not get line-item/total-discount element as 0.00. We want to have discount per line item and want to know how this can be done. One of the customers order placed via the "Create Order" option does have per line item discounts but we are not able to create such order. Read in one of the ...

1
Yesterday by Cvaron
Is there any way to rend receipts rather than order confirmation via API?

When I create a new Order via API, I can set the send_receipt field to true. However, I cannot find a way to send the real receipts of this Order. Is there any API can do this? Thanks!

0
Feb 8 2016 by York Yang
Sorting the Product API response

I need to be able to list Products in ascendingupdated_atorder (= product with oldest updated_at first). If I pass in the undocumented "order" parameter and set it to "updated_at", I get the following error response: {"errors":{"Attempt to order records by unknown orders updated_at, expected [:total, :title, :created_at, :updated_at]":"Required parameter missing or inva...

2
Feb 8 2016 by Jacob N
Order Saved Search

Hey Friends, The API exposes customer saved searches, but there isn't one for orders. We catagorize what needs to be shipped/handled based on saved searches. While I can add all the status/payment/fulfillment tags via the query, I can't also pass in search stings as we can in the web saved search. Is there an easier way to accomplish this than stepping through the orders it returns?

0
Feb 8 2016 by Matt Glaves
Recurring Charges after switching from test

Hi, We launched our app to Beta with recurring changes set to test. Couple of customers signed up for the paid plan (test). We have moved out of Betaso we haveremoved the test changes. Now, will the customers who signed up for paid plan during test will be moved out of test? If no, what should be our next step? Thanks, Freddy

0
Feb 8 2016 by Friedrich Paul
Error when creating/editing product metadatafields via API

Hi there, I’ve been trying to work with the metadata fields on products with mixed success. I’ve been able to view the metadata fields associated with a product without any issue. For example I’ve been able to view all the metadata fields for the product, using the following method: Method: GET URL:https://xxx.myshopify.com/admin/products/2003472641/metafields.j...

0
Feb 8 2016 by Matthew Moorhouse