I'm having trouble understanding the bigcomerece api documentation.
I cant find where it explains how to mark and order as shipped ,update with tracking number and initiate a customer ship notification email.
can someone help me with a link to this documentation?
https://developer.bigcommerce.com/api/orders
You need to Create an Order Shipment:
https://developer.bigcommerce.com/api/stores/v2/orders/shipments
There you can specify a "tracking_number" etc...
Related
I need to extract all of our orders from a Shopify shop in order to analyze them. When I check the shops backend, I can see if and where the order is coming from (ppc, organic).
Downloading the excel files, this information is missing.
Looking at the API documentation, I can find an object called marketingEvent, which has (i) a marketing_channel and (ii) a paid flag:
https://help.shopify.com/en/api/reference/marketingevent#properties
but I'm not sure if this is what I am looking for and how a marketingEvent object is related to an order.
Do you have any ideas?
Thanks,
E.
From your description it seems like you are discussing about Conversion Summary. However, it is not possible to export this data with Orders Export as per this forum post. HOwever, if you have a look at API reference for Orders, there are few properties that may help you.
client_details
landing_site
referring_site
client_details will allow you to see the details like broswer and locale.
landing_site will allow you to see the the additional UTM etc parameters that may provide you the additional information.
referring_site will define if it was a direct visit or some site that referred visitor to your store.
For more information on Conversion tracking have a look at Shopify documentation.
If you examine the GraphQL documentation, you'll find all the answers in there.
https://help.shopify.com/en/api/graphql-admin-api/reference/object/marketingevent
I am querying the Shopify API for a specific order and I would like to know how to determine if the order was placed in our Amazon Seller channel and sent to Shopify as it is described in Shopify's documentation: https://help.shopify.com/en/manual/sell-online/amazon-sales-channel/processing-orders. On the section "Fulfilling Orders" of that page it reads:
All new orders placed through Amazon appear in your orders list and
are marked as Amazon.
A real JSON response from the Order API looks like this: https://help.shopify.com/en/api/reference/orders/order#show
I could not find any indication that the order might come via Amazon. I did find the fulfillment service (just a simple Ctrl F "amazon") but that is a different thing.
Being a Shopify Plus customer we asked their Guru Support team how they implement the "marked as Amazon" part and the response was:
Guru: Looking at all your orders you won't be able to
differentiate. When you click through to a singular order though,
you'll be able to see in its timeline that it came from Amazon instead
of your Online store.
My team: mmm so if I connect though the API
"orders.json?id=xxxx" the only way I can check it came from amazon is
though the timeline?
Guru: As far as I'm aware that's the case. I can check with our
development team to see if there's another indicator. Would I be able
to email you back with any additional findings?
Of course my team is still waiting on an answer from them but I bet someone at SO has already been in this situation before.
Some might want to know why I need to know the order source. We are sending these orders from Shopify into Netsuite via a Celigo connector. Amazon orders need to hit a different GL account than the normal Shopify orders and my task is to code the correct mapping based on some differentiating element or name/value pair from the JSON response.
When an order comes down the JSON has a field called source_name and the value should be something like this: sell-on-amazon
"source_name":"sell-on-amazon"
This is the first time I've asked a question on here so I'm sure I'll be off on the question I'm trying to ask, but here's what I'm dealing with:
I'm using prestashop on my website that will only accept payment from people within our Bartering service group. So the only information needed for them to place an order is their contact information and their personal ID from the Bartering group so that we can accept the order and make sure they apply that. So I want to change the checkout to not actually charge anything, but rather send an email to the sales team and to the customer containing the product they ordered and their personal information. I've already done a couple of overrides with prestashop, but I haven't been able to find what all modules/classes need overridden for this particular issue.
Any advice even a basic list of what modules and classes to look at would be helpful. Thanks in advance.
Edit: Thanks for the advice folks. I think the module should be pretty straight forward. It does not have to charge any balance or anything, just send an email with the order details and customer info to both us and the customer.
In BigCommerce, can I access the current customer's record using JavaScript?
I want to change something on the product page based on the customer group that the current customer is in.
there is no JS SDK yet for Bigcommerce. However, because the APIs are restful, you should be able to execute a simple GET request to get a customer's record. The only challenge is that you need to get the customer ID/info when they login to the store and then get their record.
There is an example on Bigcommerce forums on using Javascript to hide pricing for customers who are not logged in.
http://forum.bigcommerce.com/f4/global-variable-for-current-user-s-group-1815/index2.html
This combined with GET request on the customer endpoint (http://developer.bigcommerce.com/api/customers) should get you moving in that direction.
Does this help? Are you looking for a code sample?
Use Javascript or jQuery to do the IF statement.
Then use Ajax to request the data that you want to display to the user.
So to answer your question, directly with Javascript you can't, but combine it with some PHP and then you use the API to do what you would like.
Hope this helps :)
Using the Magento API, I see how to mark an order as shipped with the sales_order_shipment.create call and how to add a tracking number with the sales_order_shipment.addTrack call. Is there a way to send the tracking number as part of the sales_order_shipment.create call to save a another request?
Unfortunately, no there is not in the default API. You could modify the API to create your own call, however, and add this functionality.
Or, save us all and make a modification to contribute back upstream to Magento core :)
Hope that helps!
Thanks,
Joe