bigcommerce

Noobie bigcommerce API connection

此生再无相见时 提交于 2019-12-02 01:31:46
Sorry for the noobie question but I just wanted to know the process by which I could at least connect to my bigcommerce store and query it via a PHP or curl script. If someone could help me with simple instructions. i.e download bigcommerce php script, install , generate API on user, install wamp or some other php mac app paste into here blah blah blah I would be eternally grateful. I have been reading and reading and just obvioulsy missing something as I cant gereneate anything out of the playground section of developer big commerce functionality and dont know where to go from here. Nearly

BigCommerce Stencil - Retrieve Product Custom Fields in Product Card

佐手、 提交于 2019-12-01 23:33:24
I'm trying to retrieve each product's custom_fields data on the category list pages in BigCommerce Stencil. This documentation here , and the JSON product representation below, would suggest this is not possible. It is hard for me to believe this functionality would be left out of Stencil, considering it was available in Blueprint. { "id": 691, "name": "Archipelago Botanicals - Pomegranate Lip Gloss", "url": "http://******.mybigcommerce.com/archipelago-botanicals-pomegranate-lip-gloss/", "brand": { "name": "Archipelago Botanicals" }, "rating": 0, "availability": "", "summary": "Pomegranate lip

What is hash field in the BigCommerce webhook?

元气小坏坏 提交于 2019-12-01 11:49:31
问题 How it generate? How I can validate it? https://developer.bigcommerce.com/api/webhooks-getting-started { "store_id": 11111, "producer": "stores/abcde", "scope": "store/order/statusUpdated", "data": { "type": "order", "id": 173331 }, "hash": "3f9ea420af83450d7ef9f78b08c8af25b2213637" } 回答1: I'd recommend using a custom header to validate the payload was from BigCommerce as noted in the getting started guide: A headers object containing one or more name-value pairs, both string values (optional

How to update “inventory_level” of product by sku id in Bigcommerce?

送分小仙女□ 提交于 2019-11-30 09:56:54
I am trying to update the inventory level of a products but unfortunately not getting success.Here is my code. I want to update product's "inventory_level" but enable to do so.. <?php require "bigcommerce.php"; use Bigcommerce\Api\Client as Bigcommerce; Bigcommerce::configure(array( 'store_url' => 'https://store-nos85a.mybigcommerce.com/', 'username' => 'admin', 'api_key' => '4b7c4bba19f290a728e00be6ae7133cda71f477b' )); Bigcommerce::setCipher('RC4-SHA'); Bigcommerce::verifyPeer(false); $product = Bigcommerce::getProduct(76); print_r($product->skus); foreach($product->skus as $sku) { if($sku-

Does the BigCommerce API supports CORS?

岁酱吖の 提交于 2019-11-28 14:30:10
I want to exchange information with BigCommerce during application installation and send POST request for code from html page. But I keep getting blocked by CORS: " No 'Access-Control-Allow-Origin' header is present on the requested resource.". And I cannot find anything about it in BigCommerce API documentation. Do somebody know, is it supported? Is there any way to call BigCommerce api from javascript in browser? We do not support CORS. It is very insecure to try to call the API from javascript on in the browser directly. This exposes an API token which enables someone to have access to any

Does the BigCommerce API supports CORS?

不羁的心 提交于 2019-11-27 08:36:37
问题 I want to exchange information with BigCommerce during application installation and send POST request for code from html page. But I keep getting blocked by CORS: " No 'Access-Control-Allow-Origin' header is present on the requested resource.". And I cannot find anything about it in BigCommerce API documentation. Do somebody know, is it supported? Is there any way to call BigCommerce api from javascript in browser? 回答1: We do not support CORS. It is very insecure to try to call the API from