Quantcast
Channel: Opinion: Shopify Community - Shopify APIs & SDKs
Viewing all 25503 articles
Browse latest View live

What scopes are required to create a webhook for a given topic? by Clement

$
0
0

Given a webhook topic, how do I find out what scope is required to create a webhook on that topic?

Is this documented anywhere?


Jason commented on Checkout through API

$
0
0

Take note of the message on the checkout API page:

The Checkout API is only for use with the Sales Channel SDK. It is not possible to use it to create a new checkout for an individual store - for that you can use our JavascriptiOS, or Android SDKs.

Are you using the Sales Channel SDK?

cubewalker commented on Shopify App Review Process

$
0
0

The queue is quite long at the moment. We submitted our app for beta at the end of November and we are still waiting. The holiday surge makes it longer to wait according to the official reply. In the meantime we are preparing our marketing soft launch like blog content marketing, finding channels to spread the news.

Hopefully there will be good news coming in the next few days!

Sean commented on Multiple fulfilments - Only the first one takes

$
0
0

Pogodan,

Thank you for the response.  I found out that what was being sent to my API from a Magento module was including items in the order that were already fulfilled.  Because of this, Shopify would return an error and not fulfill the other items in the order.  Some simple checks on my end should rectify the situation.

OffSite Payment Gateway by hasret

$
0
0

I have a problem about offsite payment gateway. I want to develop offsite payment gateway for other's people to use. I fill out of the form on the page https://help.shopify.com/api/sdks/hosted-payment-sdk. But not yet approved. 

As far as I know you do not accept the new payment gateway. When did you decide not to accept the payment gateway?

_darrel commented on Checkout through API

$
0
0

Hi Jason. I already requested for the Sales Channel SDK, but I haven't received any response from the Shopify team.

Thanachao commented on [iOS SDK BUY 2.0] Error code: domain: @"BUYShopifyErrorDomain" - code: 412

$
0
0

Bump... for a response from shopify

Brent Gulanowski commented on [iOS SDK BUY 2.0] Error code: domain: @"BUYShopifyErrorDomain" - code: 412

$
0
0

Does your checkout have a token?

What was the error description? There should be a JSON hash returned with more useful information.


Brent Gulanowski commented on Set up the 'Advanced Objective C Sample' to use Cart?

$
0
0

Can you be more specific about the difficulty you are having?

Brent Gulanowski commented on iOS Mobile-Buy-SDK 2.X with multipass

$
0
0

No we do not support multipass in the SDK.

Brent Gulanowski commented on Calling product images into Product list?

$
0
0

This is the right place for this question. Unfortunately there are very few people with the expertise to answer these questions, and we have a lot on our plates! Sorry for the delay.

There is no image relationship on product. It is images. But those objects are not UIImage objects. They are BUYImageLink objects. BUYImageLink has a sourceURL property with an NSURL that references the image. You will have to download the images before you can display them.

Peersy commented on Set up the 'Advanced Objective C Sample' to use Cart?

$
0
0

Hi Brent, thank you. Appreciate the help, 

I've been learning swift for the last few months not really realising how important Objective C was going to be so hope you can bare with me while I try to learn the differences. I'm sorry if this comes up as a bit scrambled but mostly really need to talk through what I've worked out myself and work out where I need to go from where I am at.

I'm using the product view that comes with the objective C example provided to show my products. In the code theres a few references to the cart;

 @param cart   A cart that enables a "Add to cart" button instead of the web checout button

in ProductViewController.h and within ProductViewController.m theres 

if (self.cart) {
        [_productView.productViewFooter.actionButton setTitle:NSLocalizedString(@"Add to Cart", nil) forState:UIControlStateNormal];
        [_productView.productViewFooter.actionButton addTarget:self action:@selector(addSelectedVariantToCart) forControlEvents:UIControlEventTouchUpInside];
    }
    else {
        [_productView.productViewFooter.actionButton setTitle:NSLocalizedString(@"Check Out", nil) forState:UIControlStateNormal];
        [_productView.productViewFooter.actionButton addTarget:self action:@selector(checkoutWithShopify) forControlEvents:UIControlEventTouchUpInside];
    }
    

I can also see the ActionableFooterView.xib which also shows the 'Add to Cart' button which is obviously before the code above changes the Title of the button. I Think my next step is to add the Cart but am struggling to work out how this all connects together.

All this seems to make up the cart funtionallity but I'm struggling to work out how it all links together. I can see that the cart functionality is coming from 'self.cart' but I can't workout where to call for this to be true.

Simply changing the if statement so that the cart actions use the selector(addSelectedVariantToCart) seems to make the button unfunctional.

Any help with understanding where to go next with this information would be appreciated. 

Eunsang Lee commented on can I integrate my own payment gateway

$
0
0

Great help, Jordan! Thanks for support. 😁

set the checkout_token on a manual order by iGlobal Stores

$
0
0

Is there a way to set the checkout_token on a manual order? Or to mark an abandonded checkout as archived from the api?

I have set the cart_token, checkout_token, and checkout_id when creating an order but the values come back as null from the api.

Also trying to set them after the order is created results in a 406 Not Acceptable

The token is captured from the webhook and then we have a seperate checkout where the customer can complete a purchase with some enhanced shiping and tax calculations and then the order is imported back into shopify. But without the ability to set the checkout_token the abandonded checkout will still send out the email even though the customer placed the order.

Are there some extra fields that can be passed to validate that the checkout matches the order and would allow the values to be saved?

MaDev commented on Please enable Subscription for Shopify Status

$
0
0

Hi Jordan,

Any update on this thread?

Thanks,


Order API's line items and product type by Brendin

$
0
0

Hi Everyone,

Two things. I just wanted to confirm that the order api does NOT return a product's type in the line items, correct? Meaning Order->line_items->product_type does not exist. Or am I missing somthing?

Second part for any shopify employees watching the forms. If it does not exist is there any chance we could see that added in the future?

thanks!
Brendin

HunkyBill commented on Order API's line items and product type

$
0
0

You are right. Product type has never been part of the line item data. If you want it you have to make an API call to get the missing product details.

Brendin commented on Order API's line items and product type

$
0
0

Thanks for confirming! That is currently what I am doing, but I thought it would be worth asking about. 

I do have another question about API call limits, and I feel like you would be a good person to ask, though I'm guessing it's a rather novice question. Related to my previous post, if I were to make a call for 80 products via product_id (/admin/products.json?ids=001,002,003,....) that counts as one call, correct? Meaning I would not hit the 40 call Leaky Bucket "limit". All I would have too watch out for is the 250 product limit.

Thanks for help!

HunkyBill commented on Order API's line items and product type

$
0
0

Call limits are never a problem. You can indeed get 250 products with ONE call. 

All you need to do otherwise is inspect the calls available in the headers of your responses from Shopify. When they get near zero, run a little clock off waiting for more... 

I cannot believe there are still people all scaredy cat about the limits. As if they are difficult or something... 

The worst that can happen is you get a 429. No calls allowed. OMG... a 429... run away, run away.... seriously... so what... sit around and wait a few seconds... and your bucket is empty again... 

The point is, all API driven systems have limits... so learning how to code a simple guard or watch around API calls is par for the course of being an Internet computing worker!

Brendin commented on Order API's line items and product type

$
0
0

Haha very good point! The reason I bring it up is because I am calling for a total of 80 products but im only getting 60 back. I just wanted to check and make sure I understood how the limit worked (even though these numbers dont seem remotely related to the limits). Looks like ill be digging deeper to see what is going on! 

Thanks for all your help!

Viewing all 25503 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>