BigCommerce WebHooks API Not Working - webhooks

I was able to set and get my web hooks, but nothing is posted to our system. Here are the web hooks we have:
store/order/*
destination: "https://api.progressivepii.com"
store/order/created
destination: "https://api.progressivepii.com"
Is there a reason we're not seeing anything? These have been posted to api.bigcommerce.com. I have noticed that a lot of people use hooks-beta.bigcommerce.com. Is that for live orders? Should I be using that domain instead?
Thanks.

You can call the hooks API and list all registered hooks to confirm if everything is in place after you have registered. Instead of registering store/order/* you should register individual events provided ( ie. store/order/created ) under the resources.
OAuth >GET /stores/{store_hash}/v2/hooks
More details on how to use the webhooks API interface can be found here.

Related

create space/room and send message via google-api in node.js

Case: Google Chat support in node.js using the googleapis library.
I studied the documentation, created a service account and implemented authentication. In first step I used the chat.spaces.list() method and it worked (no error returned).
I want to send a message via chat, so I wanted to create a new space, I found the chat.spaces.create method (https://developers.google.com/chat/api/reference/rest/v1/spaces/create) Unfortunately, this method is not present in "googleapis" for node.js In general, I see that the list of methods in "googleapis" is different than the one in the documentation. Only spaces in the documentation, but spaces and rooms in the library... I'm lost. How to do it? Any tips?
I see that the list of methods in "googleapis" is different than the one in the documentation
I think you are seeing wrong documentation. Your reference link is REST API documentation. The nodejs googleapis client documentation you can see on https://googleapis.dev/nodejs/googleapis/latest/chat/classes/Resource$Spaces.html.
And also based on the REST API documentation, the API that you looking for(create space) is not general available.
† Supports user authentication in Developer Preview. App authentication isn't available.
You need to join Google Workspace Developer Preview Program to access that feature.

What is the difference between POST UpdateStuff [version] and POST /api/v1/UpdateStuff in Azure AppInsights

In Azure AppInsights, I can see requests from two different sources even though I have only one end point, which is /api/v1/UpdateStuff.
What is the difference between
POST UpdateStuff [version] and POST /api/v1/UpdateStuff in Azure AppInsights?
I believe UpdateStuff is how your method is called in ASP.NET / c# code, and application insights tracks it as well. Should also be visible if you look at the dependency graph of a request. It is shown there as a child of /api/...
I had the same experience after updating some packages. Now all request are logged as POST UpdateStuff [version].
So, I can say there is no differences only different way of logging the requests.

Method not allowed when trying to access API methods via SOAP integration

Good day,
I'm having trouble calling DSAPI methods via SOAP ( C# Integration ). I keep getting 405 Method not allowed errors. So far I've tried calling the RequestTemplate and CreateEnvelopeFromTemplates methods, both of which fail. I was able to successfully retrieve the DSAPIServiceSoapClient object and also successfully login via the login method of the credential API. If you need more information, i'm ready to provide them. Thank you.
You're succeeding with the login, which is good.
My guess is that the other calls are not well formed. Perhaps they're missing the right base url (which you receive from the login call).
Are you switching to the different base url for your subsequent calls? (Different server name?)
I suggest that you try the API logging feature and see what it reports. It enables you to see a log of your API requests. See the Request Logging article for the classic DocuSign experience, or the new DocuSign UI.
i just needed to add the in the X-DocuSign-Authentication http header whenever i try to get a DSAPIClient object.

API Calls sky-rocketed in Mobile Services

My API Calls in Mobile Services suddenly sky-rocketed from 10/7 to 10/9.
How do I know what's causing the problem?
I'm not able to extract useful information from LOG tab in my Mobile Services.
thanks
If there are no HTTP errors coming out of it, then they are hitting your end points. Add some logging to each of your methods and see if they are being invoked. Mobile Services expose a request object for Tables and APIs that can tell you a bit about who is calling you.

Message Passing from Packaged App to Extension

I have seen this article about passing messages between extensions which works when you know the extension ids.
But, what I would really like to do is pass a message from a packaged app to an extension.
I tried to implement the steps in the article above. But i received the message that chrome.extension is not defined.
I assumed this is because it is a packaged app, that it doesnt have chrome.extension.
Is there a way to do this?
Thanks
AH
You should be able to accomplish via Web Intents, specifically the "explicit" variant that can be targeted at a specific app/extension. See this sample in the apps repository for two apps that communicate via explicit Web Intents (the same concept can be applied to an extension and an app, except the extension would receive intents via a URL specified in the manifest).
Cross-extension messaging
In addition to sending messages between different components in your
extension, you can use the messaging API to communicate with other
extensions. This lets you expose a public API that other extensions
can take advantage of.
Listening for incoming requests and connections is similar to the
internal case, except you use the runtime.onMessageExternal or
runtime.onConnectExternal methods.
http://developer.chrome.com/dev/extensions/messaging.html

Resources